Class Shard
- java.lang.Object
-
- software.amazon.awssdk.services.docdbelastic.model.Shard
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Shard.Builder,Shard>
@Generated("software.amazon.awssdk:codegen") public final class Shard extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Shard.Builder,Shard>
The name of the shard.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShard.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Shard.Builderbuilder()StringcreateTime()The time when the shard was created in Universal Coordinated Time (UTC).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Shard.Builder>serializableBuilderClass()StringshardId()The ID of the shard.Statusstatus()The current status of the shard.StringstatusAsString()The current status of the shard.Shard.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
-
createTime
public final String createTime()
The time when the shard was created in Universal Coordinated Time (UTC).
- Returns:
- The time when the shard was created in Universal Coordinated Time (UTC).
-
shardId
public final String shardId()
The ID of the shard.
- Returns:
- The ID of the shard.
-
status
public final Status status()
The current status of the shard.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the shard.
- See Also:
Status
-
statusAsString
public final String statusAsString()
The current status of the shard.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the shard.
- See Also:
Status
-
toBuilder
public Shard.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Shard.Builder,Shard>
-
builder
public static Shard.Builder builder()
-
serializableBuilderClass
public static Class<? extends Shard.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-