@Generated(value="software.amazon.awssdk:codegen") public final class AccessControlTranslation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AccessControlTranslation.Builder,AccessControlTranslation>
A container for information about access control for replicas.
Modifier and Type | Class and Description |
---|---|
static interface |
AccessControlTranslation.Builder |
Modifier and Type | Method and Description |
---|---|
static AccessControlTranslation.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
OwnerOverride |
owner()
Specifies the replica ownership.
|
String |
ownerAsString()
Specifies the replica ownership.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AccessControlTranslation.Builder> |
serializableBuilderClass() |
AccessControlTranslation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public OwnerOverride owner()
Specifies the replica ownership. For default and valid values, see PUT bucket replication in the Amazon Simple Storage Service API Reference.
If the service returns an enum value that is not available in the current SDK version, owner
will return
OwnerOverride.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
ownerAsString()
.
OwnerOverride
public String ownerAsString()
Specifies the replica ownership. For default and valid values, see PUT bucket replication in the Amazon Simple Storage Service API Reference.
If the service returns an enum value that is not available in the current SDK version, owner
will return
OwnerOverride.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
ownerAsString()
.
OwnerOverride
public AccessControlTranslation.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AccessControlTranslation.Builder,AccessControlTranslation>
public static AccessControlTranslation.Builder builder()
public static Class<? extends AccessControlTranslation.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.