Interface ListAssociationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAssociationsResponse.Builder,
,ListAssociationsResponse> SdkBuilder<ListAssociationsResponse.Builder,
,ListAssociationsResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
ListAssociationsResponse
public static interface ListAssociationsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListAssociationsResponse.Builder,ListAssociationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociations
(Collection<Association> associations) The associations.associations
(Consumer<Association.Builder>... associations) The associations.associations
(Association... associations) The associations.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
-
associations
The associations.
- Parameters:
associations
- The associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
The associations.
- Parameters:
associations
- The associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
The associations.
This is a convenience method that creates an instance of theAssociation.Builder
avoiding the need to create one manually viaAssociation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociations(List<Association>)
.- Parameters:
associations
- a consumer that will call methods onAssociation.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.
-