CopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
, SdkBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
public static interface InstanceStatusEvent.Builder extends CopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
Modifier and Type | Method | Description |
---|---|---|
InstanceStatusEvent.Builder |
code(String code) |
The event code.
|
InstanceStatusEvent.Builder |
code(EventCode code) |
The event code.
|
InstanceStatusEvent.Builder |
description(String description) |
A description of the event.
|
InstanceStatusEvent.Builder |
notAfter(Date notAfter) |
The latest scheduled end time for the event.
|
InstanceStatusEvent.Builder |
notBefore(Date notBefore) |
The earliest scheduled start time for the event.
|
copy
apply, build
InstanceStatusEvent.Builder code(String code)
The event code.
code
- The event code.EventCode
InstanceStatusEvent.Builder code(EventCode code)
The event code.
code
- The event code.EventCode
InstanceStatusEvent.Builder description(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].
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].
InstanceStatusEvent.Builder notAfter(Date notAfter)
The latest scheduled end time for the event.
notAfter
- The latest scheduled end time for the event.InstanceStatusEvent.Builder notBefore(Date notBefore)
The earliest scheduled start time for the event.
notBefore
- The earliest scheduled start time for the event.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.