@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCidrCollectionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
CreateCidrCollectionResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateCidrCollectionResult |
clone() |
boolean |
equals(Object obj) |
CidrCollection |
getCollection()
A complex type that contains information about the CIDR collection.
|
String |
getLocation()
A unique URL that represents the location for the CIDR collection.
|
int |
hashCode() |
void |
setCollection(CidrCollection collection)
A complex type that contains information about the CIDR collection.
|
void |
setLocation(String location)
A unique URL that represents the location for the CIDR collection.
|
String |
toString()
Returns a string representation of this object.
|
CreateCidrCollectionResult |
withCollection(CidrCollection collection)
A complex type that contains information about the CIDR collection.
|
CreateCidrCollectionResult |
withLocation(String location)
A unique URL that represents the location for the CIDR collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setCollection(CidrCollection collection)
A complex type that contains information about the CIDR collection.
collection - A complex type that contains information about the CIDR collection.public CidrCollection getCollection()
A complex type that contains information about the CIDR collection.
public CreateCidrCollectionResult withCollection(CidrCollection collection)
A complex type that contains information about the CIDR collection.
collection - A complex type that contains information about the CIDR collection.public void setLocation(String location)
A unique URL that represents the location for the CIDR collection.
location - A unique URL that represents the location for the CIDR collection.public String getLocation()
A unique URL that represents the location for the CIDR collection.
public CreateCidrCollectionResult withLocation(String location)
A unique URL that represents the location for the CIDR collection.
location - A unique URL that represents the location for the CIDR collection.public String toString()
toString in class ObjectObject.toString()public CreateCidrCollectionResult clone()