Interface CopyBackupToRegionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudHsmV2Request.Builder
,CopyableBuilder<CopyBackupToRegionRequest.Builder,CopyBackupToRegionRequest>
,SdkBuilder<CopyBackupToRegionRequest.Builder,CopyBackupToRegionRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CopyBackupToRegionRequest
public static interface CopyBackupToRegionRequest.Builder extends CloudHsmV2Request.Builder, SdkPojo, CopyableBuilder<CopyBackupToRegionRequest.Builder,CopyBackupToRegionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CopyBackupToRegionRequest.Builder
backupId(String backupId)
The ID of the backup that will be copied to the destination region.CopyBackupToRegionRequest.Builder
destinationRegion(String destinationRegion)
The AWS region that will contain your copied CloudHSM cluster backup.CopyBackupToRegionRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CopyBackupToRegionRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CopyBackupToRegionRequest.Builder
tagList(Collection<Tag> tagList)
Tags to apply to the destination backup during creation.CopyBackupToRegionRequest.Builder
tagList(Consumer<Tag.Builder>... tagList)
Tags to apply to the destination backup during creation.CopyBackupToRegionRequest.Builder
tagList(Tag... tagList)
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
destinationRegion
CopyBackupToRegionRequest.Builder destinationRegion(String 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
CopyBackupToRegionRequest.Builder backupId(String 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
CopyBackupToRegionRequest.Builder tagList(Collection<Tag> 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
CopyBackupToRegionRequest.Builder tagList(Tag... 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
CopyBackupToRegionRequest.Builder tagList(Consumer<Tag.Builder>... 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 to#tagList(List
.) - 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:
#tagList(java.util.Collection
)
-
overrideConfiguration
CopyBackupToRegionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CopyBackupToRegionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-