Interface ModifyBackupAttributesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CloudHsmV2Request.Builder,CopyableBuilder<ModifyBackupAttributesRequest.Builder,,ModifyBackupAttributesRequest> SdkBuilder<ModifyBackupAttributesRequest.Builder,,ModifyBackupAttributesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
ModifyBackupAttributesRequest
public static interface ModifyBackupAttributesRequest.Builder
extends CloudHsmV2Request.Builder, SdkPojo, CopyableBuilder<ModifyBackupAttributesRequest.Builder,ModifyBackupAttributesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe identifier (ID) of the backup to modify.neverExpires(Boolean neverExpires) Specifies whether the service should exempt a backup from the retention policy for the cluster.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.cloudhsmv2.model.CloudHsmV2Request.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
-
backupId
The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.
- Parameters:
backupId- The identifier (ID) of the backup to modify. To find the ID of a backup, use the DescribeBackups operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neverExpires
Specifies whether the service should exempt a backup from the retention policy for the cluster.
Trueexempts a backup from the retention policy.Falsemeans the service applies the backup retention policy defined at the cluster.- Parameters:
neverExpires- Specifies whether the service should exempt a backup from the retention policy for the cluster.Trueexempts a backup from the retention policy.Falsemeans the service applies the backup retention policy defined at the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ModifyBackupAttributesRequest.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
ModifyBackupAttributesRequest.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.
-