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

com.aliyun.sdk.service.ens20171110.models.DescribeHaVipsResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.ens20171110.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 DescribeHaVipsResponseBody} extends {@link TeaModel}
 *
 * 

DescribeHaVipsResponseBody

*/ public class DescribeHaVipsResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("HaVips") private java.util.List haVips; @com.aliyun.core.annotation.NameInMap("PageNumber") private String pageNumber; @com.aliyun.core.annotation.NameInMap("PageSize") private String pageSize; @com.aliyun.core.annotation.NameInMap("RequestId") private String requestId; @com.aliyun.core.annotation.NameInMap("TotalCount") private String totalCount; private DescribeHaVipsResponseBody(Builder builder) { this.haVips = builder.haVips; this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.requestId = builder.requestId; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static DescribeHaVipsResponseBody create() { return builder().build(); } /** * @return haVips */ public java.util.List getHaVips() { return this.haVips; } /** * @return pageNumber */ public String getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public String getPageSize() { return this.pageSize; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return totalCount */ public String getTotalCount() { return this.totalCount; } public static final class Builder { private java.util.List haVips; private String pageNumber; private String pageSize; private String requestId; private String totalCount; /** *

Details of the HAVIPs.

*/ public Builder haVips(java.util.List haVips) { this.haVips = haVips; return this; } /** *

The page number.

* * example: *

1

*/ public Builder pageNumber(String pageNumber) { this.pageNumber = pageNumber; return this; } /** *

The number of entries per page.

* * example: *

10

*/ public Builder pageSize(String pageSize) { this.pageSize = pageSize; return this; } /** *

The request ID.

* * example: *

AAE90880-4970-4D81-A534-A6C0F3631F74

*/ public Builder requestId(String requestId) { this.requestId = requestId; return this; } /** *

The total number of entries returned.

* * example: *

49

*/ public Builder totalCount(String totalCount) { this.totalCount = totalCount; return this; } public DescribeHaVipsResponseBody build() { return new DescribeHaVipsResponseBody(this); } } /** * * {@link DescribeHaVipsResponseBody} extends {@link TeaModel} * *

DescribeHaVipsResponseBody

*/ public static class AssociatedEipAddresses extends TeaModel { @com.aliyun.core.annotation.NameInMap("Eip") private String eip; @com.aliyun.core.annotation.NameInMap("EipId") private String eipId; private AssociatedEipAddresses(Builder builder) { this.eip = builder.eip; this.eipId = builder.eipId; } public static Builder builder() { return new Builder(); } public static AssociatedEipAddresses create() { return builder().build(); } /** * @return eip */ public String getEip() { return this.eip; } /** * @return eipId */ public String getEipId() { return this.eipId; } public static final class Builder { private String eip; private String eipId; /** *

The EIP.

* * example: *

47.XX.XX.40

*/ public Builder eip(String eip) { this.eip = eip; return this; } /** *

The ID of the EIP.

* * example: *

eip-5p1wz****

*/ public Builder eipId(String eipId) { this.eipId = eipId; return this; } public AssociatedEipAddresses build() { return new AssociatedEipAddresses(this); } } } /** * * {@link DescribeHaVipsResponseBody} extends {@link TeaModel} * *

DescribeHaVipsResponseBody

*/ public static class AssociatedInstances extends TeaModel { @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("InstanceId") private String instanceId; @com.aliyun.core.annotation.NameInMap("InstanceType") private String instanceType; @com.aliyun.core.annotation.NameInMap("IpAddress") private String ipAddress; @com.aliyun.core.annotation.NameInMap("Status") private String status; private AssociatedInstances(Builder builder) { this.creationTime = builder.creationTime; this.instanceId = builder.instanceId; this.instanceType = builder.instanceType; this.ipAddress = builder.ipAddress; this.status = builder.status; } public static Builder builder() { return new Builder(); } public static AssociatedInstances create() { return builder().build(); } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return instanceId */ public String getInstanceId() { return this.instanceId; } /** * @return instanceType */ public String getInstanceType() { return this.instanceType; } /** * @return ipAddress */ public String getIpAddress() { return this.ipAddress; } /** * @return status */ public String getStatus() { return this.status; } public static final class Builder { private String creationTime; private String instanceId; private String instanceType; private String ipAddress; private String status; /** *

The time when the instance was created.

* * example: *

2023-01-05T07:09:28Z

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** *

The ID of the instance.

* * example: *

i-51p****

*/ public Builder instanceId(String instanceId) { this.instanceId = instanceId; return this; } /** *

The type of the instance that is associated with the HAVIP. Valid values:

*
    *
  • EnsInstance: ENS instance
  • *
  • NetworkInterface: elastic network interface (ENI)
  • *
* * example: *

EnsInstance

*/ public Builder instanceType(String instanceType) { this.instanceType = instanceType; return this; } /** *

The private IP address of the instance that is associated with the HAVIP. Valid values:

* * example: *

192.XX.XX.9

*/ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } /** *

The association status of the HAVIP. Valid values:

*
    *
  • Associating
  • *
  • InUse
  • *
  • Unassociating
  • *
* * example: *

InUse

*/ public Builder status(String status) { this.status = status; return this; } public AssociatedInstances build() { return new AssociatedInstances(this); } } } /** * * {@link DescribeHaVipsResponseBody} extends {@link TeaModel} * *

DescribeHaVipsResponseBody

*/ public static class HaVips extends TeaModel { @com.aliyun.core.annotation.NameInMap("AssociatedEipAddresses") private java.util.List associatedEipAddresses; @com.aliyun.core.annotation.NameInMap("AssociatedInstances") private java.util.List associatedInstances; @com.aliyun.core.annotation.NameInMap("CreationTime") private String creationTime; @com.aliyun.core.annotation.NameInMap("Description") private String description; @com.aliyun.core.annotation.NameInMap("EnsRegionId") private String ensRegionId; @com.aliyun.core.annotation.NameInMap("HaVipId") private String haVipId; @com.aliyun.core.annotation.NameInMap("IpAddress") private String ipAddress; @com.aliyun.core.annotation.NameInMap("Name") private String name; @com.aliyun.core.annotation.NameInMap("NetworkId") private String networkId; @com.aliyun.core.annotation.NameInMap("Status") private String status; @com.aliyun.core.annotation.NameInMap("VSwitchId") private String vSwitchId; private HaVips(Builder builder) { this.associatedEipAddresses = builder.associatedEipAddresses; this.associatedInstances = builder.associatedInstances; this.creationTime = builder.creationTime; this.description = builder.description; this.ensRegionId = builder.ensRegionId; this.haVipId = builder.haVipId; this.ipAddress = builder.ipAddress; this.name = builder.name; this.networkId = builder.networkId; this.status = builder.status; this.vSwitchId = builder.vSwitchId; } public static Builder builder() { return new Builder(); } public static HaVips create() { return builder().build(); } /** * @return associatedEipAddresses */ public java.util.List getAssociatedEipAddresses() { return this.associatedEipAddresses; } /** * @return associatedInstances */ public java.util.List getAssociatedInstances() { return this.associatedInstances; } /** * @return creationTime */ public String getCreationTime() { return this.creationTime; } /** * @return description */ public String getDescription() { return this.description; } /** * @return ensRegionId */ public String getEnsRegionId() { return this.ensRegionId; } /** * @return haVipId */ public String getHaVipId() { return this.haVipId; } /** * @return ipAddress */ public String getIpAddress() { return this.ipAddress; } /** * @return name */ public String getName() { return this.name; } /** * @return networkId */ public String getNetworkId() { return this.networkId; } /** * @return status */ public String getStatus() { return this.status; } /** * @return vSwitchId */ public String getVSwitchId() { return this.vSwitchId; } public static final class Builder { private java.util.List associatedEipAddresses; private java.util.List associatedInstances; private String creationTime; private String description; private String ensRegionId; private String haVipId; private String ipAddress; private String name; private String networkId; private String status; private String vSwitchId; /** *

The elastic IP addresses (EIPs) that are associated with the HAVIP.

*/ public Builder associatedEipAddresses(java.util.List associatedEipAddresses) { this.associatedEipAddresses = associatedEipAddresses; return this; } /** *

The information about instances that are associated with the HAVIP.

*/ public Builder associatedInstances(java.util.List associatedInstances) { this.associatedInstances = associatedInstances; return this; } /** *

The time when the HAVIP was created.

* * example: *

2023-03-29T11:17:38Z

*/ public Builder creationTime(String creationTime) { this.creationTime = creationTime; return this; } /** *

The description of the HAVIP.

* * example: *

test

*/ public Builder description(String description) { this.description = description; return this; } /** *

The ID of the region.

* * example: *

cn-guiyang-14

*/ public Builder ensRegionId(String ensRegionId) { this.ensRegionId = ensRegionId; return this; } /** *

The ID of the HAVIP.

* * example: *

havip-52y28****

*/ public Builder haVipId(String haVipId) { this.haVipId = haVipId; return this; } /** *

The IP address of the HAVIP.

* * example: *

192.XX.XX.5

*/ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } /** *

The name of the HAVIP.

* * example: *

test

*/ public Builder name(String name) { this.name = name; return this; } /** *

The ID of the network.

* * example: *

n-5wtkyrk****

*/ public Builder networkId(String networkId) { this.networkId = networkId; return this; } /** *

The status of the HAVIP. Valid values:

*
    *
  • Creating
  • *
  • Available
  • *
  • InUse
  • *
  • Deleting
  • *
* * example: *

Available

*/ public Builder status(String status) { this.status = status; return this; } /** *

The ID of the vSwitch.

* * example: *

vsw-5yc8d****

*/ public Builder vSwitchId(String vSwitchId) { this.vSwitchId = vSwitchId; return this; } public HaVips build() { return new HaVips(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy