Class NodeInfo
- java.lang.Object
-
- software.amazon.awssdk.services.kafka.model.NodeInfo
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<NodeInfo.Builder,NodeInfo>
@Generated("software.amazon.awssdk:codegen") public final class NodeInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NodeInfo.Builder,NodeInfo>
The node information object.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
NodeInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
addedToClusterTime()
The start time.BrokerNodeInfo
brokerNodeInfo()
The broker node info.static NodeInfo.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
instanceType()
The instance type.String
nodeARN()
The Amazon Resource Name (ARN) of the node.NodeType
nodeType()
The node type.String
nodeTypeAsString()
The node type.List<SdkField<?>>
sdkFields()
static Class<? extends NodeInfo.Builder>
serializableBuilderClass()
NodeInfo.Builder
toBuilder()
String
toString()
Returns a string representation of this object.ZookeeperNodeInfo
zookeeperNodeInfo()
The ZookeeperNodeInfo.-
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
-
addedToClusterTime
public final String addedToClusterTime()
The start time.
- Returns:
The start time.
-
brokerNodeInfo
public final BrokerNodeInfo brokerNodeInfo()
The broker node info.
- Returns:
The broker node info.
-
instanceType
public final String instanceType()
The instance type.
- Returns:
The instance type.
-
nodeARN
public final String nodeARN()
The Amazon Resource Name (ARN) of the node.
- Returns:
The Amazon Resource Name (ARN) of the node.
-
nodeType
public final NodeType nodeType()
The node type.
If the service returns an enum value that is not available in the current SDK version,
nodeType
will returnNodeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnodeTypeAsString()
.- Returns:
The node type.
- See Also:
NodeType
-
nodeTypeAsString
public final String nodeTypeAsString()
The node type.
If the service returns an enum value that is not available in the current SDK version,
nodeType
will returnNodeType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromnodeTypeAsString()
.- Returns:
The node type.
- See Also:
NodeType
-
zookeeperNodeInfo
public final ZookeeperNodeInfo zookeeperNodeInfo()
The ZookeeperNodeInfo.
- Returns:
The ZookeeperNodeInfo.
-
toBuilder
public NodeInfo.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<NodeInfo.Builder,NodeInfo>
-
builder
public static NodeInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends NodeInfo.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.
-
-