@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_IDassociated 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_IDassociated with the Ethereum network. | 
| String | toString()Returns a string representation of this object. | 
| NetworkEthereumAttributes | withChainId(String chainId)
 The Ethereum  CHAIN_IDassociated 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
 
 rinkeby = 4
 
 ropsten = 3
 
chainId - The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
        
        mainnet = 1
        
        rinkeby = 4
        
        ropsten = 3
        
public String getChainId()
 The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
 
 mainnet = 1
 
 rinkeby = 4
 
 ropsten = 3
 
CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
         
         mainnet = 1
         
         rinkeby = 4
         
         ropsten = 3
         
public NetworkEthereumAttributes withChainId(String chainId)
 The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
 
 mainnet = 1
 
 rinkeby = 4
 
 ropsten = 3
 
chainId - The Ethereum CHAIN_ID associated with the Ethereum network. Chain IDs are as follows:
        
        mainnet = 1
        
        rinkeby = 4
        
        ropsten = 3
        
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.