@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ManagedPrefixList extends Object implements Serializable, Cloneable
Describes a managed prefix list.
Constructor and Description |
---|
ManagedPrefixList() |
Modifier and Type | Method and Description |
---|---|
ManagedPrefixList |
clone() |
boolean |
equals(Object obj) |
String |
getAddressFamily()
The IP address version.
|
Integer |
getMaxEntries()
The maximum number of entries for the prefix list.
|
String |
getOwnerId()
The ID of the owner of the prefix list.
|
String |
getPrefixListArn()
The Amazon Resource Name (ARN) for the prefix list.
|
String |
getPrefixListId()
The ID of the prefix list.
|
String |
getPrefixListName()
The name of the prefix list.
|
String |
getState()
The current state of the prefix list.
|
String |
getStateMessage()
The state message.
|
List<Tag> |
getTags()
The tags for the prefix list.
|
Long |
getVersion()
The version of the prefix list.
|
int |
hashCode() |
void |
setAddressFamily(String addressFamily)
The IP address version.
|
void |
setMaxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
|
void |
setOwnerId(String ownerId)
The ID of the owner of the prefix list.
|
void |
setPrefixListArn(String prefixListArn)
The Amazon Resource Name (ARN) for the prefix list.
|
void |
setPrefixListId(String prefixListId)
The ID of the prefix list.
|
void |
setPrefixListName(String prefixListName)
The name of the prefix list.
|
void |
setState(String state)
The current state of the prefix list.
|
void |
setStateMessage(String stateMessage)
The state message.
|
void |
setTags(Collection<Tag> tags)
The tags for the prefix list.
|
void |
setVersion(Long version)
The version of the prefix list.
|
String |
toString()
Returns a string representation of this object.
|
ManagedPrefixList |
withAddressFamily(String addressFamily)
The IP address version.
|
ManagedPrefixList |
withMaxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
|
ManagedPrefixList |
withOwnerId(String ownerId)
The ID of the owner of the prefix list.
|
ManagedPrefixList |
withPrefixListArn(String prefixListArn)
The Amazon Resource Name (ARN) for the prefix list.
|
ManagedPrefixList |
withPrefixListId(String prefixListId)
The ID of the prefix list.
|
ManagedPrefixList |
withPrefixListName(String prefixListName)
The name of the prefix list.
|
ManagedPrefixList |
withState(PrefixListState state)
The current state of the prefix list.
|
ManagedPrefixList |
withState(String state)
The current state of the prefix list.
|
ManagedPrefixList |
withStateMessage(String stateMessage)
The state message.
|
ManagedPrefixList |
withTags(Collection<Tag> tags)
The tags for the prefix list.
|
ManagedPrefixList |
withTags(Tag... tags)
The tags for the prefix list.
|
ManagedPrefixList |
withVersion(Long version)
The version of the prefix list.
|
public void setPrefixListId(String prefixListId)
The ID of the prefix list.
prefixListId
- The ID of the prefix list.public String getPrefixListId()
The ID of the prefix list.
public ManagedPrefixList withPrefixListId(String prefixListId)
The ID of the prefix list.
prefixListId
- The ID of the prefix list.public void setAddressFamily(String addressFamily)
The IP address version.
addressFamily
- The IP address version.public String getAddressFamily()
The IP address version.
public ManagedPrefixList withAddressFamily(String addressFamily)
The IP address version.
addressFamily
- The IP address version.public void setState(String state)
The current state of the prefix list.
state
- The current state of the prefix list.PrefixListState
public String getState()
The current state of the prefix list.
PrefixListState
public ManagedPrefixList withState(String state)
The current state of the prefix list.
state
- The current state of the prefix list.PrefixListState
public ManagedPrefixList withState(PrefixListState state)
The current state of the prefix list.
state
- The current state of the prefix list.PrefixListState
public void setStateMessage(String stateMessage)
The state message.
stateMessage
- The state message.public String getStateMessage()
The state message.
public ManagedPrefixList withStateMessage(String stateMessage)
The state message.
stateMessage
- The state message.public void setPrefixListArn(String prefixListArn)
The Amazon Resource Name (ARN) for the prefix list.
prefixListArn
- The Amazon Resource Name (ARN) for the prefix list.public String getPrefixListArn()
The Amazon Resource Name (ARN) for the prefix list.
public ManagedPrefixList withPrefixListArn(String prefixListArn)
The Amazon Resource Name (ARN) for the prefix list.
prefixListArn
- The Amazon Resource Name (ARN) for the prefix list.public void setPrefixListName(String prefixListName)
The name of the prefix list.
prefixListName
- The name of the prefix list.public String getPrefixListName()
The name of the prefix list.
public ManagedPrefixList withPrefixListName(String prefixListName)
The name of the prefix list.
prefixListName
- The name of the prefix list.public void setMaxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
maxEntries
- The maximum number of entries for the prefix list.public Integer getMaxEntries()
The maximum number of entries for the prefix list.
public ManagedPrefixList withMaxEntries(Integer maxEntries)
The maximum number of entries for the prefix list.
maxEntries
- The maximum number of entries for the prefix list.public void setVersion(Long version)
The version of the prefix list.
version
- The version of the prefix list.public Long getVersion()
The version of the prefix list.
public ManagedPrefixList withVersion(Long version)
The version of the prefix list.
version
- The version of the prefix list.public List<Tag> getTags()
The tags for the prefix list.
public void setTags(Collection<Tag> tags)
The tags for the prefix list.
tags
- The tags for the prefix list.public ManagedPrefixList withTags(Tag... tags)
The tags for the prefix list.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags for the prefix list.public ManagedPrefixList withTags(Collection<Tag> tags)
The tags for the prefix list.
tags
- The tags for the prefix list.public void setOwnerId(String ownerId)
The ID of the owner of the prefix list.
ownerId
- The ID of the owner of the prefix list.public String getOwnerId()
The ID of the owner of the prefix list.
public ManagedPrefixList withOwnerId(String ownerId)
The ID of the owner of the prefix list.
ownerId
- The ID of the owner of the prefix list.public String toString()
toString
in class Object
Object.toString()
public ManagedPrefixList clone()