Interface ListRecoveryPointsByResourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<ListRecoveryPointsByResourceResponse.Builder,ListRecoveryPointsByResourceResponse>,SdkBuilder<ListRecoveryPointsByResourceResponse.Builder,ListRecoveryPointsByResourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRecoveryPointsByResourceResponse
public static interface ListRecoveryPointsByResourceResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<ListRecoveryPointsByResourceResponse.Builder,ListRecoveryPointsByResourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRecoveryPointsByResourceResponse.BuildernextToken(String nextToken)The next item following a partial list of returned items.ListRecoveryPointsByResourceResponse.BuilderrecoveryPoints(Collection<RecoveryPointByResource> recoveryPoints)An array of objects that contain detailed information about recovery points of the specified resource type.ListRecoveryPointsByResourceResponse.BuilderrecoveryPoints(Consumer<RecoveryPointByResource.Builder>... recoveryPoints)An array of objects that contain detailed information about recovery points of the specified resource type.ListRecoveryPointsByResourceResponse.BuilderrecoveryPoints(RecoveryPointByResource... recoveryPoints)An array of objects that contain detailed information about recovery points of the specified 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
-
nextToken
ListRecoveryPointsByResourceResponse.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.
-
recoveryPoints
ListRecoveryPointsByResourceResponse.Builder recoveryPoints(Collection<RecoveryPointByResource> recoveryPoints)
An array of objects that contain detailed information about recovery points of the specified resource type.
Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName.
- Parameters:
recoveryPoints- An array of objects that contain detailed information about recovery points of the specified resource type.Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPoints
ListRecoveryPointsByResourceResponse.Builder recoveryPoints(RecoveryPointByResource... recoveryPoints)
An array of objects that contain detailed information about recovery points of the specified resource type.
Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName.
- Parameters:
recoveryPoints- An array of objects that contain detailed information about recovery points of the specified resource type.Only Amazon EFS and Amazon EC2 recovery points return BackupVaultName.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPoints
ListRecoveryPointsByResourceResponse.Builder recoveryPoints(Consumer<RecoveryPointByResource.Builder>... recoveryPoints)
An array of objects that contain detailed information about recovery points of the specified resource type.
This is a convenience method that creates an instance of theOnly Amazon EFS and Amazon EC2 recovery points return BackupVaultName.
RecoveryPointByResource.Builderavoiding the need to create one manually viaRecoveryPointByResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#recoveryPoints(List.) - Parameters:
recoveryPoints- a consumer that will call methods onRecoveryPointByResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#recoveryPoints(java.util.Collection)
-
-