Class EbsStatusDetails
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.EbsStatusDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EbsStatusDetails.Builder,EbsStatusDetails>
@Generated("software.amazon.awssdk:codegen") public final class EbsStatusDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EbsStatusDetails.Builder,EbsStatusDetails>
Describes the attached EBS status check for an instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEbsStatusDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EbsStatusDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantimpairedSince()The date and time when the attached EBS status check failed.StatusNamename()The name of the attached EBS status check.StringnameAsString()The name of the attached EBS status check.List<SdkField<?>>sdkFields()static Class<? extends EbsStatusDetails.Builder>serializableBuilderClass()StatusTypestatus()The result of the attached EBS status check.StringstatusAsString()The result of the attached EBS status check.EbsStatusDetails.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
-
impairedSince
public final Instant impairedSince()
The date and time when the attached EBS status check failed.
- Returns:
- The date and time when the attached EBS status check failed.
-
name
public final StatusName name()
The name of the attached EBS status check.
If the service returns an enum value that is not available in the current SDK version,
namewill returnStatusName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the attached EBS status check.
- See Also:
StatusName
-
nameAsString
public final String nameAsString()
The name of the attached EBS status check.
If the service returns an enum value that is not available in the current SDK version,
namewill returnStatusName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The name of the attached EBS status check.
- See Also:
StatusName
-
status
public final StatusType status()
The result of the attached EBS status check.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The result of the attached EBS status check.
- See Also:
StatusType
-
statusAsString
public final String statusAsString()
The result of the attached EBS status check.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The result of the attached EBS status check.
- See Also:
StatusType
-
toBuilder
public EbsStatusDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EbsStatusDetails.Builder,EbsStatusDetails>
-
builder
public static EbsStatusDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends EbsStatusDetails.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.
-
-