Interface GetBackupSelectionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupResponse.Builder
,Buildable
,CopyableBuilder<GetBackupSelectionResponse.Builder,
,GetBackupSelectionResponse> SdkBuilder<GetBackupSelectionResponse.Builder,
,GetBackupSelectionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBackupSelectionResponse
-
Method Summary
Modifier and TypeMethodDescriptionbackupPlanId
(String backupPlanId) Uniquely identifies a backup plan.backupSelection
(Consumer<BackupSelection.Builder> backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.backupSelection
(BackupSelection backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.creationDate
(Instant creationDate) The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC).creatorRequestId
(String creatorRequestId) A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.selectionId
(String selectionId) Uniquely identifies the body of a request to assign a set of resources to a backup plan.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 Details
-
backupSelection
Specifies the body of a request to assign a set of resources to a backup plan.
- Parameters:
backupSelection
- Specifies the body of a request to assign a set of resources to a backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupSelection
default GetBackupSelectionResponse.Builder backupSelection(Consumer<BackupSelection.Builder> backupSelection) Specifies the body of a request to assign a set of resources to a backup plan.
This is a convenience method that creates an instance of theBackupSelection.Builder
avoiding the need to create one manually viaBackupSelection.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tobackupSelection(BackupSelection)
.- Parameters:
backupSelection
- a consumer that will call methods onBackupSelection.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
selectionId
Uniquely identifies the body of a request to assign a set of resources to a backup plan.
- Parameters:
selectionId
- Uniquely identifies the body of a request to assign a set of resources to a backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupPlanId
Uniquely identifies a backup plan.
- Parameters:
backupPlanId
- Uniquely identifies a backup plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDate
The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
creationDate
- The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value ofCreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creatorRequestId
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
- Parameters:
creatorRequestId
- A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-