Interface UpdateMaintenanceWindowTargetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateMaintenanceWindowTargetResponse.Builder,,UpdateMaintenanceWindowTargetResponse> SdkBuilder<UpdateMaintenanceWindowTargetResponse.Builder,,UpdateMaintenanceWindowTargetResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
UpdateMaintenanceWindowTargetResponse
@Mutable
@NotThreadSafe
public static interface UpdateMaintenanceWindowTargetResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<UpdateMaintenanceWindowTargetResponse.Builder,UpdateMaintenanceWindowTargetResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) The updated description.The updated name.ownerInformation(String ownerInformation) The updated owner.targets(Collection<Target> targets) The updated targets.targets(Consumer<Target.Builder>... targets) The updated targets.The updated targets.The maintenance window ID specified in the update request.windowTargetId(String windowTargetId) The target ID specified in the update request.Methods 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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
windowId
The maintenance window ID specified in the update request.
- Parameters:
windowId- The maintenance window ID specified in the update request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
windowTargetId
The target ID specified in the update request.
- Parameters:
windowTargetId- The target ID specified in the update request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The updated targets.
- Parameters:
targets- The updated targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The updated targets.
- Parameters:
targets- The updated targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The updated targets.
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 totargets(List<Target>).- 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:
-
ownerInformation
The updated owner.
- Parameters:
ownerInformation- The updated owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The updated name.
- Parameters:
name- The updated name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The updated description.
- Parameters:
description- The updated description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-