public static interface ListAssociationsResponse.Builder extends SSMResponse.Builder, CopyableBuilder<ListAssociationsResponse.Builder,ListAssociationsResponse>
Modifier and Type | Method and Description |
---|---|
ListAssociationsResponse.Builder |
associations(Association... associations)
The associations.
|
ListAssociationsResponse.Builder |
associations(Collection<Association> associations)
The associations.
|
ListAssociationsResponse.Builder |
associations(Consumer<Association.Builder>... associations)
The associations.
|
ListAssociationsResponse.Builder |
nextToken(String nextToken)
The token to use when requesting the next set of items.
|
build
sdkHttpResponse, sdkHttpResponse
copy
apply, build
ListAssociationsResponse.Builder associations(Collection<Association> associations)
The associations.
associations
- The associations.ListAssociationsResponse.Builder associations(Association... associations)
The associations.
associations
- The associations.ListAssociationsResponse.Builder associations(Consumer<Association.Builder>... associations)
The associations.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #associations(List)
.associations
- a consumer that will call methods on List.Builder
#associations(List)
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.
nextToken
- The token to use when requesting the next set of items. If there are no additional items to return,
the string is empty.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.