public static final class ModifyDBClusterParametersRequest.Builder extends Object
public ModifyDBClusterParametersRequest.Builder DBClusterId(String DBClusterId)
> You can call the [DescribeDBClusters](~~98094~~) operation to query information about all clusters that are deployed in a specified region, such as the cluster ID.
public ModifyDBClusterParametersRequest.Builder fromTimeService(Boolean fromTimeService)
* false: scheduled task * true: immediate task
public ModifyDBClusterParametersRequest.Builder ownerAccount(String ownerAccount)
public ModifyDBClusterParametersRequest.Builder ownerId(Long ownerId)
public ModifyDBClusterParametersRequest.Builder parameterGroupId(String parameterGroupId)
> * You can call the [DescribeParameterGroups](~~207178~~) operation to query the parameter template ID. * You must specify this parameter or the `Parameters` parameter. * This parameter is valid only for a PolarDB for MySQL cluster.
public ModifyDBClusterParametersRequest.Builder parameters(String parameters)
> * You can call the [DescribeDBClusterParameters](~~98122~~) operation to query the parameters of the PolarDB cluster. * This parameter is required for a PolarDB for Oracle or PolarDB for PostgreSQL cluster. * For PolarDB for MySQL clusters, you must specify this parameter or the `ParameterGroupId` parameter.
public ModifyDBClusterParametersRequest.Builder plannedEndTime(String plannedEndTime)
> * The value of this parameter must be at least 30 minutes later than the value of the PlannedStartTime parameter. * By default, if you specify the `PlannedStartTime` parameter but do not specify the PlannedEndTime parameter, the latest start time of the task is set to a value that is calculated by using the following formula: `Value of the PlannedEndTime parameter + 30 minutes`. For example, if you set the `PlannedStartTime` parameter to `2021-01-14T09:00:00Z` and you do not specify the PlannedEndTime parameter, the latest start time of the task is set to `2021-01-14T09:30:00Z`.
public ModifyDBClusterParametersRequest.Builder plannedStartTime(String plannedStartTime)
> * The earliest start time of the task can be a point in time within the next 24 hours. For example, if the current time is `2021-01-14T09:00:00Z`, you can specify a point in the time range from `2021-01-14T09:00:00Z` to `2021-01-15T09:00:00Z`. * If this parameter is empty, the upgrade task is immediately performed.
public ModifyDBClusterParametersRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public ModifyDBClusterParametersRequest.Builder resourceOwnerId(Long resourceOwnerId)
public ModifyDBClusterParametersRequest build()
Copyright © 2024. All rights reserved.