Interface DeleteInstanceEventWindowResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteInstanceEventWindowResponse.Builder,,DeleteInstanceEventWindowResponse> Ec2Response.Builder,SdkBuilder<DeleteInstanceEventWindowResponse.Builder,,DeleteInstanceEventWindowResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DeleteInstanceEventWindowResponse
public static interface DeleteInstanceEventWindowResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DeleteInstanceEventWindowResponse.Builder,DeleteInstanceEventWindowResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceEventWindowState(Consumer<InstanceEventWindowStateChange.Builder> instanceEventWindowState) The state of the event window.instanceEventWindowState(InstanceEventWindowStateChange instanceEventWindowState) The state of the event window.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
-
instanceEventWindowState
DeleteInstanceEventWindowResponse.Builder instanceEventWindowState(InstanceEventWindowStateChange instanceEventWindowState) The state of the event window.
- Parameters:
instanceEventWindowState- The state of the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceEventWindowState
default DeleteInstanceEventWindowResponse.Builder instanceEventWindowState(Consumer<InstanceEventWindowStateChange.Builder> instanceEventWindowState) The state of the event window.
This is a convenience method that creates an instance of theInstanceEventWindowStateChange.Builderavoiding the need to create one manually viaInstanceEventWindowStateChange.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceEventWindowState(InstanceEventWindowStateChange).- Parameters:
instanceEventWindowState- a consumer that will call methods onInstanceEventWindowStateChange.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-