All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.polardb20170801.models.ModifyDBClusterParametersRequest Maven / Gradle / Ivy

There is a newer version: 5.2.2
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.polardb20170801.models;

import com.aliyun.tea.*;

public class ModifyDBClusterParametersRequest extends TeaModel {
    /**
     * 

The ID of the cluster.

*
*

You can call the DescribeDBClusters operation to query information about all clusters that are deployed in a specified region, such as the cluster ID.

*
*

This parameter is required.

* * example: *

pc-**************

*/ @NameInMap("DBClusterId") public String DBClusterId; /** *

Specifies an immediate or scheduled task to modify parameters and restart the cluster. Valid values:

*
    *
  • false: scheduled task
  • *
  • true: immediate task
  • *
* * example: *

false

*/ @NameInMap("FromTimeService") public Boolean fromTimeService; @NameInMap("OwnerAccount") public String ownerAccount; @NameInMap("OwnerId") public Long ownerId; /** *

The ID of the parameter template.

*
*
*
    *
  • You can call the DescribeParameterGroups 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.

    *
  • *
* * example: *

pcpg-**************

*/ @NameInMap("ParameterGroupId") public String parameterGroupId; /** *

The JSON string that consists of parameters and values. The parameter values are strings, for example, {"wait_timeout":"86","innodb_old_blocks_time":"10"}.

*
*
*
    *
  • You can call the DescribeDBClusterParameters 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.

    *
  • *
* * example: *

{"wait_timeout":"86","innodb_old_blocks_time":"10"}

*/ @NameInMap("Parameters") public String parameters; /** *

The latest start time to run the task. Specify the time in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC.

*
*
*
    *
  • 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.

    *
  • *
* * example: *

2022-04-28T14:30:00Z

*/ @NameInMap("PlannedEndTime") public String plannedEndTime; /** *

The earliest time to upgrade the specifications within the scheduled time period. Specify the time in the YYYY-MM-DDThh:mm:ssZ format. The time must be in UTC.

*
*
*
    *
  • 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.

    *
  • *
* * example: *

2022-04-28T14:00:00Z

*/ @NameInMap("PlannedStartTime") public String plannedStartTime; @NameInMap("ResourceOwnerAccount") public String resourceOwnerAccount; @NameInMap("ResourceOwnerId") public Long resourceOwnerId; public static ModifyDBClusterParametersRequest build(java.util.Map map) throws Exception { ModifyDBClusterParametersRequest self = new ModifyDBClusterParametersRequest(); return TeaModel.build(map, self); } public ModifyDBClusterParametersRequest setDBClusterId(String DBClusterId) { this.DBClusterId = DBClusterId; return this; } public String getDBClusterId() { return this.DBClusterId; } public ModifyDBClusterParametersRequest setFromTimeService(Boolean fromTimeService) { this.fromTimeService = fromTimeService; return this; } public Boolean getFromTimeService() { return this.fromTimeService; } public ModifyDBClusterParametersRequest setOwnerAccount(String ownerAccount) { this.ownerAccount = ownerAccount; return this; } public String getOwnerAccount() { return this.ownerAccount; } public ModifyDBClusterParametersRequest setOwnerId(Long ownerId) { this.ownerId = ownerId; return this; } public Long getOwnerId() { return this.ownerId; } public ModifyDBClusterParametersRequest setParameterGroupId(String parameterGroupId) { this.parameterGroupId = parameterGroupId; return this; } public String getParameterGroupId() { return this.parameterGroupId; } public ModifyDBClusterParametersRequest setParameters(String parameters) { this.parameters = parameters; return this; } public String getParameters() { return this.parameters; } public ModifyDBClusterParametersRequest setPlannedEndTime(String plannedEndTime) { this.plannedEndTime = plannedEndTime; return this; } public String getPlannedEndTime() { return this.plannedEndTime; } public ModifyDBClusterParametersRequest setPlannedStartTime(String plannedStartTime) { this.plannedStartTime = plannedStartTime; return this; } public String getPlannedStartTime() { return this.plannedStartTime; } public ModifyDBClusterParametersRequest setResourceOwnerAccount(String resourceOwnerAccount) { this.resourceOwnerAccount = resourceOwnerAccount; return this; } public String getResourceOwnerAccount() { return this.resourceOwnerAccount; } public ModifyDBClusterParametersRequest setResourceOwnerId(Long resourceOwnerId) { this.resourceOwnerId = resourceOwnerId; return this; } public Long getResourceOwnerId() { return this.resourceOwnerId; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy