Interface InstanceStatusEvent.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
,SdkBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
,SdkPojo
- Enclosing class:
- InstanceStatusEvent
public static interface InstanceStatusEvent.Builder extends SdkPojo, CopyableBuilder<InstanceStatusEvent.Builder,InstanceStatusEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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
instanceEventId(String instanceEventId)
The ID of the event.InstanceStatusEvent.Builder
notAfter(Instant notAfter)
The latest scheduled end time for the event.InstanceStatusEvent.Builder
notBefore(Instant notBefore)
The earliest scheduled start time for the event.InstanceStatusEvent.Builder
notBeforeDeadline(Instant notBeforeDeadline)
The deadline for starting the event.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
instanceEventId
InstanceStatusEvent.Builder instanceEventId(String instanceEventId)
The ID of the event.
- Parameters:
instanceEventId
- The ID of the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
code
InstanceStatusEvent.Builder code(String code)
The event code.
-
code
InstanceStatusEvent.Builder code(EventCode code)
The event code.
-
description
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].
- Parameters:
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].
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notAfter
InstanceStatusEvent.Builder notAfter(Instant notAfter)
The latest scheduled end time for the event.
- Parameters:
notAfter
- The latest scheduled end time for the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notBefore
InstanceStatusEvent.Builder notBefore(Instant notBefore)
The earliest scheduled start time for the event.
- Parameters:
notBefore
- The earliest scheduled start time for the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notBeforeDeadline
InstanceStatusEvent.Builder notBeforeDeadline(Instant notBeforeDeadline)
The deadline for starting the event.
- Parameters:
notBeforeDeadline
- The deadline for starting the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-