Interface DisassociateInstanceEventWindowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DisassociateInstanceEventWindowRequest.Builder,,DisassociateInstanceEventWindowRequest> Ec2Request.Builder,SdkBuilder<DisassociateInstanceEventWindowRequest.Builder,,DisassociateInstanceEventWindowRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
- DisassociateInstanceEventWindowRequest
@Mutable
@NotThreadSafe
public static interface DisassociateInstanceEventWindowRequest.Builder
extends Ec2Request.Builder, SdkPojo, CopyableBuilder<DisassociateInstanceEventWindowRequest.Builder,DisassociateInstanceEventWindowRequest>
-
Method Summary
Modifier and TypeMethodDescriptionassociationTarget(Consumer<InstanceEventWindowDisassociationRequest.Builder> associationTarget) One or more targets to disassociate from the specified event window.associationTarget(InstanceEventWindowDisassociationRequest associationTarget) One or more targets to disassociate from the specified event window.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.instanceEventWindowId(String instanceEventWindowId) The ID of the event window.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceEventWindowId
The ID of the event window.
- Parameters:
instanceEventWindowId- The ID of the event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationTarget
DisassociateInstanceEventWindowRequest.Builder associationTarget(InstanceEventWindowDisassociationRequest associationTarget) One or more targets to disassociate from the specified event window.
- Parameters:
associationTarget- One or more targets to disassociate from the specified event window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationTarget
default DisassociateInstanceEventWindowRequest.Builder associationTarget(Consumer<InstanceEventWindowDisassociationRequest.Builder> associationTarget) One or more targets to disassociate from the specified event window.
This is a convenience method that creates an instance of theInstanceEventWindowDisassociationRequest.Builderavoiding the need to create one manually viaInstanceEventWindowDisassociationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociationTarget(InstanceEventWindowDisassociationRequest).- Parameters:
associationTarget- a consumer that will call methods onInstanceEventWindowDisassociationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DisassociateInstanceEventWindowRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
DisassociateInstanceEventWindowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) - Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-