Class UpdateMultiRegionClusterRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.memorydb.model.MemoryDbRequest
-
- software.amazon.awssdk.services.memorydb.model.UpdateMultiRegionClusterRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UpdateMultiRegionClusterRequest.Builder,UpdateMultiRegionClusterRequest>
@Generated("software.amazon.awssdk:codegen") public final class UpdateMultiRegionClusterRequest extends MemoryDbRequest implements ToCopyableBuilder<UpdateMultiRegionClusterRequest.Builder,UpdateMultiRegionClusterRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUpdateMultiRegionClusterRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateMultiRegionClusterRequest.Builderbuilder()Stringdescription()A new description for the multi-Region cluster.StringengineVersion()The new engine version to be used for the multi-Region cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmultiRegionClusterName()The name of the multi-Region cluster to be updated.StringmultiRegionParameterGroupName()The new multi-Region parameter group to be associated with the cluster.StringnodeType()The new node type to be used for the multi-Region cluster.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UpdateMultiRegionClusterRequest.Builder>serializableBuilderClass()ShardConfigurationRequestshardConfiguration()Returns the value of the ShardConfiguration property for this object.UpdateMultiRegionClusterRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.UpdateStrategyupdateStrategy()Whether to force the update even if it may cause data loss.StringupdateStrategyAsString()Whether to force the update even if it may cause data loss.-
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
-
multiRegionClusterName
public final String multiRegionClusterName()
The name of the multi-Region cluster to be updated.
- Returns:
- The name of the multi-Region cluster to be updated.
-
nodeType
public final String nodeType()
The new node type to be used for the multi-Region cluster.
- Returns:
- The new node type to be used for the multi-Region cluster.
-
description
public final String description()
A new description for the multi-Region cluster.
- Returns:
- A new description for the multi-Region cluster.
-
engineVersion
public final String engineVersion()
The new engine version to be used for the multi-Region cluster.
- Returns:
- The new engine version to be used for the multi-Region cluster.
-
shardConfiguration
public final ShardConfigurationRequest shardConfiguration()
Returns the value of the ShardConfiguration property for this object.- Returns:
- The value of the ShardConfiguration property for this object.
-
multiRegionParameterGroupName
public final String multiRegionParameterGroupName()
The new multi-Region parameter group to be associated with the cluster.
- Returns:
- The new multi-Region parameter group to be associated with the cluster.
-
updateStrategy
public final UpdateStrategy updateStrategy()
Whether to force the update even if it may cause data loss.
If the service returns an enum value that is not available in the current SDK version,
updateStrategywill returnUpdateStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateStrategyAsString().- Returns:
- Whether to force the update even if it may cause data loss.
- See Also:
UpdateStrategy
-
updateStrategyAsString
public final String updateStrategyAsString()
Whether to force the update even if it may cause data loss.
If the service returns an enum value that is not available in the current SDK version,
updateStrategywill returnUpdateStrategy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromupdateStrategyAsString().- Returns:
- Whether to force the update even if it may cause data loss.
- See Also:
UpdateStrategy
-
toBuilder
public UpdateMultiRegionClusterRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UpdateMultiRegionClusterRequest.Builder,UpdateMultiRegionClusterRequest>- Specified by:
toBuilderin classMemoryDbRequest
-
builder
public static UpdateMultiRegionClusterRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends UpdateMultiRegionClusterRequest.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
-
-