Class Destination
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Destination.Builder,Destination>
Specifies information about the replication destination bucket and its settings for an S3 on Outposts replication configuration.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal AccessControlTranslationSpecify this property only in a cross-account scenario (where the 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()The destination bucket owner's account ID.final Stringbucket()The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication 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 that specifies replication metrics-related settings.final ReplicationTimeA container that specifies S3 Replication Time Control (S3 RTC) settings, 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 ReplicationStorageClassThe storage class to use when replicating objects.final StringThe storage class to use when replicating objects.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
-
account
The destination bucket owner's account ID.
- Returns:
- The destination bucket owner's account ID.
-
bucket
The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
- Returns:
- The Amazon Resource Name (ARN) of the access point for the destination bucket where you want S3 on Outposts to store the replication results.
-
replicationTime
A container that specifies S3 Replication Time Control (S3 RTC) settings, 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.This is not supported by Amazon S3 on Outposts buckets.
- Returns:
- A container that specifies S3 Replication Time Control (S3 RTC) settings, 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.This is not supported by Amazon S3 on Outposts buckets.
-
accessControlTranslation
Specify this property only in a cross-account scenario (where the 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 property is not specified in the replication configuration, the replicas are owned by same Amazon Web Services account that owns the source object.
This is not supported by Amazon S3 on Outposts buckets.
- Returns:
- Specify this property only in a cross-account scenario (where the 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 property is not specified in the replication configuration, the replicas
are owned by same Amazon Web Services account that owns the source object.
This is not supported by Amazon S3 on Outposts buckets.
-
encryptionConfiguration
A container that provides information about encryption. If
SourceSelectionCriteriais specified, you must specify this element.This is not supported by Amazon S3 on Outposts buckets.
- Returns:
- A container that provides information about encryption. If
SourceSelectionCriteriais specified, you must specify this element.This is not supported by Amazon S3 on Outposts buckets.
-
metrics
A container that specifies replication metrics-related settings.
- Returns:
- A container that specifies replication metrics-related settings.
-
storageClass
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTSstorage class. S3 on Outposts uses theOUTPOSTSstorage class to create the object replicas.Values other than
OUTPOSTSaren't supported by Amazon S3 on Outposts.If the service returns an enum value that is not available in the current SDK version,
storageClasswill returnReplicationStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageClassAsString().- Returns:
- The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTSstorage class. S3 on Outposts uses theOUTPOSTSstorage class to create the object replicas.Values other than
OUTPOSTSaren't supported by Amazon S3 on Outposts. - See Also:
-
storageClassAsString
The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTSstorage class. S3 on Outposts uses theOUTPOSTSstorage class to create the object replicas.Values other than
OUTPOSTSaren't supported by Amazon S3 on Outposts.If the service returns an enum value that is not available in the current SDK version,
storageClasswill returnReplicationStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageClassAsString().- Returns:
- The storage class to use when replicating objects. All objects stored on S3 on Outposts are stored in the
OUTPOSTSstorage class. S3 on Outposts uses theOUTPOSTSstorage class to create the object replicas.Values other than
OUTPOSTSaren't supported by Amazon S3 on Outposts. - See Also:
-
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
-