Class VolumeStatusEvent
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.VolumeStatusEvent
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<VolumeStatusEvent.Builder,VolumeStatusEvent>
@Generated("software.amazon.awssdk:codegen") public final class VolumeStatusEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VolumeStatusEvent.Builder,VolumeStatusEvent>
Describes a volume status event.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VolumeStatusEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeStatusEvent.Builder
builder()
String
description()
A description of the event.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
eventId()
The ID of this event.String
eventType()
The type of this event.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
instanceId()
The ID of the instance associated with the event.Instant
notAfter()
The latest end time of the event.Instant
notBefore()
The earliest start time of the event.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends VolumeStatusEvent.Builder>
serializableBuilderClass()
VolumeStatusEvent.Builder
toBuilder()
String
toString()
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
-
description
public final String description()
A description of the event.
- Returns:
- A description of the event.
-
eventId
public final String eventId()
The ID of this event.
- Returns:
- The ID of this event.
-
eventType
public final String eventType()
The type of this event.
- Returns:
- The type of this event.
-
notAfter
public final Instant notAfter()
The latest end time of the event.
- Returns:
- The latest end time of the event.
-
notBefore
public final Instant notBefore()
The earliest start time of the event.
- Returns:
- The earliest start time of the event.
-
instanceId
public final String instanceId()
The ID of the instance associated with the event.
- Returns:
- The ID of the instance associated with the event.
-
toBuilder
public VolumeStatusEvent.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<VolumeStatusEvent.Builder,VolumeStatusEvent>
-
builder
public static VolumeStatusEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends VolumeStatusEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-