ToCopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
@Generated("software.amazon.awssdk:codegen") public class InstanceStatusEvent extends Object implements ToCopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
Describes a scheduled event for an instance.
Modifier and Type | Class | Description |
---|---|---|
static interface |
InstanceStatusEvent.Builder |
Modifier and Type | Method | Description |
---|---|---|
static InstanceStatusEvent.Builder |
builder() |
|
String |
code() |
The event code.
|
String |
description() |
A description of the event.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Date |
notAfter() |
The latest scheduled end time for the event.
|
Date |
notBefore() |
The earliest scheduled start time for the event.
|
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() |
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 Date notAfter()
The latest scheduled end time for the event.
public Date 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.