Class MultiRegionCluster
- java.lang.Object
-
- software.amazon.awssdk.services.memorydb.model.MultiRegionCluster
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MultiRegionCluster.Builder,MultiRegionCluster>
@Generated("software.amazon.awssdk:codegen") public final class MultiRegionCluster extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MultiRegionCluster.Builder,MultiRegionCluster>
Represents a multi-Region cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMultiRegionCluster.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The Amazon Resource Name (ARN) of the multi-Region cluster.static MultiRegionCluster.Builderbuilder()List<RegionalCluster>clusters()The clusters in this multi-Region cluster.Stringdescription()The description of the multi-Region cluster.Stringengine()The name of the engine used by the multi-Region cluster.StringengineVersion()The version of the engine used by the multi-Region cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasClusters()For responses, this returns true if the service returned a value for the Clusters property.inthashCode()StringmultiRegionClusterName()The name of the multi-Region cluster.StringmultiRegionParameterGroupName()The name of the multi-Region parameter group associated with the cluster.StringnodeType()The node type used by the multi-Region cluster.IntegernumberOfShards()The number of shards in the multi-Region cluster.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MultiRegionCluster.Builder>serializableBuilderClass()Stringstatus()The current status of the multi-Region cluster.BooleantlsEnabled()Indiciates if the multi-Region cluster is TLS enabled.MultiRegionCluster.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
-
multiRegionClusterName
public final String multiRegionClusterName()
The name of the multi-Region cluster.
- Returns:
- The name of the multi-Region cluster.
-
description
public final String description()
The description of the multi-Region cluster.
- Returns:
- The description of the multi-Region cluster.
-
status
public final String status()
The current status of the multi-Region cluster.
- Returns:
- The current status of the multi-Region cluster.
-
nodeType
public final String nodeType()
The node type used by the multi-Region cluster.
- Returns:
- The node type used by the multi-Region cluster.
-
engine
public final String engine()
The name of the engine used by the multi-Region cluster.
- Returns:
- The name of the engine used by the multi-Region cluster.
-
engineVersion
public final String engineVersion()
The version of the engine used by the multi-Region cluster.
- Returns:
- The version of the engine used by the multi-Region cluster.
-
numberOfShards
public final Integer numberOfShards()
The number of shards in the multi-Region cluster.
- Returns:
- The number of shards in the multi-Region cluster.
-
hasClusters
public final boolean hasClusters()
For responses, this returns true if the service returned a value for the Clusters property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
clusters
public final List<RegionalCluster> clusters()
The clusters in this multi-Region cluster.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasClusters()method.- Returns:
- The clusters in this multi-Region cluster.
-
multiRegionParameterGroupName
public final String multiRegionParameterGroupName()
The name of the multi-Region parameter group associated with the cluster.
- Returns:
- The name of the multi-Region parameter group associated with the cluster.
-
tlsEnabled
public final Boolean tlsEnabled()
Indiciates if the multi-Region cluster is TLS enabled.
- Returns:
- Indiciates if the multi-Region cluster is TLS enabled.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the multi-Region cluster.
- Returns:
- The Amazon Resource Name (ARN) of the multi-Region cluster.
-
toBuilder
public MultiRegionCluster.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MultiRegionCluster.Builder,MultiRegionCluster>
-
builder
public static MultiRegionCluster.Builder builder()
-
serializableBuilderClass
public static Class<? extends MultiRegionCluster.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
-
-