Class Destination
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Destination.Builder,Destination>
Specifies information about where to publish analysis or configuration results for an Amazon S3 bucket and S3 Replication Time Control (S3 RTC).
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AccessControlTranslationSpecify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket.final Stringaccount()Destination bucket owner account ID.final Stringbucket()The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.static Destination.Builderbuilder()final EncryptionConfigurationA container that provides information about encryption.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Metricsmetrics()A container specifying replication metrics-related settings enabling replication metrics and events.final ReplicationTimeA container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated.static Class<? extends Destination.Builder> final StorageClassThe storage class to use when replicating objects, such as S3 Standard or reduced redundancy.final StringThe storage class to use when replicating objects, such as S3 Standard or reduced redundancy.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
bucket
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
- Returns:
- The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
-
account
Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change replica ownership to the Amazon Web Services account that owns the destination bucket by specifying the
AccessControlTranslationproperty, this is the account ID of the destination bucket owner. For more information, see Replication Additional Configuration: Changing the Replica Owner in the Amazon S3 User Guide.- Returns:
- Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change
replica ownership to the Amazon Web Services account that owns the destination bucket by specifying the
AccessControlTranslationproperty, this is the account ID of the destination bucket owner. For more information, see Replication Additional Configuration: Changing the Replica Owner in the Amazon S3 User Guide.
-
storageClass
The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the
StorageClasselement of the PUT Bucket replication action in the Amazon S3 API Reference.If the service returns an enum value that is not available in the current SDK version,
storageClasswill returnStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageClassAsString().- Returns:
- The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default,
Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the
StorageClasselement of the PUT Bucket replication action in the Amazon S3 API Reference. - See Also:
-
storageClassAsString
The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default, Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the
StorageClasselement of the PUT Bucket replication action in the Amazon S3 API Reference.If the service returns an enum value that is not available in the current SDK version,
storageClasswill returnStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageClassAsString().- Returns:
- The storage class to use when replicating objects, such as S3 Standard or reduced redundancy. By default,
Amazon S3 uses the storage class of the source object to create the object replica.
For valid values, see the
StorageClasselement of the PUT Bucket replication action in the Amazon S3 API Reference. - See Also:
-
accessControlTranslation
Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
- Returns:
- Specify this only in a cross-account scenario (where source and destination bucket owners are not the same), and you want to change replica ownership to the Amazon Web Services account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
-
encryptionConfiguration
A container that provides information about encryption. If
SourceSelectionCriteriais specified, you must specify this element.- Returns:
- A container that provides information about encryption. If
SourceSelectionCriteriais specified, you must specify this element.
-
replicationTime
A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the time when all objects and operations on objects must be replicated. Must be specified together with a
Metricsblock.- Returns:
- A container specifying S3 Replication Time Control (S3 RTC), including whether S3 RTC is enabled and the
time when all objects and operations on objects must be replicated. Must be specified together with a
Metricsblock.
-
metrics
A container specifying replication metrics-related settings enabling replication metrics and events.
- Returns:
- A container specifying replication metrics-related settings enabling replication metrics and events.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Destination.Builder,Destination> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-