Interface CopyBackupToRegionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudHsmV2Request.Builder
,CopyableBuilder<CopyBackupToRegionRequest.Builder,
,CopyBackupToRegionRequest> SdkBuilder<CopyBackupToRegionRequest.Builder,
,CopyBackupToRegionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CopyBackupToRegionRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe ID of the backup that will be copied to the destination region.destinationRegion
(String destinationRegion) The AWS region that will contain your copied CloudHSM cluster backup.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tagList
(Collection<Tag> tagList) Tags to apply to the destination backup during creation.tagList
(Consumer<Tag.Builder>... tagList) Tags to apply to the destination backup during creation.Tags to apply to the destination backup during creation.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudhsmv2.model.CloudHsmV2Request.Builder
build
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
-
Method Details
-
destinationRegion
The AWS region that will contain your copied CloudHSM cluster backup.
- Parameters:
destinationRegion
- The AWS region that will contain your copied CloudHSM cluster backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupId
The ID of the backup that will be copied to the destination region.
- Parameters:
backupId
- The ID of the backup that will be copied to the destination region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
- Parameters:
tagList
- Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
- Parameters:
tagList
- Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagList(List<Tag>)
.- Parameters:
tagList
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CopyBackupToRegionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CopyBackupToRegionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-