com.aliyun.sdk.service.ecs20140526.models.DescribeDeploymentSetsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alibabacloud-ecs20140526 Show documentation
Show all versions of alibabacloud-ecs20140526 Show documentation
Alibaba Cloud Ecs (20140526) Async SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.models;
import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
* {@link DescribeDeploymentSetsResponseBody} extends {@link TeaModel}
*
* DescribeDeploymentSetsResponseBody
*/
public class DescribeDeploymentSetsResponseBody extends TeaModel {
@NameInMap("DeploymentSets")
private DeploymentSets deploymentSets;
@NameInMap("PageNumber")
private Integer pageNumber;
@NameInMap("PageSize")
private Integer pageSize;
@NameInMap("RegionId")
private String regionId;
@NameInMap("RequestId")
private String requestId;
@NameInMap("TotalCount")
private Integer totalCount;
private DescribeDeploymentSetsResponseBody(Builder builder) {
this.deploymentSets = builder.deploymentSets;
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeDeploymentSetsResponseBody create() {
return builder().build();
}
/**
* @return deploymentSets
*/
public DeploymentSets getDeploymentSets() {
return this.deploymentSets;
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return totalCount
*/
public Integer getTotalCount() {
return this.totalCount;
}
public static final class Builder {
private DeploymentSets deploymentSets;
private Integer pageNumber;
private Integer pageSize;
private String regionId;
private String requestId;
private Integer totalCount;
/**
* DeploymentSets.
*/
public Builder deploymentSets(DeploymentSets deploymentSets) {
this.deploymentSets = deploymentSets;
return this;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* TotalCount.
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeDeploymentSetsResponseBody build() {
return new DescribeDeploymentSetsResponseBody(this);
}
}
public static class Capacity extends TeaModel {
@NameInMap("AvailableAmount")
private Integer availableAmount;
@NameInMap("UsedAmount")
private Integer usedAmount;
@NameInMap("ZoneId")
private String zoneId;
private Capacity(Builder builder) {
this.availableAmount = builder.availableAmount;
this.usedAmount = builder.usedAmount;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static Capacity create() {
return builder().build();
}
/**
* @return availableAmount
*/
public Integer getAvailableAmount() {
return this.availableAmount;
}
/**
* @return usedAmount
*/
public Integer getUsedAmount() {
return this.usedAmount;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private Integer availableAmount;
private Integer usedAmount;
private String zoneId;
/**
* AvailableAmount.
*/
public Builder availableAmount(Integer availableAmount) {
this.availableAmount = availableAmount;
return this;
}
/**
* UsedAmount.
*/
public Builder usedAmount(Integer usedAmount) {
this.usedAmount = usedAmount;
return this;
}
/**
* ZoneId.
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public Capacity build() {
return new Capacity(this);
}
}
}
public static class Capacities extends TeaModel {
@NameInMap("Capacity")
private java.util.List < Capacity> capacity;
private Capacities(Builder builder) {
this.capacity = builder.capacity;
}
public static Builder builder() {
return new Builder();
}
public static Capacities create() {
return builder().build();
}
/**
* @return capacity
*/
public java.util.List < Capacity> getCapacity() {
return this.capacity;
}
public static final class Builder {
private java.util.List < Capacity> capacity;
/**
* Capacity.
*/
public Builder capacity(java.util.List < Capacity> capacity) {
this.capacity = capacity;
return this;
}
public Capacities build() {
return new Capacities(this);
}
}
}
public static class InstanceIds extends TeaModel {
@NameInMap("InstanceId")
private java.util.List < String > instanceId;
private InstanceIds(Builder builder) {
this.instanceId = builder.instanceId;
}
public static Builder builder() {
return new Builder();
}
public static InstanceIds create() {
return builder().build();
}
/**
* @return instanceId
*/
public java.util.List < String > getInstanceId() {
return this.instanceId;
}
public static final class Builder {
private java.util.List < String > instanceId;
/**
* InstanceId.
*/
public Builder instanceId(java.util.List < String > instanceId) {
this.instanceId = instanceId;
return this;
}
public InstanceIds build() {
return new InstanceIds(this);
}
}
}
public static class DeploymentSet extends TeaModel {
@NameInMap("Capacities")
private Capacities capacities;
@NameInMap("CreationTime")
private String creationTime;
@NameInMap("DeploymentSetDescription")
private String deploymentSetDescription;
@NameInMap("DeploymentSetId")
private String deploymentSetId;
@NameInMap("DeploymentSetName")
private String deploymentSetName;
@NameInMap("DeploymentStrategy")
private String deploymentStrategy;
@NameInMap("Domain")
private String domain;
@NameInMap("Granularity")
private String granularity;
@NameInMap("GroupCount")
private Integer groupCount;
@NameInMap("InstanceAmount")
private Integer instanceAmount;
@NameInMap("InstanceIds")
private InstanceIds instanceIds;
@NameInMap("Strategy")
private String strategy;
private DeploymentSet(Builder builder) {
this.capacities = builder.capacities;
this.creationTime = builder.creationTime;
this.deploymentSetDescription = builder.deploymentSetDescription;
this.deploymentSetId = builder.deploymentSetId;
this.deploymentSetName = builder.deploymentSetName;
this.deploymentStrategy = builder.deploymentStrategy;
this.domain = builder.domain;
this.granularity = builder.granularity;
this.groupCount = builder.groupCount;
this.instanceAmount = builder.instanceAmount;
this.instanceIds = builder.instanceIds;
this.strategy = builder.strategy;
}
public static Builder builder() {
return new Builder();
}
public static DeploymentSet create() {
return builder().build();
}
/**
* @return capacities
*/
public Capacities getCapacities() {
return this.capacities;
}
/**
* @return creationTime
*/
public String getCreationTime() {
return this.creationTime;
}
/**
* @return deploymentSetDescription
*/
public String getDeploymentSetDescription() {
return this.deploymentSetDescription;
}
/**
* @return deploymentSetId
*/
public String getDeploymentSetId() {
return this.deploymentSetId;
}
/**
* @return deploymentSetName
*/
public String getDeploymentSetName() {
return this.deploymentSetName;
}
/**
* @return deploymentStrategy
*/
public String getDeploymentStrategy() {
return this.deploymentStrategy;
}
/**
* @return domain
*/
public String getDomain() {
return this.domain;
}
/**
* @return granularity
*/
public String getGranularity() {
return this.granularity;
}
/**
* @return groupCount
*/
public Integer getGroupCount() {
return this.groupCount;
}
/**
* @return instanceAmount
*/
public Integer getInstanceAmount() {
return this.instanceAmount;
}
/**
* @return instanceIds
*/
public InstanceIds getInstanceIds() {
return this.instanceIds;
}
/**
* @return strategy
*/
public String getStrategy() {
return this.strategy;
}
public static final class Builder {
private Capacities capacities;
private String creationTime;
private String deploymentSetDescription;
private String deploymentSetId;
private String deploymentSetName;
private String deploymentStrategy;
private String domain;
private String granularity;
private Integer groupCount;
private Integer instanceAmount;
private InstanceIds instanceIds;
private String strategy;
/**
* Capacities.
*/
public Builder capacities(Capacities capacities) {
this.capacities = capacities;
return this;
}
/**
* CreationTime.
*/
public Builder creationTime(String creationTime) {
this.creationTime = creationTime;
return this;
}
/**
* DeploymentSetDescription.
*/
public Builder deploymentSetDescription(String deploymentSetDescription) {
this.deploymentSetDescription = deploymentSetDescription;
return this;
}
/**
* DeploymentSetId.
*/
public Builder deploymentSetId(String deploymentSetId) {
this.deploymentSetId = deploymentSetId;
return this;
}
/**
* DeploymentSetName.
*/
public Builder deploymentSetName(String deploymentSetName) {
this.deploymentSetName = deploymentSetName;
return this;
}
/**
* DeploymentStrategy.
*/
public Builder deploymentStrategy(String deploymentStrategy) {
this.deploymentStrategy = deploymentStrategy;
return this;
}
/**
* Domain.
*/
public Builder domain(String domain) {
this.domain = domain;
return this;
}
/**
* Granularity.
*/
public Builder granularity(String granularity) {
this.granularity = granularity;
return this;
}
/**
* GroupCount.
*/
public Builder groupCount(Integer groupCount) {
this.groupCount = groupCount;
return this;
}
/**
* InstanceAmount.
*/
public Builder instanceAmount(Integer instanceAmount) {
this.instanceAmount = instanceAmount;
return this;
}
/**
* InstanceIds.
*/
public Builder instanceIds(InstanceIds instanceIds) {
this.instanceIds = instanceIds;
return this;
}
/**
* Strategy.
*/
public Builder strategy(String strategy) {
this.strategy = strategy;
return this;
}
public DeploymentSet build() {
return new DeploymentSet(this);
}
}
}
public static class DeploymentSets extends TeaModel {
@NameInMap("DeploymentSet")
private java.util.List < DeploymentSet> deploymentSet;
private DeploymentSets(Builder builder) {
this.deploymentSet = builder.deploymentSet;
}
public static Builder builder() {
return new Builder();
}
public static DeploymentSets create() {
return builder().build();
}
/**
* @return deploymentSet
*/
public java.util.List < DeploymentSet> getDeploymentSet() {
return this.deploymentSet;
}
public static final class Builder {
private java.util.List < DeploymentSet> deploymentSet;
/**
* DeploymentSet.
*/
public Builder deploymentSet(java.util.List < DeploymentSet> deploymentSet) {
this.deploymentSet = deploymentSet;
return this;
}
public DeploymentSets build() {
return new DeploymentSets(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy