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 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.final String
account()
The destination bucket owner's account ID.final String
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.static Destination.Builder
builder()
final EncryptionConfiguration
A container that provides information about encryption.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final Metrics
metrics()
A container that specifies replication metrics-related settings.final 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.static Class
<? extends Destination.Builder> final ReplicationStorageClass
The storage class to use when replicating objects.final String
The 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 String
toString()
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
Metrics
block.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
Metrics
block.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
SourceSelectionCriteria
is 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
SourceSelectionCriteria
is 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
OUTPOSTS
storage class. S3 on Outposts uses theOUTPOSTS
storage class to create the object replicas.Values other than
OUTPOSTS
aren't supported by Amazon S3 on Outposts.If the service returns an enum value that is not available in the current SDK version,
storageClass
will 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
OUTPOSTS
storage class. S3 on Outposts uses theOUTPOSTS
storage class to create the object replicas.Values other than
OUTPOSTS
aren'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
OUTPOSTS
storage class. S3 on Outposts uses theOUTPOSTS
storage class to create the object replicas.Values other than
OUTPOSTS
aren't supported by Amazon S3 on Outposts.If the service returns an enum value that is not available in the current SDK version,
storageClass
will 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
OUTPOSTS
storage class. S3 on Outposts uses theOUTPOSTS
storage class to create the object replicas.Values other than
OUTPOSTS
aren't supported by Amazon S3 on Outposts. - See Also:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Destination.Builder,
Destination> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-