Interface DescribeInstancePatchStatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInstancePatchStatesResponse.Builder,
,DescribeInstancePatchStatesResponse> SdkBuilder<DescribeInstancePatchStatesResponse.Builder,
,DescribeInstancePatchStatesResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
DescribeInstancePatchStatesResponse
public static interface DescribeInstancePatchStatesResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<DescribeInstancePatchStatesResponse.Builder,DescribeInstancePatchStatesResponse>
-
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.ssm.model.SsmResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
instancePatchStates
DescribeInstancePatchStatesResponse.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
DescribeInstancePatchStatesResponse.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
DescribeInstancePatchStatesResponse.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.Builder
avoiding the need to create one manually viaInstancePatchState.builder()
.When the
Consumer
completes,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.
-