Class CreateGlobalReplicationGroupRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.elasticache.model.ElastiCacheRequest
-
- software.amazon.awssdk.services.elasticache.model.CreateGlobalReplicationGroupRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateGlobalReplicationGroupRequest.Builder,CreateGlobalReplicationGroupRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateGlobalReplicationGroupRequest extends ElastiCacheRequest implements ToCopyableBuilder<CreateGlobalReplicationGroupRequest.Builder,CreateGlobalReplicationGroupRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateGlobalReplicationGroupRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateGlobalReplicationGroupRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringglobalReplicationGroupDescription()Provides details of the Global datastoreStringglobalReplicationGroupIdSuffix()The suffix name of a Global datastore.inthashCode()StringprimaryReplicationGroupId()The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateGlobalReplicationGroupRequest.Builder>serializableBuilderClass()CreateGlobalReplicationGroupRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
globalReplicationGroupIdSuffix
public final String globalReplicationGroupIdSuffix()
The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name across multiple regions.
For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .
- Returns:
- The suffix name of a Global datastore. Amazon ElastiCache automatically applies a prefix to the Global
datastore ID when it is created. Each Amazon Region has its own prefix. For instance, a Global datastore
ID created in the US-West-1 region will begin with "dsdfu" along with the suffix name you provide. The
suffix, combined with the auto-generated prefix, guarantees uniqueness of the Global datastore name
across multiple regions.
For a full list of Amazon Regions and their respective Global datastore iD prefixes, see Using the Amazon CLI with Global datastores .
-
globalReplicationGroupDescription
public final String globalReplicationGroupDescription()
Provides details of the Global datastore
- Returns:
- Provides details of the Global datastore
-
primaryReplicationGroupId
public final String primaryReplicationGroupId()
The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
- Returns:
- The name of the primary cluster that accepts writes and will replicate updates to the secondary cluster.
-
toBuilder
public CreateGlobalReplicationGroupRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateGlobalReplicationGroupRequest.Builder,CreateGlobalReplicationGroupRequest>- Specified by:
toBuilderin classElastiCacheRequest
-
builder
public static CreateGlobalReplicationGroupRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateGlobalReplicationGroupRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-