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

com.aliyun.arms20190808.models.UpgradeAddonReleaseRequest Maven / Gradle / Ivy

// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;

import com.aliyun.tea.*;

public class UpgradeAddonReleaseRequest extends TeaModel {
    /**
     * 

The version of the add-on.

*

This parameter is required.

* * example: *

0.0.2

*/ @NameInMap("AddonVersion") public String addonVersion; /** *

Specifies whether to perform only a dry run, without performing the actual request.

* * example: *

false

*/ @NameInMap("DryRun") public Boolean dryRun; /** *

The environment ID.

*

This parameter is required.

* * example: *

env-xxx

*/ @NameInMap("EnvironmentId") public String environmentId; /** *

The region ID.

* * example: *

cn-hangzhou

*/ @NameInMap("RegionId") public String regionId; /** *

The name of the release.

*

This parameter is required.

* * example: *

mysql-1695372983039

*/ @NameInMap("ReleaseName") public String releaseName; /** *

The metadata information.

*

This parameter is required.

* * example: *

{"host":"mysql-service.default","port":3306,"username":"root","password":"roots"}

*/ @NameInMap("Values") public String values; public static UpgradeAddonReleaseRequest build(java.util.Map map) throws Exception { UpgradeAddonReleaseRequest self = new UpgradeAddonReleaseRequest(); return TeaModel.build(map, self); } public UpgradeAddonReleaseRequest setAddonVersion(String addonVersion) { this.addonVersion = addonVersion; return this; } public String getAddonVersion() { return this.addonVersion; } public UpgradeAddonReleaseRequest setDryRun(Boolean dryRun) { this.dryRun = dryRun; return this; } public Boolean getDryRun() { return this.dryRun; } public UpgradeAddonReleaseRequest setEnvironmentId(String environmentId) { this.environmentId = environmentId; return this; } public String getEnvironmentId() { return this.environmentId; } public UpgradeAddonReleaseRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public UpgradeAddonReleaseRequest setReleaseName(String releaseName) { this.releaseName = releaseName; return this; } public String getReleaseName() { return this.releaseName; } public UpgradeAddonReleaseRequest setValues(String values) { this.values = values; return this; } public String getValues() { return this.values; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy