Interface DescribeInstancePatchStatesForPatchGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeInstancePatchStatesForPatchGroupResponse.Builder,,DescribeInstancePatchStatesForPatchGroupResponse> SdkBuilder<DescribeInstancePatchStatesForPatchGroupResponse.Builder,,DescribeInstancePatchStatesForPatchGroupResponse> SdkPojo,SdkResponse.Builder,SsmResponse.Builder
- Enclosing class:
DescribeInstancePatchStatesForPatchGroupResponse
@Mutable
@NotThreadSafe
public static interface DescribeInstancePatchStatesForPatchGroupResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstancePatchStatesForPatchGroupResponse.Builder,DescribeInstancePatchStatesForPatchGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptioninstancePatchStates(Collection<InstancePatchState> instancePatchStates) The high-level patch state for the requested managed nodes.instancePatchStates(Consumer<InstancePatchState.Builder>... instancePatchStates) The high-level patch state for the requested managed nodes.instancePatchStates(InstancePatchState... instancePatchStates) The high-level patch state for the requested managed nodes.The token to use when requesting the next set of items.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
-
instancePatchStates
DescribeInstancePatchStatesForPatchGroupResponse.Builder instancePatchStates(Collection<InstancePatchState> instancePatchStates) The high-level patch state for the requested managed nodes.
- Parameters:
instancePatchStates- The high-level patch state for the requested managed nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancePatchStates
DescribeInstancePatchStatesForPatchGroupResponse.Builder instancePatchStates(InstancePatchState... instancePatchStates) The high-level patch state for the requested managed nodes.
- Parameters:
instancePatchStates- The high-level patch state for the requested managed nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instancePatchStates
DescribeInstancePatchStatesForPatchGroupResponse.Builder instancePatchStates(Consumer<InstancePatchState.Builder>... instancePatchStates) The high-level patch state for the requested managed nodes.
This is a convenience method that creates an instance of theInstancePatchState.Builderavoiding the need to create one manually viaInstancePatchState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstancePatchStates(List<InstancePatchState>).- Parameters:
instancePatchStates- a consumer that will call methods onInstancePatchState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
- Parameters:
nextToken- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-