@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ContractMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The metadata of the contract.
Constructor and Description |
---|
ContractMetadata() |
Modifier and Type | Method and Description |
---|---|
ContractMetadata |
clone() |
boolean |
equals(Object obj) |
Integer |
getDecimals()
The decimals used by the token contract.
|
String |
getName()
The name of the token contract.
|
String |
getSymbol()
The symbol of the token contract.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDecimals(Integer decimals)
The decimals used by the token contract.
|
void |
setName(String name)
The name of the token contract.
|
void |
setSymbol(String symbol)
The symbol of the token contract.
|
String |
toString()
Returns a string representation of this object.
|
ContractMetadata |
withDecimals(Integer decimals)
The decimals used by the token contract.
|
ContractMetadata |
withName(String name)
The name of the token contract.
|
ContractMetadata |
withSymbol(String symbol)
The symbol of the token contract.
|
public void setName(String name)
The name of the token contract.
name
- The name of the token contract.public String getName()
The name of the token contract.
public ContractMetadata withName(String name)
The name of the token contract.
name
- The name of the token contract.public void setSymbol(String symbol)
The symbol of the token contract.
symbol
- The symbol of the token contract.public String getSymbol()
The symbol of the token contract.
public ContractMetadata withSymbol(String symbol)
The symbol of the token contract.
symbol
- The symbol of the token contract.public void setDecimals(Integer decimals)
The decimals used by the token contract.
decimals
- The decimals used by the token contract.public Integer getDecimals()
The decimals used by the token contract.
public ContractMetadata withDecimals(Integer decimals)
The decimals used by the token contract.
decimals
- The decimals used by the token contract.public String toString()
toString
in class Object
Object.toString()
public ContractMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.