@Generated(value="software.amazon.awssdk:codegen") public final class ReplicationDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationDetails.Builder,ReplicationDetails>
Provides information about settings that define whether one or more objects in an S3 bucket are replicated to S3 buckets for other AWS accounts and, if so, which accounts.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ReplicationDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ReplicationDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasReplicationAccounts()
Returns true if the ReplicationAccounts property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
Boolean |
replicated()
Specifies whether the bucket is configured to replicate one or more objects to any destination.
|
Boolean |
replicatedExternally()
Specifies whether the bucket is configured to replicate one or more objects to an AWS account that isn't part of
the same Amazon Macie organization.
|
List<String> |
replicationAccounts()
An array of AWS account IDs, one for each AWS account that the bucket is configured to replicate one or more
objects to.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ReplicationDetails.Builder> |
serializableBuilderClass() |
ReplicationDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Boolean replicated()
Specifies whether the bucket is configured to replicate one or more objects to any destination.
public Boolean replicatedExternally()
Specifies whether the bucket is configured to replicate one or more objects to an AWS account that isn't part of the same Amazon Macie organization.
public boolean hasReplicationAccounts()
public List<String> replicationAccounts()
An array of AWS account IDs, one for each AWS account that the bucket is configured to replicate one or more objects to.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasReplicationAccounts() to see if a value was sent in this field.
public ReplicationDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ReplicationDetails.Builder,ReplicationDetails>public static ReplicationDetails.Builder builder()
public static Class<? extends ReplicationDetails.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.