@Generated(value="software.amazon.awssdk:codegen") public final class InstanceStatusEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
Describes a scheduled event for an instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceStatusEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceStatusEvent.Builder |
builder() |
EventCode |
code()
The event code.
|
String |
codeAsString()
The event code.
|
String |
description()
A description of the event.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceEventId()
The ID of the event.
|
Instant |
notAfter()
The latest scheduled end time for the event.
|
Instant |
notBefore()
The earliest scheduled start time for the event.
|
Instant |
notBeforeDeadline()
The deadline for starting the event.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceStatusEvent.Builder> |
serializableBuilderClass() |
InstanceStatusEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String instanceEventId()
The ID of the event.
public EventCode code()
The event code.
If the service returns an enum value that is not available in the current SDK version, code will return
EventCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
EventCodepublic String codeAsString()
The event code.
If the service returns an enum value that is not available in the current SDK version, code will return
EventCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
codeAsString().
EventCodepublic String description()
A description of the event.
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
After a scheduled event is completed, it can still be described for up to a week. If the event has been completed, this description starts with the following text: [Completed].
public Instant notAfter()
The latest scheduled end time for the event.
public Instant notBefore()
The earliest scheduled start time for the event.
public Instant notBeforeDeadline()
The deadline for starting the event.
public InstanceStatusEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>public static InstanceStatusEvent.Builder builder()
public static Class<? extends InstanceStatusEvent.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.