@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CidrCollectionChange extends Object implements Serializable, Cloneable
A complex type that contains information about the CIDR collection change.
Constructor and Description |
---|
CidrCollectionChange() |
Modifier and Type | Method and Description |
---|---|
CidrCollectionChange |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
CIDR collection change action.
|
List<String> |
getCidrList()
List of CIDR blocks.
|
String |
getLocationName()
Name of the location that is associated with the CIDR collection.
|
int |
hashCode() |
void |
setAction(String action)
CIDR collection change action.
|
void |
setCidrList(Collection<String> cidrList)
List of CIDR blocks.
|
void |
setLocationName(String locationName)
Name of the location that is associated with the CIDR collection.
|
String |
toString()
Returns a string representation of this object.
|
CidrCollectionChange |
withAction(CidrCollectionChangeAction action)
CIDR collection change action.
|
CidrCollectionChange |
withAction(String action)
CIDR collection change action.
|
CidrCollectionChange |
withCidrList(Collection<String> cidrList)
List of CIDR blocks.
|
CidrCollectionChange |
withCidrList(String... cidrList)
List of CIDR blocks.
|
CidrCollectionChange |
withLocationName(String locationName)
Name of the location that is associated with the CIDR collection.
|
public void setLocationName(String locationName)
Name of the location that is associated with the CIDR collection.
locationName
- Name of the location that is associated with the CIDR collection.public String getLocationName()
Name of the location that is associated with the CIDR collection.
public CidrCollectionChange withLocationName(String locationName)
Name of the location that is associated with the CIDR collection.
locationName
- Name of the location that is associated with the CIDR collection.public void setAction(String action)
CIDR collection change action.
action
- CIDR collection change action.CidrCollectionChangeAction
public String getAction()
CIDR collection change action.
CidrCollectionChangeAction
public CidrCollectionChange withAction(String action)
CIDR collection change action.
action
- CIDR collection change action.CidrCollectionChangeAction
public CidrCollectionChange withAction(CidrCollectionChangeAction action)
CIDR collection change action.
action
- CIDR collection change action.CidrCollectionChangeAction
public void setCidrList(Collection<String> cidrList)
List of CIDR blocks.
cidrList
- List of CIDR blocks.public CidrCollectionChange withCidrList(String... cidrList)
List of CIDR blocks.
NOTE: This method appends the values to the existing list (if any). Use
setCidrList(java.util.Collection)
or withCidrList(java.util.Collection)
if you want to override
the existing values.
cidrList
- List of CIDR blocks.public CidrCollectionChange withCidrList(Collection<String> cidrList)
List of CIDR blocks.
cidrList
- List of CIDR blocks.public String toString()
toString
in class Object
Object.toString()
public CidrCollectionChange clone()