@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KxNode extends Object implements Serializable, Cloneable, StructuredPojo
A structure that stores metadata for a kdb node.
Constructor and Description |
---|
KxNode() |
Modifier and Type | Method and Description |
---|---|
KxNode |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZoneId()
The identifier of the availability zones where subnets for the environment are created.
|
Date |
getLaunchTime()
The time when a particular node is started.
|
String |
getNodeId()
A unique identifier for the node.
|
String |
getStatus()
Specifies the status of the cluster nodes.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZoneId(String availabilityZoneId)
The identifier of the availability zones where subnets for the environment are created.
|
void |
setLaunchTime(Date launchTime)
The time when a particular node is started.
|
void |
setNodeId(String nodeId)
A unique identifier for the node.
|
void |
setStatus(String status)
Specifies the status of the cluster nodes.
|
String |
toString()
Returns a string representation of this object.
|
KxNode |
withAvailabilityZoneId(String availabilityZoneId)
The identifier of the availability zones where subnets for the environment are created.
|
KxNode |
withLaunchTime(Date launchTime)
The time when a particular node is started.
|
KxNode |
withNodeId(String nodeId)
A unique identifier for the node.
|
KxNode |
withStatus(KxNodeStatus status)
Specifies the status of the cluster nodes.
|
KxNode |
withStatus(String status)
Specifies the status of the cluster nodes.
|
public void setNodeId(String nodeId)
A unique identifier for the node.
nodeId
- A unique identifier for the node.public String getNodeId()
A unique identifier for the node.
public KxNode withNodeId(String nodeId)
A unique identifier for the node.
nodeId
- A unique identifier for the node.public void setAvailabilityZoneId(String availabilityZoneId)
The identifier of the availability zones where subnets for the environment are created.
availabilityZoneId
- The identifier of the availability zones where subnets for the environment are created.public String getAvailabilityZoneId()
The identifier of the availability zones where subnets for the environment are created.
public KxNode withAvailabilityZoneId(String availabilityZoneId)
The identifier of the availability zones where subnets for the environment are created.
availabilityZoneId
- The identifier of the availability zones where subnets for the environment are created.public void setLaunchTime(Date launchTime)
The time when a particular node is started. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
launchTime
- The time when a particular node is started. The value is determined as epoch time in milliseconds. For
example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.public Date getLaunchTime()
The time when a particular node is started. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
public KxNode withLaunchTime(Date launchTime)
The time when a particular node is started. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
launchTime
- The time when a particular node is started. The value is determined as epoch time in milliseconds. For
example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.public void setStatus(String status)
Specifies the status of the cluster nodes.
RUNNING
– The node is actively serving.
PROVISIONING
– The node is being prepared.
status
- Specifies the status of the cluster nodes.
RUNNING
– The node is actively serving.
PROVISIONING
– The node is being prepared.
KxNodeStatus
public String getStatus()
Specifies the status of the cluster nodes.
RUNNING
– The node is actively serving.
PROVISIONING
– The node is being prepared.
RUNNING
– The node is actively serving.
PROVISIONING
– The node is being prepared.
KxNodeStatus
public KxNode withStatus(String status)
Specifies the status of the cluster nodes.
RUNNING
– The node is actively serving.
PROVISIONING
– The node is being prepared.
status
- Specifies the status of the cluster nodes.
RUNNING
– The node is actively serving.
PROVISIONING
– The node is being prepared.
KxNodeStatus
public KxNode withStatus(KxNodeStatus status)
Specifies the status of the cluster nodes.
RUNNING
– The node is actively serving.
PROVISIONING
– The node is being prepared.
status
- Specifies the status of the cluster nodes.
RUNNING
– The node is actively serving.
PROVISIONING
– The node is being prepared.
KxNodeStatus
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.