@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Shard extends Object implements Serializable, Cloneable, StructuredPojo
The name of the shard.
Constructor and Description |
---|
Shard() |
Modifier and Type | Method and Description |
---|---|
Shard |
clone() |
boolean |
equals(Object obj) |
String |
getCreateTime()
The time when the shard was created in Universal Coordinated Time (UTC).
|
String |
getShardId()
The ID of the shard.
|
String |
getStatus()
The current status of the shard.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreateTime(String createTime)
The time when the shard was created in Universal Coordinated Time (UTC).
|
void |
setShardId(String shardId)
The ID of the shard.
|
void |
setStatus(String status)
The current status of the shard.
|
String |
toString()
Returns a string representation of this object.
|
Shard |
withCreateTime(String createTime)
The time when the shard was created in Universal Coordinated Time (UTC).
|
Shard |
withShardId(String shardId)
The ID of the shard.
|
Shard |
withStatus(Status status)
The current status of the shard.
|
Shard |
withStatus(String status)
The current status of the shard.
|
public void setCreateTime(String createTime)
The time when the shard was created in Universal Coordinated Time (UTC).
createTime
- The time when the shard was created in Universal Coordinated Time (UTC).public String getCreateTime()
The time when the shard was created in Universal Coordinated Time (UTC).
public Shard withCreateTime(String createTime)
The time when the shard was created in Universal Coordinated Time (UTC).
createTime
- The time when the shard was created in Universal Coordinated Time (UTC).public void setShardId(String shardId)
The ID of the shard.
shardId
- The ID of the shard.public String getShardId()
The ID of the shard.
public Shard withShardId(String shardId)
The ID of the shard.
shardId
- The ID of the shard.public void setStatus(String status)
The current status of the shard.
status
- The current status of the shard.Status
public String getStatus()
The current status of the shard.
Status
public Shard withStatus(String status)
The current status of the shard.
status
- The current status of the shard.Status
public Shard withStatus(Status status)
The current status of the shard.
status
- The current status of the shard.Status
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.