Interface UpdateMaintenanceWindowTargetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateMaintenanceWindowTargetRequest.Builder,UpdateMaintenanceWindowTargetRequest>,SdkBuilder<UpdateMaintenanceWindowTargetRequest.Builder,UpdateMaintenanceWindowTargetRequest>,SdkPojo,SdkRequest.Builder,SsmRequest.Builder
- Enclosing class:
- UpdateMaintenanceWindowTargetRequest
public static interface UpdateMaintenanceWindowTargetRequest.Builder extends SsmRequest.Builder, SdkPojo, CopyableBuilder<UpdateMaintenanceWindowTargetRequest.Builder,UpdateMaintenanceWindowTargetRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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.services.ssm.model.SsmRequest.Builder
build
-
-
-
-
Method Detail
-
windowId
UpdateMaintenanceWindowTargetRequest.Builder windowId(String windowId)
The maintenance window ID with which to modify the target.
- Parameters:
windowId- The maintenance window ID with which to modify the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowTargetId
UpdateMaintenanceWindowTargetRequest.Builder windowTargetId(String windowTargetId)
The target ID to modify.
- Parameters:
windowTargetId- The target ID to modify.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
UpdateMaintenanceWindowTargetRequest.Builder targets(Collection<Target> targets)
The targets to add or replace.
- Parameters:
targets- The targets to add or replace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
UpdateMaintenanceWindowTargetRequest.Builder targets(Target... targets)
The targets to add or replace.
- Parameters:
targets- The targets to add or replace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
UpdateMaintenanceWindowTargetRequest.Builder targets(Consumer<Target.Builder>... targets)
The targets to add or replace.
This is a convenience method that creates an instance of theTarget.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#targets(List.) - Parameters:
targets- a consumer that will call methods onTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#targets(java.util.Collection)
-
ownerInformation
UpdateMaintenanceWindowTargetRequest.Builder ownerInformation(String ownerInformation)
User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.
- Parameters:
ownerInformation- User-provided value that will be included in any Amazon CloudWatch Events events raised while running tasks for these targets in this maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateMaintenanceWindowTargetRequest.Builder name(String name)
A name for the update.
- Parameters:
name- A name for the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateMaintenanceWindowTargetRequest.Builder description(String description)
An optional description for the update.
- Parameters:
description- An optional description for the update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replace
UpdateMaintenanceWindowTargetRequest.Builder replace(Boolean replace)
If
True, then all fields that are required by the RegisterTargetWithMaintenanceWindow operation are also required for this API request. Optional fields that aren't specified are set to null.- Parameters:
replace- IfTrue, then all fields that are required by the RegisterTargetWithMaintenanceWindow operation are also required for this API request. Optional fields that aren't specified are set to null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateMaintenanceWindowTargetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateMaintenanceWindowTargetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-