@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrefixListId extends Object implements Serializable, Cloneable
Describes a prefix list ID.
Constructor and Description |
---|
PrefixListId() |
Modifier and Type | Method and Description |
---|---|
PrefixListId |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description for the security group rule that references this prefix list ID.
|
String |
getPrefixListId()
The ID of the prefix.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the security group rule that references this prefix list ID.
|
void |
setPrefixListId(String prefixListId)
The ID of the prefix.
|
String |
toString()
Returns a string representation of this object.
|
PrefixListId |
withDescription(String description)
A description for the security group rule that references this prefix list ID.
|
PrefixListId |
withPrefixListId(String prefixListId)
The ID of the prefix.
|
public void setDescription(String description)
A description for the security group rule that references this prefix list ID.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
description
- A description for the security group rule that references this prefix list ID.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$
public String getDescription()
A description for the security group rule that references this prefix list ID.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$
public PrefixListId withDescription(String description)
A description for the security group rule that references this prefix list ID.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
description
- A description for the security group rule that references this prefix list ID.
Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,@[]+=;{}!$*
public void setPrefixListId(String prefixListId)
The ID of the prefix.
prefixListId
- The ID of the prefix.public String getPrefixListId()
The ID of the prefix.
public PrefixListId withPrefixListId(String prefixListId)
The ID of the prefix.
prefixListId
- The ID of the prefix.public String toString()
toString
in class Object
Object.toString()
public PrefixListId clone()