Interface AssociateApplicationStatusCheckRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<AssociateApplicationStatusCheckRequest.Builder,,AssociateApplicationStatusCheckRequest> Ec2Request.Builder,SdkBuilder<AssociateApplicationStatusCheckRequest.Builder,,AssociateApplicationStatusCheckRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateApplicationStatusCheckRequest
-
Method Summary
Modifier and TypeMethodDescriptionapplicationStatusCheckId(String applicationStatusCheckId) The ID of the application status check to associate.clientToken(String clientToken) Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.Checks whether you have the required permissions for the operation, without actually making the request, and provides an error response.instanceIds(String... instanceIds) The IDs of the instances to associate with the application status check.instanceIds(Collection<String> instanceIds) The IDs of the instances to associate with the application status check.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetTagAssociations(Collection<CustomTagKeyValueRequestPair> targetTagAssociations) The tags to associate the application status check with.targetTagAssociations(Consumer<CustomTagKeyValueRequestPair.Builder>... targetTagAssociations) The tags to associate the application status check with.targetTagAssociations(CustomTagKeyValueRequestPair... targetTagAssociations) The tags to associate the application status check with.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
-
applicationStatusCheckId
AssociateApplicationStatusCheckRequest.Builder applicationStatusCheckId(String applicationStatusCheckId) The ID of the application status check to associate.
- Parameters:
applicationStatusCheckId- The ID of the application status check to associate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTagAssociations
AssociateApplicationStatusCheckRequest.Builder targetTagAssociations(Collection<CustomTagKeyValueRequestPair> targetTagAssociations) The tags to associate the application status check with. Each tag is a key-value pair. When you associate tags, the application status check automatically monitors all instances that have the specified tags.
- Parameters:
targetTagAssociations- The tags to associate the application status check with. Each tag is a key-value pair. When you associate tags, the application status check automatically monitors all instances that have the specified tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTagAssociations
AssociateApplicationStatusCheckRequest.Builder targetTagAssociations(CustomTagKeyValueRequestPair... targetTagAssociations) The tags to associate the application status check with. Each tag is a key-value pair. When you associate tags, the application status check automatically monitors all instances that have the specified tags.
- Parameters:
targetTagAssociations- The tags to associate the application status check with. Each tag is a key-value pair. When you associate tags, the application status check automatically monitors all instances that have the specified tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetTagAssociations
AssociateApplicationStatusCheckRequest.Builder targetTagAssociations(Consumer<CustomTagKeyValueRequestPair.Builder>... targetTagAssociations) The tags to associate the application status check with. Each tag is a key-value pair. When you associate tags, the application status check automatically monitors all instances that have the specified tags.
This is a convenience method that creates an instance of theCustomTagKeyValueRequestPair.Builderavoiding the need to create one manually viaCustomTagKeyValueRequestPair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargetTagAssociations(List<CustomTagKeyValueRequestPair>).- Parameters:
targetTagAssociations- a consumer that will call methods onCustomTagKeyValueRequestPair.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceIds
The IDs of the instances to associate with the application status check.
- Parameters:
instanceIds- The IDs of the instances to associate with the application status check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
The IDs of the instances to associate with the application status check.
- Parameters:
instanceIds- The IDs of the instances to associate with the application status check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.
- Parameters:
clientToken- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Checks whether you have the required permissions for the operation, 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 operation, 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.
-
overrideConfiguration
AssociateApplicationStatusCheckRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
AssociateApplicationStatusCheckRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-