Class S3Destination
- java.lang.Object
-
- software.amazon.awssdk.services.macie2.model.S3Destination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Destination.Builder,S3Destination>
@Generated("software.amazon.awssdk:codegen") public final class S3Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Destination.Builder,S3Destination>
Specifies an S3 bucket to store data classification results in, and the encryption settings to use when storing results in that bucket.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3Destination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbucketName()The name of the bucket.static S3Destination.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkeyPrefix()The path prefix to use in the path to the location in the bucket.StringkmsKeyArn()The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results.List<SdkField<?>>sdkFields()static Class<? extends S3Destination.Builder>serializableBuilderClass()S3Destination.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 name of the bucket. This must be the name of an existing general purpose bucket.
- Returns:
- The name of the bucket. This must be the name of an existing general purpose bucket.
-
keyPrefix
public final String keyPrefix()
The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
- Returns:
- The path prefix to use in the path to the location in the bucket. This prefix specifies where to store classification results in the bucket.
-
kmsKeyArn
public final String kmsKeyArn()
The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric encryption KMS key that's enabled in the same Amazon Web Services Region as the bucket.
- Returns:
- The Amazon Resource Name (ARN) of the customer managed KMS key to use for encryption of the results. This must be the ARN of an existing, symmetric encryption KMS key that's enabled in the same Amazon Web Services Region as the bucket.
-
toBuilder
public S3Destination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Destination.Builder,S3Destination>
-
builder
public static S3Destination.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3Destination.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.
-
-