@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrefixListEntry extends Object implements Serializable, Cloneable
Describes a prefix list entry.
Constructor and Description |
---|
PrefixListEntry() |
Modifier and Type | Method and Description |
---|---|
PrefixListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getCidr()
The CIDR block.
|
String |
getDescription()
The description.
|
int |
hashCode() |
void |
setCidr(String cidr)
The CIDR block.
|
void |
setDescription(String description)
The description.
|
String |
toString()
Returns a string representation of this object.
|
PrefixListEntry |
withCidr(String cidr)
The CIDR block.
|
PrefixListEntry |
withDescription(String description)
The description.
|
public void setCidr(String cidr)
The CIDR block.
cidr
- The CIDR block.public String getCidr()
The CIDR block.
public PrefixListEntry withCidr(String cidr)
The CIDR block.
cidr
- The CIDR block.public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public PrefixListEntry withDescription(String description)
The description.
description
- The description.public String toString()
toString
in class Object
Object.toString()
public PrefixListEntry clone()