@Generated(value="software.amazon.awssdk:codegen") public class InstanceStatusEvent extends Object implements software.amazon.awssdk.utils.builder.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() |
String |
code()
The event code.
|
String |
description()
A description of the event.
|
boolean |
equals(Object obj) |
int |
hashCode() |
Instant |
notAfter()
The latest scheduled end time for the event.
|
Instant |
notBefore()
The earliest scheduled start time for the event.
|
static Class<? extends InstanceStatusEvent.Builder> |
serializableBuilderClass() |
InstanceStatusEvent.Builder |
toBuilder() |
String |
toString() |
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()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>public static InstanceStatusEvent.Builder builder()
public static Class<? extends InstanceStatusEvent.Builder> serializableBuilderClass()
Copyright © 2017. All rights reserved.