@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LedgerSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about a ledger, including its name, state, and when it was created.
Constructor and Description |
---|
LedgerSummary() |
Modifier and Type | Method and Description |
---|---|
LedgerSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreationDateTime()
The date and time, in epoch time format, when the ledger was created.
|
String |
getName()
The name of the ledger.
|
String |
getState()
The current status of the ledger.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreationDateTime(Date creationDateTime)
The date and time, in epoch time format, when the ledger was created.
|
void |
setName(String name)
The name of the ledger.
|
void |
setState(String state)
The current status of the ledger.
|
String |
toString()
Returns a string representation of this object.
|
LedgerSummary |
withCreationDateTime(Date creationDateTime)
The date and time, in epoch time format, when the ledger was created.
|
LedgerSummary |
withName(String name)
The name of the ledger.
|
LedgerSummary |
withState(LedgerState state)
The current status of the ledger.
|
LedgerSummary |
withState(String state)
The current status of the ledger.
|
public void setName(String name)
The name of the ledger.
name
- The name of the ledger.public String getName()
The name of the ledger.
public LedgerSummary withName(String name)
The name of the ledger.
name
- The name of the ledger.public void setState(String state)
The current status of the ledger.
state
- The current status of the ledger.LedgerState
public String getState()
The current status of the ledger.
LedgerState
public LedgerSummary withState(String state)
The current status of the ledger.
state
- The current status of the ledger.LedgerState
public LedgerSummary withState(LedgerState state)
The current status of the ledger.
state
- The current status of the ledger.LedgerState
public void setCreationDateTime(Date creationDateTime)
The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
creationDateTime
- The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of
seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)public Date getCreationDateTime()
The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
public LedgerSummary withCreationDateTime(Date creationDateTime)
The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)
creationDateTime
- The date and time, in epoch time format, when the ledger was created. (Epoch time format is the number of
seconds elapsed since 12:00:00 AM January 1, 1970 UTC.)public String toString()
toString
in class Object
Object.toString()
public LedgerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.