public static interface ListProtectedResourcesResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListProtectedResourcesResponse.Builder,ListProtectedResourcesResponse>
| Modifier and Type | Method and Description |
|---|---|
ListProtectedResourcesResponse.Builder |
nextToken(String nextToken)
The next item following a partial list of returned items.
|
ListProtectedResourcesResponse.Builder |
results(Collection<ProtectedResource> results)
An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon
Resource Name (ARN) of the resource, and a resource type.
|
ListProtectedResourcesResponse.Builder |
results(Consumer<ProtectedResource.Builder>... results)
An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon
Resource Name (ARN) of the resource, and a resource type.
|
ListProtectedResourcesResponse.Builder |
results(ProtectedResource... results)
An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon
Resource Name (ARN) of the resource, and a resource type.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListProtectedResourcesResponse.Builder results(Collection<ProtectedResource> results)
An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
results - An array of resources successfully backed up by Backup including the time the resource was saved, an
Amazon Resource Name (ARN) of the resource, and a resource type.ListProtectedResourcesResponse.Builder results(ProtectedResource... results)
An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
results - An array of resources successfully backed up by Backup including the time the resource was saved, an
Amazon Resource Name (ARN) of the resource, and a resource type.ListProtectedResourcesResponse.Builder results(Consumer<ProtectedResource.Builder>... results)
An array of resources successfully backed up by Backup including the time the resource was saved, an Amazon Resource Name (ARN) of the resource, and a resource type.
This is a convenience method that creates an instance of theProtectedResource.Builder avoiding the need to create
one manually via ProtectedResource.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #results(List.
results - a consumer that will call methods on
ProtectedResource.Builder#results(java.util.Collection) ListProtectedResourcesResponse.Builder nextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return
maxResults number of items, NextToken allows you to return more items in your list
starting at the location pointed to by the next token.
nextToken - The next item following a partial list of returned items. For example, if a request is made to return
maxResults number of items, NextToken allows you to return more items in
your list starting at the location pointed to by the next token.Copyright © 2023. All rights reserved.