Class Destination
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.Destination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Destination.Builder,Destination>
@Generated("software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Destination.Builder,Destination>
Specifies information about the replication destination bucket and its settings for an S3 on Outposts replication configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessControlTranslationaccessControlTranslation()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.Stringaccount()The destination bucket owner's account ID.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()EncryptionConfigurationencryptionConfiguration()A container that provides information about encryption.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Metricsmetrics()A container that specifies replication metrics-related settings.ReplicationTimereplicationTime()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.List<SdkField<?>>sdkFields()static Class<? extends Destination.Builder>serializableBuilderClass()ReplicationStorageClassstorageClass()The storage class to use when replicating objects.StringstorageClassAsString()The storage class to use when replicating objects.Destination.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
-
account
public final String account()
The destination bucket owner's account ID.
- Returns:
- The destination bucket owner's account ID.
-
bucket
public 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.
- 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
public final ReplicationTime 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
public final AccessControlTranslation 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
public final EncryptionConfiguration 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
public final Metrics metrics()
A container that specifies replication metrics-related settings.
- Returns:
- A container that specifies replication metrics-related settings.
-
storageClass
public final ReplicationStorageClass 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
OUTPOSTSare not 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
OUTPOSTSare not supported by Amazon S3 on Outposts. - See Also:
ReplicationStorageClass
-
storageClassAsString
public final String 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
OUTPOSTSare not 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
OUTPOSTSare not supported by Amazon S3 on Outposts. - See Also:
ReplicationStorageClass
-
toBuilder
public Destination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Destination.Builder,Destination>
-
builder
public static Destination.Builder builder()
-
serializableBuilderClass
public static Class<? extends Destination.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.
-
-