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

com.aliyun.ros20190910.models.GetTemplateParameterConstraintsShrinkRequest Maven / Gradle / Ivy

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

import com.aliyun.tea.*;

public class GetTemplateParameterConstraintsShrinkRequest extends TeaModel {
    /**
     * 

The client token that is used to ensure the idempotence of the request.

*

You can use the client to generate the value, but you must make sure that the value is unique among different requests. The token can be up to 64 characters in length, and can contain letters, digits, hyphens (-), and underscores (_).

*

For more information, see Ensure idempotence.

* * example: *

123e4567-e89b-12d3-a456-42665544****

*/ @NameInMap("ClientToken") public String clientToken; /** *

The name of parameter N in the template.

*/ @NameInMap("Parameters") public java.util.List parameters; /** *

The parameters whose values you want to query.

*/ @NameInMap("ParametersKeyFilter") public String parametersKeyFilterShrink; /** *

The order in which associated parameters are arranged.

*
*

By default, the order of the associated parameters specified in the Metadata section of the template is used.

*
*/ @NameInMap("ParametersOrder") public String parametersOrderShrink; /** *

The region ID of the template.

*

You can call the DescribeRegions operation to query the most recent region list.

*

This parameter is required.

* * example: *

cn-hangzhou

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

The ID of the stack.

* * example: *

c754d2a4-28f1-46df-b557-9586173a****

*/ @NameInMap("StackId") public String stackId; @NameInMap("TemplateBody") public String templateBody; /** *

The ID of the template. This parameter applies to shared and private templates.

*
*

You must specify only one of the following parameters: TemplateBody, TemplateURL, and TemplateId.

*
* * example: *

5ecd1e10-b0e9-4389-a565-e4c15efc****

*/ @NameInMap("TemplateId") public String templateId; /** *

The URL of the file that contains the template body. The URL must point to a template that is located on an HTTP or HTTPS web server or in an Object Storage Service (OSS) bucket, such as oss://ros/stack-policy/demo or oss://ros/stack-policy/demo?RegionId=cn-hangzhou. The template body can be up to 524,288 bytes in length. If you do not specify the region ID of the OSS bucket, the value of the RegionId parameter is used.

*
*

You must specify only one of the following parameters: TemplateBody, TemplateURL, and TemplateId.

*
* * example: *

oss://ros-template/demo

*/ @NameInMap("TemplateURL") public String templateURL; /** *

The version of the template. If you do not specify this parameter, the latest version is used.

*
*

This parameter takes effect only if the TemplateId parameter is specified.

*
* * example: *

v1

*/ @NameInMap("TemplateVersion") public String templateVersion; public static GetTemplateParameterConstraintsShrinkRequest build(java.util.Map map) throws Exception { GetTemplateParameterConstraintsShrinkRequest self = new GetTemplateParameterConstraintsShrinkRequest(); return TeaModel.build(map, self); } public GetTemplateParameterConstraintsShrinkRequest setClientToken(String clientToken) { this.clientToken = clientToken; return this; } public String getClientToken() { return this.clientToken; } public GetTemplateParameterConstraintsShrinkRequest setParameters(java.util.List parameters) { this.parameters = parameters; return this; } public java.util.List getParameters() { return this.parameters; } public GetTemplateParameterConstraintsShrinkRequest setParametersKeyFilterShrink(String parametersKeyFilterShrink) { this.parametersKeyFilterShrink = parametersKeyFilterShrink; return this; } public String getParametersKeyFilterShrink() { return this.parametersKeyFilterShrink; } public GetTemplateParameterConstraintsShrinkRequest setParametersOrderShrink(String parametersOrderShrink) { this.parametersOrderShrink = parametersOrderShrink; return this; } public String getParametersOrderShrink() { return this.parametersOrderShrink; } public GetTemplateParameterConstraintsShrinkRequest setRegionId(String regionId) { this.regionId = regionId; return this; } public String getRegionId() { return this.regionId; } public GetTemplateParameterConstraintsShrinkRequest setStackId(String stackId) { this.stackId = stackId; return this; } public String getStackId() { return this.stackId; } public GetTemplateParameterConstraintsShrinkRequest setTemplateBody(String templateBody) { this.templateBody = templateBody; return this; } public String getTemplateBody() { return this.templateBody; } public GetTemplateParameterConstraintsShrinkRequest setTemplateId(String templateId) { this.templateId = templateId; return this; } public String getTemplateId() { return this.templateId; } public GetTemplateParameterConstraintsShrinkRequest setTemplateURL(String templateURL) { this.templateURL = templateURL; return this; } public String getTemplateURL() { return this.templateURL; } public GetTemplateParameterConstraintsShrinkRequest setTemplateVersion(String templateVersion) { this.templateVersion = templateVersion; return this; } public String getTemplateVersion() { return this.templateVersion; } public static class GetTemplateParameterConstraintsShrinkRequestParameters extends TeaModel { /** *

The name of parameter N in the template.

*
*

The Parameters parameter is optional. If you specify the Parameters parameter, you must specify the Parameters.N.ParameterKey parameter.

*
*

This parameter is required.

* * example: *

ZoneInfo

*/ @NameInMap("ParameterKey") public String parameterKey; /** *

The value of parameter N in the template.

*
*

The Parameters parameter is optional. If you specify the Parameters parameter, you must specify the Parameters.N.ParameterValue parameter.

*
*

This parameter is required.

* * example: *

cn-hangzhou-h

*/ @NameInMap("ParameterValue") public String parameterValue; public static GetTemplateParameterConstraintsShrinkRequestParameters build(java.util.Map map) throws Exception { GetTemplateParameterConstraintsShrinkRequestParameters self = new GetTemplateParameterConstraintsShrinkRequestParameters(); return TeaModel.build(map, self); } public GetTemplateParameterConstraintsShrinkRequestParameters setParameterKey(String parameterKey) { this.parameterKey = parameterKey; return this; } public String getParameterKey() { return this.parameterKey; } public GetTemplateParameterConstraintsShrinkRequestParameters setParameterValue(String parameterValue) { this.parameterValue = parameterValue; return this; } public String getParameterValue() { return this.parameterValue; } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy