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
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
-
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.
True
exempts a backup from the retention policy.False
means 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.True
exempts a backup from the retention policy.False
means 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.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
ModifyBackupAttributesRequest.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.
-