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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssociationsResponse.Builderassociations(Collection<Association> associations)The associations.ListAssociationsResponse.Builderassociations(Consumer<Association.Builder>... associations)The associations.ListAssociationsResponse.Builderassociations(Association... associations)The associations.ListAssociationsResponse.BuildernextToken(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
-
associations
ListAssociationsResponse.Builder associations(Collection<Association> associations)
The associations.
- Parameters:
associations- The associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
ListAssociationsResponse.Builder associations(Association... associations)
The associations.
- Parameters:
associations- The associations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associations
ListAssociationsResponse.Builder associations(Consumer<Association.Builder>... associations)
The associations.
This is a convenience method that creates an instance of theAssociation.Builderavoiding the need to create one manually viaAssociation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associations(List.) - 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:
#associations(java.util.Collection)
-
nextToken
ListAssociationsResponse.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.
-
-