@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() |
Instant |
notAfter()
The latest scheduled end time for the event.
|
Instant |
notBefore()
The earliest scheduled start time for the event.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceStatusEvent.Builder> |
serializableBuilderClass() |
InstanceStatusEvent.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
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()
.
EventCode
public 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()
.
EventCode
public 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 InstanceStatusEvent.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
public static InstanceStatusEvent.Builder builder()
public static Class<? extends InstanceStatusEvent.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.