Class NodeConfig
- java.lang.Object
-
- software.amazon.awssdk.services.opensearch.model.NodeConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<NodeConfig.Builder,NodeConfig>
@Generated("software.amazon.awssdk:codegen") public final class NodeConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeConfig.Builder,NodeConfig>
Container for specifying configuration of any node type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
NodeConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NodeConfig.Builder
builder()
Integer
count()
The number of nodes of a particular node type in the cluster.Boolean
enabled()
A boolean that indicates whether a particular node type is enabled or not.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends NodeConfig.Builder>
serializableBuilderClass()
NodeConfig.Builder
toBuilder()
String
toString()
Returns a string representation of this object.OpenSearchPartitionInstanceType
type()
The instance type of a particular node type in the cluster.String
typeAsString()
The instance type of a particular node type in the cluster.-
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
-
enabled
public final Boolean enabled()
A boolean that indicates whether a particular node type is enabled or not.
- Returns:
- A boolean that indicates whether a particular node type is enabled or not.
-
type
public final OpenSearchPartitionInstanceType type()
The instance type of a particular node type in the cluster.
If the service returns an enum value that is not available in the current SDK version,
type
will returnOpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The instance type of a particular node type in the cluster.
- See Also:
OpenSearchPartitionInstanceType
-
typeAsString
public final String typeAsString()
The instance type of a particular node type in the cluster.
If the service returns an enum value that is not available in the current SDK version,
type
will returnOpenSearchPartitionInstanceType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The instance type of a particular node type in the cluster.
- See Also:
OpenSearchPartitionInstanceType
-
count
public final Integer count()
The number of nodes of a particular node type in the cluster.
- Returns:
- The number of nodes of a particular node type in the cluster.
-
toBuilder
public NodeConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<NodeConfig.Builder,NodeConfig>
-
builder
public static NodeConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends NodeConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-