public static final class ModifyLogBackupPolicyRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ModifyLogBackupPolicyRequest |
build() |
ModifyLogBackupPolicyRequest.Builder |
DBClusterId(String DBClusterId)
The cluster ID.
|
ModifyLogBackupPolicyRequest.Builder |
logBackupAnotherRegionRegion(String logBackupAnotherRegionRegion)
The region in which you want to store cross-region log backups.
|
ModifyLogBackupPolicyRequest.Builder |
logBackupAnotherRegionRetentionPeriod(String logBackupAnotherRegionRetentionPeriod)
The retention period of cross-region log backups.
|
ModifyLogBackupPolicyRequest.Builder |
logBackupRetentionPeriod(String logBackupRetentionPeriod)
The retention period of the log backups.
|
ModifyLogBackupPolicyRequest.Builder |
ownerAccount(String ownerAccount)
OwnerAccount.
|
ModifyLogBackupPolicyRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
ModifyLogBackupPolicyRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
ModifyLogBackupPolicyRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
public ModifyLogBackupPolicyRequest.Builder DBClusterId(String DBClusterId)
> You can call the [DescribeDBClusters](~~98094~~) operation to query the information of all clusters that are deployed in a specific region, such as the cluster IDs.
public ModifyLogBackupPolicyRequest.Builder logBackupAnotherRegionRegion(String logBackupAnotherRegionRegion)
public ModifyLogBackupPolicyRequest.Builder logBackupAnotherRegionRetentionPeriod(String logBackupAnotherRegionRetentionPeriod)
* **0**: The cross-region backup feature is disabled. * **30 to 7300**: Cross-region log backups are retained for 30 to 7,300 days. * **-1**: The log backups are permanently retained. > When you create a cluster, the default value of this parameter is **0**.
public ModifyLogBackupPolicyRequest.Builder logBackupRetentionPeriod(String logBackupRetentionPeriod)
* 3 to 7300: The log backups are retained for 3 to 7,300 days. * \-1: The log backups are permanently retained.
public ModifyLogBackupPolicyRequest.Builder ownerAccount(String ownerAccount)
public ModifyLogBackupPolicyRequest.Builder ownerId(Long ownerId)
public ModifyLogBackupPolicyRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyLogBackupPolicyRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyLogBackupPolicyRequest build()
Copyright © 2024. All rights reserved.