Interface AssociateInstanceEventWindowResponse.Builder
- All Superinterfaces:
 AwsResponse.Builder,Buildable,CopyableBuilder<AssociateInstanceEventWindowResponse.Builder,,AssociateInstanceEventWindowResponse> Ec2Response.Builder,SdkBuilder<AssociateInstanceEventWindowResponse.Builder,,AssociateInstanceEventWindowResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 AssociateInstanceEventWindowResponse
public static interface AssociateInstanceEventWindowResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<AssociateInstanceEventWindowResponse.Builder,AssociateInstanceEventWindowResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptioninstanceEventWindow(Consumer<InstanceEventWindow.Builder> instanceEventWindow) Information about the event window.instanceEventWindow(InstanceEventWindow instanceEventWindow) Information about 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
- 
instanceEventWindow
AssociateInstanceEventWindowResponse.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 AssociateInstanceEventWindowResponse.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:
 
 
 -