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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAssociationVersionsResponse.BuilderassociationVersions(Collection<AssociationVersionInfo> associationVersions)Information about all versions of the association for the specified association ID.ListAssociationVersionsResponse.BuilderassociationVersions(Consumer<AssociationVersionInfo.Builder>... associationVersions)Information about all versions of the association for the specified association ID.ListAssociationVersionsResponse.BuilderassociationVersions(AssociationVersionInfo... associationVersions)Information about all versions of the association for the specified association ID.ListAssociationVersionsResponse.BuildernextToken(String nextToken)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, 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
-
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.Builderavoiding the need to create one manually viaAssociationVersionInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associationVersions(List.) - 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:
#associationVersions(java.util.Collection)
-
nextToken
ListAssociationVersionsResponse.Builder nextToken(String 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.
-
-