Class S3Configuration
- java.lang.Object
-
- software.amazon.awssdk.services.timestreamwrite.model.S3Configuration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Configuration.Builder,S3Configuration>
@Generated("software.amazon.awssdk:codegen") public final class S3Configuration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Configuration.Builder,S3Configuration>
The configuration that specifies an S3 location.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3Configuration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbucketName()The bucket name of the customer S3 bucket.static S3Configuration.Builderbuilder()S3EncryptionOptionencryptionOption()The encryption option for the customer S3 location.StringencryptionOptionAsString()The encryption option for the customer S3 location.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyId()The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.StringobjectKeyPrefix()The object key preview for the customer S3 location.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends S3Configuration.Builder>serializableBuilderClass()S3Configuration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucketName
public final String bucketName()
The bucket name of the customer S3 bucket.
- Returns:
- The bucket name of the customer S3 bucket.
-
objectKeyPrefix
public final String objectKeyPrefix()
The object key preview for the customer S3 location.
- Returns:
- The object key preview for the customer S3 location.
-
encryptionOption
public final S3EncryptionOption encryptionOption()
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
If the service returns an enum value that is not available in the current SDK version,
encryptionOptionwill returnS3EncryptionOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionOptionAsString().- Returns:
- The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
- See Also:
S3EncryptionOption
-
encryptionOptionAsString
public final String encryptionOptionAsString()
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
If the service returns an enum value that is not available in the current SDK version,
encryptionOptionwill returnS3EncryptionOption.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionOptionAsString().- Returns:
- The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
- See Also:
S3EncryptionOption
-
kmsKeyId
public final String kmsKeyId()
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
- Returns:
- The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
-
toBuilder
public S3Configuration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Configuration.Builder,S3Configuration>
-
builder
public static S3Configuration.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3Configuration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-