Interface ModifyInstanceEventStartTimeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyInstanceEventStartTimeResponse.Builder,ModifyInstanceEventStartTimeResponse>,Ec2Response.Builder,SdkBuilder<ModifyInstanceEventStartTimeResponse.Builder,ModifyInstanceEventStartTimeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ModifyInstanceEventStartTimeResponse
@Mutable @NotThreadSafe public static interface ModifyInstanceEventStartTimeResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyInstanceEventStartTimeResponse.Builder,ModifyInstanceEventStartTimeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ModifyInstanceEventStartTimeResponse.Builderevent(Consumer<InstanceStatusEvent.Builder> event)Information about the event.ModifyInstanceEventStartTimeResponse.Builderevent(InstanceStatusEvent event)Information about the event.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
event
ModifyInstanceEventStartTimeResponse.Builder event(InstanceStatusEvent event)
Information about the event.
- Parameters:
event- Information about the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
default ModifyInstanceEventStartTimeResponse.Builder event(Consumer<InstanceStatusEvent.Builder> event)
Information about the event.
This is a convenience method that creates an instance of theInstanceStatusEvent.Builderavoiding the need to create one manually viaInstanceStatusEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toevent(InstanceStatusEvent).- Parameters:
event- a consumer that will call methods onInstanceStatusEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
event(InstanceStatusEvent)
-
-