@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ShardDetail extends Object implements Serializable, Cloneable, StructuredPojo
Provides details of a shard in a snapshot
Constructor and Description |
---|
ShardDetail() |
Modifier and Type | Method and Description |
---|---|
ShardDetail |
clone() |
boolean |
equals(Object obj) |
ShardConfiguration |
getConfiguration()
The configuration details of the shard
|
String |
getName()
The name of the shard
|
String |
getSize()
The size of the shard's snapshot
|
Date |
getSnapshotCreationTime()
The date and time that the shard's snapshot was created
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(ShardConfiguration configuration)
The configuration details of the shard
|
void |
setName(String name)
The name of the shard
|
void |
setSize(String size)
The size of the shard's snapshot
|
void |
setSnapshotCreationTime(Date snapshotCreationTime)
The date and time that the shard's snapshot was created
|
String |
toString()
Returns a string representation of this object.
|
ShardDetail |
withConfiguration(ShardConfiguration configuration)
The configuration details of the shard
|
ShardDetail |
withName(String name)
The name of the shard
|
ShardDetail |
withSize(String size)
The size of the shard's snapshot
|
ShardDetail |
withSnapshotCreationTime(Date snapshotCreationTime)
The date and time that the shard's snapshot was created
|
public void setName(String name)
The name of the shard
name
- The name of the shardpublic String getName()
The name of the shard
public ShardDetail withName(String name)
The name of the shard
name
- The name of the shardpublic void setConfiguration(ShardConfiguration configuration)
The configuration details of the shard
configuration
- The configuration details of the shardpublic ShardConfiguration getConfiguration()
The configuration details of the shard
public ShardDetail withConfiguration(ShardConfiguration configuration)
The configuration details of the shard
configuration
- The configuration details of the shardpublic void setSize(String size)
The size of the shard's snapshot
size
- The size of the shard's snapshotpublic String getSize()
The size of the shard's snapshot
public ShardDetail withSize(String size)
The size of the shard's snapshot
size
- The size of the shard's snapshotpublic void setSnapshotCreationTime(Date snapshotCreationTime)
The date and time that the shard's snapshot was created
snapshotCreationTime
- The date and time that the shard's snapshot was createdpublic Date getSnapshotCreationTime()
The date and time that the shard's snapshot was created
public ShardDetail withSnapshotCreationTime(Date snapshotCreationTime)
The date and time that the shard's snapshot was created
snapshotCreationTime
- The date and time that the shard's snapshot was createdpublic String toString()
toString
in class Object
Object.toString()
public ShardDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.