@Generated(value="software.amazon.awssdk:codegen") public final class Destination extends Object implements SdkPojo, Serializable, 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).
Modifier and Type | Class and Description |
---|---|
static interface |
Destination.Builder |
Modifier and Type | Method and Description |
---|---|
AccessControlTranslation |
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 AWS account that owns the destination bucket.
|
String |
account()
Destination bucket owner account ID.
|
String |
bucket()
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the 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 specifying replication metrics-related settings enabling replication metrics and events.
|
ReplicationTime |
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Destination.Builder> |
serializableBuilderClass() |
StorageClass |
storageClass()
The storage class to use when replicating objects, such as S3 Standard or reduced redundancy.
|
String |
storageClassAsString()
The storage class to use when replicating objects, such as S3 Standard or reduced redundancy.
|
Destination.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String bucket()
The Amazon Resource Name (ARN) of the bucket where you want Amazon S3 to store the results.
public final String account()
Destination bucket owner account ID. In a cross-account scenario, if you direct Amazon S3 to change replica
ownership to the AWS account that owns the destination bucket by specifying the
AccessControlTranslation
property, 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.
AccessControlTranslation
property, 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.public final StorageClass 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 StorageClass
element 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, storageClass
will
return StorageClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
storageClassAsString()
.
For valid values, see the StorageClass
element of the PUT Bucket
replication action in the Amazon S3 API Reference.
StorageClass
public final String 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 StorageClass
element 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, storageClass
will
return StorageClass.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
storageClassAsString()
.
For valid values, see the StorageClass
element of the PUT Bucket
replication action in the Amazon S3 API Reference.
StorageClass
public final AccessControlTranslation 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 AWS account that owns the destination bucket. If this is not specified in the replication configuration, the replicas are owned by same AWS account that owns the source object.
public final EncryptionConfiguration encryptionConfiguration()
A container that provides information about encryption. If SourceSelectionCriteria
is specified, you
must specify this element.
SourceSelectionCriteria
is
specified, you must specify this element.public final ReplicationTime 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
Metrics
block.
Metrics
block.public final Metrics metrics()
A container specifying replication metrics-related settings enabling replication metrics and events.
public 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 SdkPojo
public final String toString()
Copyright © 2021. All rights reserved.