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

com.aliyun.polardb20170801.models.ModifyDBClusterAndNodesParametersRequest 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 ModifyDBClusterAndNodesParametersRequest extends TeaModel {
    /**
     * 

The cluster ID.

*

This parameter is required.

* * example: *

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

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

The node ID. You can set this parameter to modify the parameters of a specified node or of the cluster. Separate multiple node IDs with commas (,).

*
*

If you do not specify this parameter, only the cluster parameters are modified.

*
* * example: *

pi-****************,pi-**********,

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

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

*
    *
  • false: runs the kernel upgrade task in a scheduled manner.
  • *
  • true: immediately runs the kernel upgrade task.
  • *
* * example: *

false

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

The ID of the parameter template that is used for the instance.

* * example: *

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

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

The JSON string for the parameter and its value.

* * 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: *

2021-01-14T09: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: *

2021-01-14T09:00:00Z

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy