Interface ListProtectedResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListProtectedResourcesResponse.Builder,ListProtectedResourcesResponse>,SdkBuilder<ListProtectedResourcesResponse.Builder,ListProtectedResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListProtectedResourcesResponse
public static interface ListProtectedResourcesResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListProtectedResourcesResponse.Builder,ListProtectedResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListProtectedResourcesResponse.BuildernextToken(String nextToken)The next item following a partial list of returned items.ListProtectedResourcesResponse.Builderresults(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.Builderresults(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.Builderresults(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.-
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadata
-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
results
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
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.Builderavoiding the need to create one manually viaProtectedResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#results(List.) - Parameters:
results- a consumer that will call methods onProtectedResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#results(java.util.Collection)
-
nextToken
ListProtectedResourcesResponse.Builder nextToken(String nextToken)
The next item following a partial list of returned items. For example, if a request is made to return
MaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Parameters:
nextToken- The next item following a partial list of returned items. For example, if a request is made to returnMaxResultsnumber of items,NextTokenallows you to return more items in your list starting at the location pointed to by the next token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-