Interface ListProtectedResourcesByBackupVaultResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListProtectedResourcesByBackupVaultResponse.Builder,,ListProtectedResourcesByBackupVaultResponse> SdkBuilder<ListProtectedResourcesByBackupVaultResponse.Builder,,ListProtectedResourcesByBackupVaultResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListProtectedResourcesByBackupVaultResponse
@Mutable
@NotThreadSafe
public static interface ListProtectedResourcesByBackupVaultResponse.Builder
extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListProtectedResourcesByBackupVaultResponse.Builder,ListProtectedResourcesByBackupVaultResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe next item following a partial list of returned items.results(Collection<ProtectedResource> results) These are the results returned for the request ListProtectedResourcesByBackupVault.results(Consumer<ProtectedResource.Builder>... results) These are the results returned for the request ListProtectedResourcesByBackupVault.results(ProtectedResource... results) These are the results returned for the request ListProtectedResourcesByBackupVault.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
results
These are the results returned for the request ListProtectedResourcesByBackupVault.
- Parameters:
results- These are the results returned for the request ListProtectedResourcesByBackupVault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
These are the results returned for the request ListProtectedResourcesByBackupVault.
- Parameters:
results- These are the results returned for the request ListProtectedResourcesByBackupVault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
results
ListProtectedResourcesByBackupVaultResponse.Builder results(Consumer<ProtectedResource.Builder>... results) These are the results returned for the request ListProtectedResourcesByBackupVault.
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 toresults(List<ProtectedResource>).- 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:
-
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.
-