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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeInstancePatchStatesResponse.Builder
instancePatchStates(Collection<InstancePatchState> instancePatchStates)
The high-level patch state for the requested managed nodes.DescribeInstancePatchStatesResponse.Builder
instancePatchStates(Consumer<InstancePatchState.Builder>... instancePatchStates)
The high-level patch state for the requested managed nodes.DescribeInstancePatchStatesResponse.Builder
instancePatchStates(InstancePatchState... instancePatchStates)
The high-level patch state for the requested managed nodes.DescribeInstancePatchStatesResponse.Builder
nextToken(String nextToken)
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, sdkFieldNameToField, 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 Detail
-
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 to#instancePatchStates(List
.) - 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:
#instancePatchStates(java.util.Collection
)
-
nextToken
DescribeInstancePatchStatesResponse.Builder nextToken(String 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.
-
-