
com.aliyun.ros20190910.models.ListStacksRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.ros20190910.models;
import com.aliyun.tea.*;
public class ListStacksRequest extends TeaModel {
/**
* The end of the time range during which data was queried. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time is displayed in UTC.
*
* example:
* 2023-04-01T15:16:00Z
*/
@NameInMap("EndTime")
public String endTime;
/**
* The page number.
* Pages start from page 1.
* Default value: 1.
*
* example:
* 1
*/
@NameInMap("PageNumber")
public Long pageNumber;
/**
* The number of entries per page.
* Maximum value: 50.
* Default value: 10.
*
* example:
* 10
*/
@NameInMap("PageSize")
public Long pageSize;
/**
* The ID of the parent stack.
*
* example:
* 4a6c9851-3b0f-4f5f-b4ca-a14bf691****
*/
@NameInMap("ParentStackId")
public String parentStackId;
/**
* The region ID of the stack. 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 resource group.\
* For more information about resource groups, see the "Resource Group" section of the What is Resource Management? topic.
*
* example:
* rg-acfmxazb4ph6aiy****
*/
@NameInMap("ResourceGroupId")
public String resourceGroupId;
/**
* Specifies whether to return nested stacks. Valid values:
*
* - true
* - false (default)
*
*
* If you specify ParentStackId, you must set ShowNestedStack to true.
*
*
* example:
* true
*/
@NameInMap("ShowNestedStack")
public Boolean showNestedStack;
/**
* The stack ID. You can specify this parameter to query only the stack ID. If you want to query the detailed information about the stack, call the GetStack operation.
*
* example:
* 4a6c9851-3b0f-4f5f-b4ca-a14bf691****
*/
@NameInMap("StackId")
public String stackId;
/**
* The IDs of the stacks.
*/
@NameInMap("StackIds")
public java.util.List stackIds;
/**
* The names of the stacks.
*
* example:
* MyStack
*/
@NameInMap("StackName")
public java.util.List stackName;
/**
* The beginning of the time range to query. Specify the time in the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. The time must be in UTC.
*
* example:
* 2023-04-01T15:10:00Z
*/
@NameInMap("StartTime")
public String startTime;
/**
* The status of the stack.
*
* example:
* CREATE_COMPLETE
*/
@NameInMap("Status")
public java.util.List status;
/**
* The tags of the stack.
*/
@NameInMap("Tag")
public java.util.List tag;
public static ListStacksRequest build(java.util.Map map) throws Exception {
ListStacksRequest self = new ListStacksRequest();
return TeaModel.build(map, self);
}
public ListStacksRequest setEndTime(String endTime) {
this.endTime = endTime;
return this;
}
public String getEndTime() {
return this.endTime;
}
public ListStacksRequest setPageNumber(Long pageNumber) {
this.pageNumber = pageNumber;
return this;
}
public Long getPageNumber() {
return this.pageNumber;
}
public ListStacksRequest setPageSize(Long pageSize) {
this.pageSize = pageSize;
return this;
}
public Long getPageSize() {
return this.pageSize;
}
public ListStacksRequest setParentStackId(String parentStackId) {
this.parentStackId = parentStackId;
return this;
}
public String getParentStackId() {
return this.parentStackId;
}
public ListStacksRequest setRegionId(String regionId) {
this.regionId = regionId;
return this;
}
public String getRegionId() {
return this.regionId;
}
public ListStacksRequest setResourceGroupId(String resourceGroupId) {
this.resourceGroupId = resourceGroupId;
return this;
}
public String getResourceGroupId() {
return this.resourceGroupId;
}
public ListStacksRequest setShowNestedStack(Boolean showNestedStack) {
this.showNestedStack = showNestedStack;
return this;
}
public Boolean getShowNestedStack() {
return this.showNestedStack;
}
public ListStacksRequest setStackId(String stackId) {
this.stackId = stackId;
return this;
}
public String getStackId() {
return this.stackId;
}
public ListStacksRequest setStackIds(java.util.List stackIds) {
this.stackIds = stackIds;
return this;
}
public java.util.List getStackIds() {
return this.stackIds;
}
public ListStacksRequest setStackName(java.util.List stackName) {
this.stackName = stackName;
return this;
}
public java.util.List getStackName() {
return this.stackName;
}
public ListStacksRequest setStartTime(String startTime) {
this.startTime = startTime;
return this;
}
public String getStartTime() {
return this.startTime;
}
public ListStacksRequest setStatus(java.util.List status) {
this.status = status;
return this;
}
public java.util.List getStatus() {
return this.status;
}
public ListStacksRequest setTag(java.util.List tag) {
this.tag = tag;
return this;
}
public java.util.List getTag() {
return this.tag;
}
public static class ListStacksRequestTag extends TeaModel {
/**
* The key of tag N.\
* Valid values of N: 1 to 20.
*
* example:
* usage
*/
@NameInMap("Key")
public String key;
/**
* The value of tag N.\
* Valid values of N: 1 to 20.
*
* example:
* test
*/
@NameInMap("Value")
public String value;
public static ListStacksRequestTag build(java.util.Map map) throws Exception {
ListStacksRequestTag self = new ListStacksRequestTag();
return TeaModel.build(map, self);
}
public ListStacksRequestTag setKey(String key) {
this.key = key;
return this;
}
public String getKey() {
return this.key;
}
public ListStacksRequestTag setValue(String value) {
this.value = value;
return this;
}
public String getValue() {
return this.value;
}
}
}