Interface CreateLogicallyAirGappedBackupVaultRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<CreateLogicallyAirGappedBackupVaultRequest.Builder,,CreateLogicallyAirGappedBackupVaultRequest> SdkBuilder<CreateLogicallyAirGappedBackupVaultRequest.Builder,,CreateLogicallyAirGappedBackupVaultRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateLogicallyAirGappedBackupVaultRequest
-
Method Summary
Modifier and TypeMethodDescriptionbackupVaultName(String backupVaultName) This is the name of the vault that is being created.backupVaultTags(Map<String, String> backupVaultTags) These are the tags that will be included in the newly-created vault.creatorRequestId(String creatorRequestId) This is the ID of the creation request.maxRetentionDays(Long maxRetentionDays) This is the setting that specifies the maximum retention period that the vault retains its recovery points.minRetentionDays(Long minRetentionDays) This setting specifies the minimum retention period that the vault retains its recovery points.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
backupVaultName
This is the name of the vault that is being created.
- Parameters:
backupVaultName- This is the name of the vault that is being created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupVaultTags
CreateLogicallyAirGappedBackupVaultRequest.Builder backupVaultTags(Map<String, String> backupVaultTags) These are the tags that will be included in the newly-created vault.
- Parameters:
backupVaultTags- These are the tags that will be included in the newly-created vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creatorRequestId
This is the ID of the creation request.
This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Parameters:
creatorRequestId- This is the ID of the creation request.This parameter is optional. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minRetentionDays
This setting specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, no minimum retention period is enforced.
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
- Parameters:
minRetentionDays- This setting specifies the minimum retention period that the vault retains its recovery points. If this parameter is not specified, no minimum retention period is enforced.If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or longer than the minimum retention period. If a job retention period is shorter than that minimum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRetentionDays
This is the setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Backup does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).
If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
- Parameters:
maxRetentionDays- This is the setting that specifies the maximum retention period that the vault retains its recovery points. If this parameter is not specified, Backup does not enforce a maximum retention period on the recovery points in the vault (allowing indefinite storage).If specified, any backup or copy job to the vault must have a lifecycle policy with a retention period equal to or shorter than the maximum retention period. If the job retention period is longer than that maximum retention period, then the vault fails the backup or copy job, and you should either modify your lifecycle settings or use a different vault.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLogicallyAirGappedBackupVaultRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLogicallyAirGappedBackupVaultRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-