Interface ModifyInstanceEventStartTimeResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ModifyInstanceEventStartTimeResponse.Builder,,ModifyInstanceEventStartTimeResponse> Ec2Response.Builder,SdkBuilder<ModifyInstanceEventStartTimeResponse.Builder,,ModifyInstanceEventStartTimeResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ModifyInstanceEventStartTimeResponse
public static interface ModifyInstanceEventStartTimeResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyInstanceEventStartTimeResponse.Builder,ModifyInstanceEventStartTimeResponse>
-
Method Summary
Modifier and TypeMethodDescriptionevent(Consumer<InstanceStatusEvent.Builder> event) Information about the event.event(InstanceStatusEvent event) Information about the event.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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:
-