Interface CopyBackupToRegionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudHsmV2Response.Builder,CopyableBuilder<CopyBackupToRegionResponse.Builder,CopyBackupToRegionResponse>,SdkBuilder<CopyBackupToRegionResponse.Builder,CopyBackupToRegionResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CopyBackupToRegionResponse
public static interface CopyBackupToRegionResponse.Builder extends CloudHsmV2Response.Builder, SdkPojo, CopyableBuilder<CopyBackupToRegionResponse.Builder,CopyBackupToRegionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CopyBackupToRegionResponse.BuilderdestinationBackup(Consumer<DestinationBackup.Builder> destinationBackup)Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region.CopyBackupToRegionResponse.BuilderdestinationBackup(DestinationBackup destinationBackup)Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region.-
Methods inherited from interface software.amazon.awssdk.services.cloudhsmv2.model.CloudHsmV2Response.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
destinationBackup
CopyBackupToRegionResponse.Builder destinationBackup(DestinationBackup destinationBackup)
Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. CreateTimestamp of the destination backup will be the same as that of the source backup.
You will need to use the
sourceBackupIDreturned in this operation to use the DescribeBackups operation on the backup that will be copied to the destination region.- Parameters:
destinationBackup- Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. CreateTimestamp of the destination backup will be the same as that of the source backup.You will need to use the
sourceBackupIDreturned in this operation to use the DescribeBackups operation on 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.
-
destinationBackup
default CopyBackupToRegionResponse.Builder destinationBackup(Consumer<DestinationBackup.Builder> destinationBackup)
Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. CreateTimestamp of the destination backup will be the same as that of the source backup.
You will need to use the
This is a convenience method that creates an instance of thesourceBackupIDreturned in this operation to use the DescribeBackups operation on the backup that will be copied to the destination region.DestinationBackup.Builderavoiding the need to create one manually viaDestinationBackup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todestinationBackup(DestinationBackup).- Parameters:
destinationBackup- a consumer that will call methods onDestinationBackup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
destinationBackup(DestinationBackup)
-
-