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 interfaceNodeInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaddedToClusterTime()The start time.BrokerNodeInfobrokerNodeInfo()The broker node info.static NodeInfo.Builderbuilder()ControllerNodeInfocontrollerNodeInfo()The ControllerNodeInfo.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceType()The instance type.StringnodeARN()The Amazon Resource Name (ARN) of the node.NodeTypenodeType()The node type.StringnodeTypeAsString()The node type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NodeInfo.Builder>serializableBuilderClass()NodeInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.ZookeeperNodeInfozookeeperNodeInfo()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.
-
controllerNodeInfo
public final ControllerNodeInfo controllerNodeInfo()
The ControllerNodeInfo.
- Returns:
The ControllerNodeInfo.
-
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,
nodeTypewill 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,
nodeTypewill 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:
toBuilderin 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:
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
-
-