public class PrefixList
extends java.lang.Object
implements java.io.Serializable
Describes prefixes for AWS services.
| Constructor and Description |
|---|
PrefixList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getCidrs()
The IP address range of the AWS service.
|
java.lang.String |
getPrefixListId()
The ID of the prefix.
|
java.lang.String |
getPrefixListName()
The name of the prefix.
|
int |
hashCode() |
void |
setCidrs(java.util.Collection<java.lang.String> cidrs)
The IP address range of the AWS service.
|
void |
setPrefixListId(java.lang.String prefixListId)
The ID of the prefix.
|
void |
setPrefixListName(java.lang.String prefixListName)
The name of the prefix.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PrefixList |
withCidrs(java.util.Collection<java.lang.String> cidrs)
The IP address range of the AWS service.
|
PrefixList |
withCidrs(java.lang.String... cidrs)
The IP address range of the AWS service.
|
PrefixList |
withPrefixListId(java.lang.String prefixListId)
The ID of the prefix.
|
PrefixList |
withPrefixListName(java.lang.String prefixListName)
The name of the prefix.
|
public java.lang.String getPrefixListId()
public void setPrefixListId(java.lang.String prefixListId)
prefixListId - The ID of the prefix.public PrefixList withPrefixListId(java.lang.String prefixListId)
Returns a reference to this object so that method calls can be chained together.
prefixListId - The ID of the prefix.public java.lang.String getPrefixListName()
public void setPrefixListName(java.lang.String prefixListName)
prefixListName - The name of the prefix.public PrefixList withPrefixListName(java.lang.String prefixListName)
Returns a reference to this object so that method calls can be chained together.
prefixListName - The name of the prefix.public java.util.List<java.lang.String> getCidrs()
public void setCidrs(java.util.Collection<java.lang.String> cidrs)
cidrs - The IP address range of the AWS service.public PrefixList withCidrs(java.lang.String... cidrs)
Returns a reference to this object so that method calls can be chained together.
cidrs - The IP address range of the AWS service.public PrefixList withCidrs(java.util.Collection<java.lang.String> cidrs)
Returns a reference to this object so that method calls can be chained together.
cidrs - The IP address range of the AWS service.public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.