CopyableBuilder<ListAssociationsResponse.Builder,ListAssociationsResponse>
, SdkBuilder<ListAssociationsResponse.Builder,ListAssociationsResponse>
public static interface ListAssociationsResponse.Builder extends CopyableBuilder<ListAssociationsResponse.Builder,ListAssociationsResponse>
Modifier and Type | Method | Description |
---|---|---|
ListAssociationsResponse.Builder |
associations(Collection<Association> associations) |
The associations.
|
ListAssociationsResponse.Builder |
associations(Association... associations) |
The associations.
|
ListAssociationsResponse.Builder |
nextToken(String nextToken) |
The token to use when requesting the next set of items.
|
copy
apply, build
ListAssociationsResponse.Builder associations(Collection<Association> associations)
The associations.
associations
- The associations.ListAssociationsResponse.Builder associations(Association... associations)
The associations.
NOTE: This method appends the values to the existing list (if any). Use
#setAssociations(java.util.Collection)
or #withAssociations(java.util.Collection)
if you want
to override the existing values.
associations
- The associations.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.