@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NodeConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration properties of a peer node.
| Constructor and Description |
|---|
NodeConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
NodeConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone in which the node exists.
|
String |
getInstanceType()
The Amazon Managed Blockchain instance type for 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 |
setInstanceType(String instanceType)
The Amazon Managed Blockchain instance type for the node.
|
String |
toString()
Returns a string representation of this object.
|
NodeConfiguration |
withAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
|
NodeConfiguration |
withInstanceType(String instanceType)
The Amazon Managed Blockchain instance type for the node.
|
public void setInstanceType(String instanceType)
The Amazon Managed Blockchain instance type for the node.
instanceType - The Amazon Managed Blockchain instance type for the node.public String getInstanceType()
The Amazon Managed Blockchain instance type for the node.
public NodeConfiguration withInstanceType(String instanceType)
The Amazon Managed Blockchain instance type for the node.
instanceType - The Amazon Managed Blockchain instance type for 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 NodeConfiguration withAvailabilityZone(String availabilityZone)
The Availability Zone in which the node exists.
availabilityZone - The Availability Zone in which the node exists.public String toString()
toString in class ObjectObject.toString()public NodeConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.