Class ShardDetail
- java.lang.Object
-
- software.amazon.awssdk.services.memorydb.model.ShardDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ShardDetail.Builder,ShardDetail>
@Generated("software.amazon.awssdk:codegen") public final class ShardDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ShardDetail.Builder,ShardDetail>
Provides details of a shard in a snapshot
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShardDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShardDetail.Builderbuilder()ShardConfigurationconfiguration()The configuration details of the shardbooleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the shardList<SdkField<?>>sdkFields()static Class<? extends ShardDetail.Builder>serializableBuilderClass()Stringsize()The size of the shard's snapshotInstantsnapshotCreationTime()The date and time that the shard's snapshot was createdShardDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
name
public final String name()
The name of the shard
- Returns:
- The name of the shard
-
configuration
public final ShardConfiguration configuration()
The configuration details of the shard
- Returns:
- The configuration details of the shard
-
size
public final String size()
The size of the shard's snapshot
- Returns:
- The size of the shard's snapshot
-
snapshotCreationTime
public final Instant snapshotCreationTime()
The date and time that the shard's snapshot was created
- Returns:
- The date and time that the shard's snapshot was created
-
toBuilder
public ShardDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ShardDetail.Builder,ShardDetail>
-
builder
public static ShardDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends ShardDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-