Interface DisassociateInstanceEventWindowResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DisassociateInstanceEventWindowResponse.Builder,DisassociateInstanceEventWindowResponse>,Ec2Response.Builder,SdkBuilder<DisassociateInstanceEventWindowResponse.Builder,DisassociateInstanceEventWindowResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DisassociateInstanceEventWindowResponse
@Mutable @NotThreadSafe public static interface DisassociateInstanceEventWindowResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DisassociateInstanceEventWindowResponse.Builder,DisassociateInstanceEventWindowResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DisassociateInstanceEventWindowResponse.BuilderinstanceEventWindow(Consumer<InstanceEventWindow.Builder> instanceEventWindow)Information about the event window.DisassociateInstanceEventWindowResponse.BuilderinstanceEventWindow(InstanceEventWindow instanceEventWindow)Information about the event window.-
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
-
instanceEventWindow
DisassociateInstanceEventWindowResponse.Builder instanceEventWindow(InstanceEventWindow instanceEventWindow)
Information about the event window.
- Parameters:
instanceEventWindow- Information about the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceEventWindow
default DisassociateInstanceEventWindowResponse.Builder instanceEventWindow(Consumer<InstanceEventWindow.Builder> instanceEventWindow)
Information about the event window.
This is a convenience method that creates an instance of theInstanceEventWindow.Builderavoiding the need to create one manually viaInstanceEventWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceEventWindow(InstanceEventWindow).- Parameters:
instanceEventWindow- a consumer that will call methods onInstanceEventWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
instanceEventWindow(InstanceEventWindow)
-
-