Class ReplicationDestination
- java.lang.Object
-
- software.amazon.awssdk.services.ecr.model.ReplicationDestination
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReplicationDestination.Builder,ReplicationDestination>
@Generated("software.amazon.awssdk:codegen") public final class ReplicationDestination extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReplicationDestination.Builder,ReplicationDestination>
An array of objects representing the destination for a replication rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReplicationDestination.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReplicationDestination.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringregion()The Region to replicate to.StringregistryId()The Amazon Web Services account ID of the Amazon ECR private registry to replicate to.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReplicationDestination.Builder>serializableBuilderClass()ReplicationDestination.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
-
region
public final String region()
The Region to replicate to.
- Returns:
- The Region to replicate to.
-
registryId
public final String registryId()
The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
- Returns:
- The Amazon Web Services account ID of the Amazon ECR private registry to replicate to. When configuring cross-Region replication within your own registry, specify your own account ID.
-
toBuilder
public ReplicationDestination.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReplicationDestination.Builder,ReplicationDestination>
-
builder
public static ReplicationDestination.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReplicationDestination.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-