Interface ListAssociationVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAssociationVersionsResponse.Builder,
,ListAssociationVersionsResponse> SdkBuilder<ListAssociationVersionsResponse.Builder,
,ListAssociationVersionsResponse> SdkPojo
,SdkResponse.Builder
,SsmResponse.Builder
- Enclosing class:
ListAssociationVersionsResponse
public static interface ListAssociationVersionsResponse.Builder
extends SsmResponse.Builder, SdkPojo, CopyableBuilder<ListAssociationVersionsResponse.Builder,ListAssociationVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociationVersions
(Collection<AssociationVersionInfo> associationVersions) Information about all versions of the association for the specified association ID.associationVersions
(Consumer<AssociationVersionInfo.Builder>... associationVersions) Information about all versions of the association for the specified association ID.associationVersions
(AssociationVersionInfo... associationVersions) Information about all versions of the association for the specified association ID.The token for the next set of items to return.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
-
associationVersions
ListAssociationVersionsResponse.Builder associationVersions(Collection<AssociationVersionInfo> associationVersions) Information about all versions of the association for the specified association ID.
- Parameters:
associationVersions
- Information about all versions of the association for the specified association ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationVersions
ListAssociationVersionsResponse.Builder associationVersions(AssociationVersionInfo... associationVersions) Information about all versions of the association for the specified association ID.
- Parameters:
associationVersions
- Information about all versions of the association for the specified association ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associationVersions
ListAssociationVersionsResponse.Builder associationVersions(Consumer<AssociationVersionInfo.Builder>... associationVersions) Information about all versions of the association for the specified association ID.
This is a convenience method that creates an instance of theAssociationVersionInfo.Builder
avoiding the need to create one manually viaAssociationVersionInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociationVersions(List<AssociationVersionInfo>)
.- Parameters:
associationVersions
- a consumer that will call methods onAssociationVersionInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of items to return. Use this token to get the next set of results.
- Parameters:
nextToken
- The token for the next set of items to return. Use this token to get the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-