Interface DeregisterTargetFromMaintenanceWindowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<DeregisterTargetFromMaintenanceWindowRequest.Builder,,DeregisterTargetFromMaintenanceWindowRequest> SdkBuilder<DeregisterTargetFromMaintenanceWindowRequest.Builder,,DeregisterTargetFromMaintenanceWindowRequest> SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
DeregisterTargetFromMaintenanceWindowRequest
@Mutable
@NotThreadSafe
public static interface DeregisterTargetFromMaintenanceWindowRequest.Builder
extends SsmRequest.Builder, SdkPojo, CopyableBuilder<DeregisterTargetFromMaintenanceWindowRequest.Builder,DeregisterTargetFromMaintenanceWindowRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The system checks if the target is being referenced by a task.The ID of the maintenance window the target should be removed from.windowTargetId(String windowTargetId) The ID of the target definition to remove.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.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmRequest.Builder
build
-
Method Details
-
windowId
The ID of the maintenance window the target should be removed from.
- Parameters:
windowId- The ID of the maintenance window the target should be removed from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowTargetId
The ID of the target definition to remove.
- Parameters:
windowTargetId- The ID of the target definition to remove.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
safe
The system checks if the target is being referenced by a task. If the target is being referenced, the system returns an error and doesn't deregister the target from the maintenance window.
- Parameters:
safe- The system checks if the target is being referenced by a task. If the target is being referenced, the system returns an error and doesn't deregister the target from the maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DeregisterTargetFromMaintenanceWindowRequest.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
DeregisterTargetFromMaintenanceWindowRequest.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.
-