com.aliyun.sdk.service.ecs20140526.models.DescribeInstanceRamRoleResponseBody 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
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ecs20140526.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 DescribeInstanceRamRoleResponseBody} extends {@link TeaModel}
*
* DescribeInstanceRamRoleResponseBody
*/
public class DescribeInstanceRamRoleResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("InstanceRamRoleSets")
private InstanceRamRoleSets instanceRamRoleSets;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("TotalCount")
private Integer totalCount;
private DescribeInstanceRamRoleResponseBody(Builder builder) {
this.instanceRamRoleSets = builder.instanceRamRoleSets;
this.regionId = builder.regionId;
this.requestId = builder.requestId;
this.totalCount = builder.totalCount;
}
public static Builder builder() {
return new Builder();
}
public static DescribeInstanceRamRoleResponseBody create() {
return builder().build();
}
/**
* @return instanceRamRoleSets
*/
public InstanceRamRoleSets getInstanceRamRoleSets() {
return this.instanceRamRoleSets;
}
/**
* @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 InstanceRamRoleSets instanceRamRoleSets;
private String regionId;
private String requestId;
private Integer totalCount;
/**
* The IDs of the ECS instances and the names of the corresponding instance RAM roles.
*/
public Builder instanceRamRoleSets(InstanceRamRoleSets instanceRamRoleSets) {
this.instanceRamRoleSets = instanceRamRoleSets;
return this;
}
/**
* The region ID of the ECS instances.
*
* example:
* cn-hangzhou
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
/**
* The ID of the request.
*
* example:
* 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* The number of ECS instances returned.
*
* example:
* 1
*/
public Builder totalCount(Integer totalCount) {
this.totalCount = totalCount;
return this;
}
public DescribeInstanceRamRoleResponseBody build() {
return new DescribeInstanceRamRoleResponseBody(this);
}
}
/**
*
* {@link DescribeInstanceRamRoleResponseBody} extends {@link TeaModel}
*
* DescribeInstanceRamRoleResponseBody
*/
public static class InstanceRamRoleSet extends TeaModel {
@com.aliyun.core.annotation.NameInMap("InstanceId")
private String instanceId;
@com.aliyun.core.annotation.NameInMap("RamRoleName")
private String ramRoleName;
private InstanceRamRoleSet(Builder builder) {
this.instanceId = builder.instanceId;
this.ramRoleName = builder.ramRoleName;
}
public static Builder builder() {
return new Builder();
}
public static InstanceRamRoleSet create() {
return builder().build();
}
/**
* @return instanceId
*/
public String getInstanceId() {
return this.instanceId;
}
/**
* @return ramRoleName
*/
public String getRamRoleName() {
return this.ramRoleName;
}
public static final class Builder {
private String instanceId;
private String ramRoleName;
/**
* The ID of the instance
*
* example:
* i-bp67acfmxazb4p****
*/
public Builder instanceId(String instanceId) {
this.instanceId = instanceId;
return this;
}
/**
* The name of the instance RAM role.
*
* example:
* EcsServiceRole-EcsDocGuideTest
*/
public Builder ramRoleName(String ramRoleName) {
this.ramRoleName = ramRoleName;
return this;
}
public InstanceRamRoleSet build() {
return new InstanceRamRoleSet(this);
}
}
}
/**
*
* {@link DescribeInstanceRamRoleResponseBody} extends {@link TeaModel}
*
* DescribeInstanceRamRoleResponseBody
*/
public static class InstanceRamRoleSets extends TeaModel {
@com.aliyun.core.annotation.NameInMap("InstanceRamRoleSet")
private java.util.List instanceRamRoleSet;
private InstanceRamRoleSets(Builder builder) {
this.instanceRamRoleSet = builder.instanceRamRoleSet;
}
public static Builder builder() {
return new Builder();
}
public static InstanceRamRoleSets create() {
return builder().build();
}
/**
* @return instanceRamRoleSet
*/
public java.util.List getInstanceRamRoleSet() {
return this.instanceRamRoleSet;
}
public static final class Builder {
private java.util.List instanceRamRoleSet;
/**
* InstanceRamRoleSet.
*/
public Builder instanceRamRoleSet(java.util.List instanceRamRoleSet) {
this.instanceRamRoleSet = instanceRamRoleSet;
return this;
}
public InstanceRamRoleSets build() {
return new InstanceRamRoleSets(this);
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy