@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Node extends Object implements Serializable, Cloneable, StructuredPojo
Configuration properties of a peer node.
Constructor and Description |
---|
Node() |
Modifier and Type | Method and Description |
---|---|
Node |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone in which the node exists.
|
Date |
getCreationDate()
The date and time that the node was created.
|
NodeFrameworkAttributes |
getFrameworkAttributes()
Attributes of the blockchain framework being used.
|
String |
getId()
The unique identifier of the node.
|
String |
getInstanceType()
The instance type of the node.
|
String |
getMemberId()
The unique identifier of the member to which the node belongs.
|
String |
getNetworkId()
The unique identifier of the network that the node is in.
|
String |
getStatus()
The status of the node.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
|
void |
setCreationDate(Date creationDate)
The date and time that the node was created.
|
void |
setFrameworkAttributes(NodeFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework being used.
|
void |
setId(String id)
The unique identifier of the node.
|
void |
setInstanceType(String instanceType)
The instance type of the node.
|
void |
setMemberId(String memberId)
The unique identifier of the member to which the node belongs.
|
void |
setNetworkId(String networkId)
The unique identifier of the network that the node is in.
|
void |
setStatus(String status)
The status of the node.
|
String |
toString()
Returns a string representation of this object.
|
Node |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
|
Node |
withCreationDate(Date creationDate)
The date and time that the node was created.
|
Node |
withFrameworkAttributes(NodeFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework being used.
|
Node |
withId(String id)
The unique identifier of the node.
|
Node |
withInstanceType(String instanceType)
The instance type of the node.
|
Node |
withMemberId(String memberId)
The unique identifier of the member to which the node belongs.
|
Node |
withNetworkId(String networkId)
The unique identifier of the network that the node is in.
|
Node |
withStatus(NodeStatus status)
The status of the node.
|
Node |
withStatus(String status)
The status of the node.
|
public void setNetworkId(String networkId)
The unique identifier of the network that the node is in.
networkId
- The unique identifier of the network that the node is in.public String getNetworkId()
The unique identifier of the network that the node is in.
public Node withNetworkId(String networkId)
The unique identifier of the network that the node is in.
networkId
- The unique identifier of the network that the node is in.public void setMemberId(String memberId)
The unique identifier of the member to which the node belongs.
memberId
- The unique identifier of the member to which the node belongs.public String getMemberId()
The unique identifier of the member to which the node belongs.
public Node withMemberId(String memberId)
The unique identifier of the member to which the node belongs.
memberId
- The unique identifier of the member to which the node belongs.public void setId(String id)
The unique identifier of the node.
id
- The unique identifier of the node.public String getId()
The unique identifier of the node.
public Node withId(String id)
The unique identifier of the node.
id
- The unique identifier of the node.public void setInstanceType(String instanceType)
The instance type of the node.
instanceType
- The instance type of the node.public String getInstanceType()
The instance type of the node.
public Node withInstanceType(String instanceType)
The instance type of the node.
instanceType
- The instance type of the node.public void setAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
availabilityZone
- The Availability Zone in which the node exists.public String getAvailabilityZone()
The Availability Zone in which the node exists.
public Node withAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
availabilityZone
- The Availability Zone in which the node exists.public void setFrameworkAttributes(NodeFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework being used.
frameworkAttributes
- Attributes of the blockchain framework being used.public NodeFrameworkAttributes getFrameworkAttributes()
Attributes of the blockchain framework being used.
public Node withFrameworkAttributes(NodeFrameworkAttributes frameworkAttributes)
Attributes of the blockchain framework being used.
frameworkAttributes
- Attributes of the blockchain framework being used.public void setStatus(String status)
The status of the node.
status
- The status of the node.NodeStatus
public String getStatus()
The status of the node.
NodeStatus
public Node withStatus(String status)
The status of the node.
status
- The status of the node.NodeStatus
public Node withStatus(NodeStatus status)
The status of the node.
status
- The status of the node.NodeStatus
public void setCreationDate(Date creationDate)
The date and time that the node was created.
creationDate
- The date and time that the node was created.public Date getCreationDate()
The date and time that the node was created.
public Node withCreationDate(Date creationDate)
The date and time that the node was created.
creationDate
- The date and time that the node was created.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.