@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkEthereumAttributes extends Object implements Serializable, Cloneable, StructuredPojo
Attributes of Ethereum for a network.
| Constructor and Description |
|---|
NetworkEthereumAttributes() |
| Modifier and Type | Method and Description |
|---|---|
NetworkEthereumAttributes |
clone() |
boolean |
equals(Object obj) |
String |
getChainId()
The Ethereum
CHAIN_ID associated with the Ethereum network. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setChainId(String chainId)
The Ethereum
CHAIN_ID associated with the Ethereum network. |
String |
toString()
Returns a string representation of this object.
|
NetworkEthereumAttributes |
withChainId(String chainId)
The Ethereum
CHAIN_ID associated with the Ethereum network. |
public void setChainId(String chainId)
The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
mainnet = 1
chainId - The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
mainnet = 1
public String getChainId()
The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
mainnet = 1
CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
mainnet = 1
public NetworkEthereumAttributes withChainId(String chainId)
The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
mainnet = 1
chainId - The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
mainnet = 1
public String toString()
toString in class ObjectObject.toString()public NetworkEthereumAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.