@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Destination.Builder |
| Modifier and Type | Method and Description |
|---|---|
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.
|
String |
account()
The destination bucket owner's account ID.
|
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() |
EncryptionConfiguration |
encryptionConfiguration()
A container that provides information about encryption.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Metrics |
metrics()
A container that specifies replication metrics-related settings.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Destination.Builder> |
serializableBuilderClass() |
ReplicationStorageClass |
storageClass()
The storage class to use when replicating objects.
|
String |
storageClassAsString()
The storage class to use when replicating objects.
|
Destination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String account()
The destination bucket owner's account ID.
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.
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
Metrics block.
This is not supported by Amazon S3 on Outposts buckets.
Metrics block. This is not supported by Amazon S3 on Outposts buckets.
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.
This is not supported by Amazon S3 on Outposts buckets.
public final EncryptionConfiguration 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.
SourceSelectionCriteria is
specified, you must specify this element. This is not supported by Amazon S3 on Outposts buckets.
public final Metrics metrics()
A container that specifies replication metrics-related settings.
public final ReplicationStorageClass 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 the OUTPOSTS storage class to create the
object replicas.
Values other than OUTPOSTS are not supported by Amazon S3 on Outposts.
If the service returns an enum value that is not available in the current SDK version, storageClass will
return ReplicationStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from storageClassAsString().
OUTPOSTS storage class. S3 on Outposts uses the OUTPOSTS storage class to
create the object replicas.
Values other than OUTPOSTS are not supported by Amazon S3 on Outposts.
ReplicationStorageClasspublic final String 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 the OUTPOSTS storage class to create the
object replicas.
Values other than OUTPOSTS are not supported by Amazon S3 on Outposts.
If the service returns an enum value that is not available in the current SDK version, storageClass will
return ReplicationStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from storageClassAsString().
OUTPOSTS storage class. S3 on Outposts uses the OUTPOSTS storage class to
create the object replicas.
Values other than OUTPOSTS are not supported by Amazon S3 on Outposts.
ReplicationStorageClasspublic Destination.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Destination.Builder,Destination>public static Destination.Builder builder()
public static Class<? extends Destination.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.