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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ModifyBackupAttributesRequest.BuilderbackupId(String backupId)The identifier (ID) of the backup to modify.ModifyBackupAttributesRequest.BuilderneverExpires(Boolean neverExpires)Specifies whether the service should exempt a backup from the retention policy for the cluster.ModifyBackupAttributesRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ModifyBackupAttributesRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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
-
backupId
ModifyBackupAttributesRequest.Builder backupId(String 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
ModifyBackupAttributesRequest.Builder neverExpires(Boolean 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ModifyBackupAttributesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-