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

com.aliyun.sdk.service.polardb20170801.models.DescribeParameterGroupResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.polardb20170801.models;

import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * 
 * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel}
 *
 * 

DescribeParameterGroupResponseBody

*/ public class DescribeParameterGroupResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParameterGroup") private java.util.List parameterGroup; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; private DescribeParameterGroupResponseBody(Builder builder) { this.parameterGroup = builder.parameterGroup; this.requestId = builder.requestId; } public static Builder builder() { return new Builder(); } public static DescribeParameterGroupResponseBody create() { return builder().build(); } /** * @return parameterGroup */ public java.util.List getParameterGroup() { return this.parameterGroup; } /** * @return requestId */ public String getRequestId() { return this.requestId; } public static final class Builder { private java.util.List parameterGroup; private String requestId; /** *

Details about the parameter templates.

*/ public Builder parameterGroup(java.util.List parameterGroup) { this.parameterGroup = parameterGroup; return this; } /** *

The ID of the request.

* * example: *

F1F16757-D31B-49CA-9BF4-305BAF******

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } public DescribeParameterGroupResponseBody build() { return new DescribeParameterGroupResponseBody(this); } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * *

DescribeParameterGroupResponseBody

*/ public static class ParameterDetail extends TeaModel { @com.aliyun.core.annotation.NameInMap("ParamName") private String paramName; @com.aliyun.core.annotation.NameInMap("ParamValue") private String paramValue; private ParameterDetail(Builder builder) { this.paramName = builder.paramName; this.paramValue = builder.paramValue; } public static Builder builder() { return new Builder(); } public static ParameterDetail create() { return builder().build(); } /** * @return paramName */ public String getParamName() { return this.paramName; } /** * @return paramValue */ public String getParamValue() { return this.paramValue; } public static final class Builder { private String paramName; private String paramValue; /** *

The name of the parameter.

* * example: *

back_log

*/ public Builder paramName(String paramName) { this.paramName = paramName; return this; } /** *

The value of the parameter.

* * example: *

3000

*/ public Builder paramValue(String paramValue) { this.paramValue = paramValue; return this; } public ParameterDetail build() { return new ParameterDetail(this); } } } /** * * {@link DescribeParameterGroupResponseBody} extends {@link TeaModel} * *

DescribeParameterGroupResponseBody

*/ public static class ParameterGroup extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreateTime") private String createTime; @com.aliyun.core.annotation.NameInMap("DBType") private String DBType; @com.aliyun.core.annotation.NameInMap("DBVersion") private String DBVersion; @com.aliyun.core.annotation.NameInMap("ForceRestart") private String forceRestart; @com.aliyun.core.annotation.NameInMap("ParameterCounts") private Integer parameterCounts; @com.aliyun.core.annotation.NameInMap("ParameterDetail") private java.util.List parameterDetail; @com.aliyun.core.annotation.NameInMap("ParameterGroupDesc") private String parameterGroupDesc; @com.aliyun.core.annotation.NameInMap("ParameterGroupId") private String parameterGroupId; @com.aliyun.core.annotation.NameInMap("ParameterGroupName") private String parameterGroupName; @com.aliyun.core.annotation.NameInMap("ParameterGroupType") private String parameterGroupType; private ParameterGroup(Builder builder) { this.createTime = builder.createTime; this.DBType = builder.DBType; this.DBVersion = builder.DBVersion; this.forceRestart = builder.forceRestart; this.parameterCounts = builder.parameterCounts; this.parameterDetail = builder.parameterDetail; this.parameterGroupDesc = builder.parameterGroupDesc; this.parameterGroupId = builder.parameterGroupId; this.parameterGroupName = builder.parameterGroupName; this.parameterGroupType = builder.parameterGroupType; } public static Builder builder() { return new Builder(); } public static ParameterGroup create() { return builder().build(); } /** * @return createTime */ public String getCreateTime() { return this.createTime; } /** * @return DBType */ public String getDBType() { return this.DBType; } /** * @return DBVersion */ public String getDBVersion() { return this.DBVersion; } /** * @return forceRestart */ public String getForceRestart() { return this.forceRestart; } /** * @return parameterCounts */ public Integer getParameterCounts() { return this.parameterCounts; } /** * @return parameterDetail */ public java.util.List getParameterDetail() { return this.parameterDetail; } /** * @return parameterGroupDesc */ public String getParameterGroupDesc() { return this.parameterGroupDesc; } /** * @return parameterGroupId */ public String getParameterGroupId() { return this.parameterGroupId; } /** * @return parameterGroupName */ public String getParameterGroupName() { return this.parameterGroupName; } /** * @return parameterGroupType */ public String getParameterGroupType() { return this.parameterGroupType; } public static final class Builder { private String createTime; private String DBType; private String DBVersion; private String forceRestart; private Integer parameterCounts; private java.util.List parameterDetail; private String parameterGroupDesc; private String parameterGroupId; private String parameterGroupName; private String parameterGroupType; /** *

The time when the parameter template was created. The time is in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.

* * example: *

2023-03-10T08:40:39Z

*/ public Builder createTime(String createTime) { this.createTime = createTime; return this; } /** *

The type of the database engine.

* * example: *

MySQL

*/ public Builder DBType(String DBType) { this.DBType = DBType; return this; } /** *

The version of the database engine.

* * example: *

8.0

*/ public Builder DBVersion(String DBVersion) { this.DBVersion = DBVersion; return this; } /** *

Indicates whether to restart the cluster when this parameter template is applied. Valid values:

*
    *
  • 0: A restart is not required.
  • *
  • 1: A restart is required.
  • *
* * example: *

1

*/ public Builder forceRestart(String forceRestart) { this.forceRestart = forceRestart; return this; } /** *

The number of parameters in the parameter template.

* * example: *

2

*/ public Builder parameterCounts(Integer parameterCounts) { this.parameterCounts = parameterCounts; return this; } /** *

Details about the parameters.

*/ public Builder parameterDetail(java.util.List parameterDetail) { this.parameterDetail = parameterDetail; return this; } /** *

The description of the parameter template.

* * example: *

testgroup

*/ public Builder parameterGroupDesc(String parameterGroupDesc) { this.parameterGroupDesc = parameterGroupDesc; return this; } /** *

The ID of the parameter template.

* * example: *

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

*/ public Builder parameterGroupId(String parameterGroupId) { this.parameterGroupId = parameterGroupId; return this; } /** *

The name of the parameter template.

* * example: *

test

*/ public Builder parameterGroupName(String parameterGroupName) { this.parameterGroupName = parameterGroupName; return this; } /** *

The type of the parameter template. Valid values:

*
    *
  • 0: the default parameter template.
  • *
  • 1: a custom parameter template.
  • *
  • 2: an automatic backup parameter template. After you apply this type of template, the system automatically backs up the original parameter settings and saves the backup as a template.
  • *
* * example: *

1

*/ public Builder parameterGroupType(String parameterGroupType) { this.parameterGroupType = parameterGroupType; return this; } public ParameterGroup build() { return new ParameterGroup(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy