@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeIpamByoasnResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeIpamByoasnResult() |
Modifier and Type | Method and Description |
---|---|
DescribeIpamByoasnResult |
clone() |
boolean |
equals(Object obj) |
List<Byoasn> |
getByoasns()
ASN and BYOIP CIDR associations.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setByoasns(Collection<Byoasn> byoasns)
ASN and BYOIP CIDR associations.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
DescribeIpamByoasnResult |
withByoasns(Byoasn... byoasns)
ASN and BYOIP CIDR associations.
|
DescribeIpamByoasnResult |
withByoasns(Collection<Byoasn> byoasns)
ASN and BYOIP CIDR associations.
|
DescribeIpamByoasnResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Byoasn> getByoasns()
ASN and BYOIP CIDR associations.
public void setByoasns(Collection<Byoasn> byoasns)
ASN and BYOIP CIDR associations.
byoasns
- ASN and BYOIP CIDR associations.public DescribeIpamByoasnResult withByoasns(Byoasn... byoasns)
ASN and BYOIP CIDR associations.
NOTE: This method appends the values to the existing list (if any). Use
setByoasns(java.util.Collection)
or withByoasns(java.util.Collection)
if you want to override
the existing values.
byoasns
- ASN and BYOIP CIDR associations.public DescribeIpamByoasnResult withByoasns(Collection<Byoasn> byoasns)
ASN and BYOIP CIDR associations.
byoasns
- ASN and BYOIP CIDR associations.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String getNextToken()
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
null
when there are no
more results to return.public DescribeIpamByoasnResult withNextToken(String nextToken)
The token to use to retrieve the next page of results. This value is null
when there are no more
results to return.
nextToken
- The token to use to retrieve the next page of results. This value is null
when there are no
more results to return.public String toString()
toString
in class Object
Object.toString()
public DescribeIpamByoasnResult clone()