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

com.ksyun.api.sdk.kec.model.eip.DescribeAddressesResult Maven / Gradle / Ivy

There is a newer version: 2.1.8
Show newest version
package com.ksyun.api.sdk.kec.model.eip;

import java.io.Serializable;

import lombok.ToString;

/**
 * 

* Contains the output of DescribeAddresses. *

*/ @ToString public class DescribeAddressesResult implements Serializable, Cloneable { /** * */ private static final long serialVersionUID = 3044211011711856722L; private String RequestId; /** *

* Information about one or more Elastic IP addresses. *

*/ private com.ksc.internal.SdkInternalList
AddressesSet; private String NextToken; public String getNextToken() { return NextToken; } public void setNextToken(String nextToken) { this.NextToken = nextToken; } /** *

* Information about one or more Elastic IP addresses. *

* * @return Information about one or more Elastic IP addresses. */ public java.util.List
getAddresses() { if (AddressesSet == null) { AddressesSet = new com.ksc.internal.SdkInternalList
(); } return AddressesSet; } public String getRequestId() { return RequestId; } public void setRequestId(String requestId) { this.RequestId = requestId; } /** *

* Information about one or more Elastic IP AddressesSet. *

* * @param AddressesSet * Information about one or more Elastic IP AddressesSet. */ public void setAddressesSet(java.util.Collection
AddressesSet) { if (AddressesSet == null) { this.AddressesSet = null; return; } this.AddressesSet = new com.ksc.internal.SdkInternalList
( AddressesSet); } /** *

* Information about one or more Elastic IP AddressesSet. *

*

* NOTE: This method appends the values to the existing list (if * any). Use {@link #setAddressesSet(java.util.Collection)} or * {@link #withAddressesSet(java.util.Collection)} if you want to override the * existing values. *

* * @param AddressesSet * Information about one or more Elastic IP AddressesSet. * @return Returns a reference to this object so that method calls can be * chained together. */ public DescribeAddressesResult withAddressesSet(Address... AddressesSet) { if (this.AddressesSet == null) { setAddressesSet(new com.ksc.internal.SdkInternalList
( AddressesSet.length)); } for (Address ele : AddressesSet) { this.AddressesSet.add(ele); } return this; } /** *

* Information about one or more Elastic IP AddressesSet. *

* * @param AddressesSet * Information about one or more Elastic IP AddressesSet. * @return Returns a reference to this object so that method calls can be * chained together. */ public DescribeAddressesResult withAddressesSet( java.util.Collection
AddressesSet) { setAddressesSet(AddressesSet); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy