public static interface DescribeBackupsResponse.Builder extends OpsWorksCmResponse.Builder, CopyableBuilder<DescribeBackupsResponse.Builder,DescribeBackupsResponse>
Modifier and Type | Method and Description |
---|---|
DescribeBackupsResponse.Builder |
backups(Backup... backups)
Contains the response to a
DescribeBackups request. |
DescribeBackupsResponse.Builder |
backups(Collection<Backup> backups)
Contains the response to a
DescribeBackups request. |
DescribeBackupsResponse.Builder |
backups(Consumer<Backup.Builder>... backups)
Contains the response to a
DescribeBackups request. |
DescribeBackupsResponse.Builder |
nextToken(String nextToken)
NextToken is a string that is returned in some command responses.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
DescribeBackupsResponse.Builder backups(Collection<Backup> backups)
Contains the response to a DescribeBackups
request.
backups
- Contains the response to a DescribeBackups
request.DescribeBackupsResponse.Builder backups(Backup... backups)
Contains the response to a DescribeBackups
request.
backups
- Contains the response to a DescribeBackups
request.DescribeBackupsResponse.Builder backups(Consumer<Backup.Builder>... backups)
Contains the response to a DescribeBackups
request.
List.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 #backups(List)
.backups
- a consumer that will call methods on List.Builder
#backups(List)
DescribeBackupsResponse.Builder nextToken(String nextToken)
NextToken is a string that is returned in some command responses. It indicates that not all entries have been
returned, and that you must run at least one more request to get remaining items. To get remaining results,
call DescribeBackups
again, and assign the token from the previous results as the value of the
nextToken
parameter. If there are no more results, the response object's nextToken
parameter value is null
. Setting a nextToken
value that was not returned in your
previous results causes an InvalidNextTokenException
to occur.
nextToken
- NextToken is a string that is returned in some command responses. It indicates that not all entries
have been returned, and that you must run at least one more request to get remaining items. To get
remaining results, call DescribeBackups
again, and assign the token from the previous
results as the value of the nextToken
parameter. If there are no more results, the
response object's nextToken
parameter value is null
. Setting a
nextToken
value that was not returned in your previous results causes an
InvalidNextTokenException
to occur.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.