@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CidrRoutingConfig extends Object implements Serializable, Cloneable
The object that is specified in resource record set object when you are linking a resource record set to a CIDR location.
A LocationName
with an asterisk “*” can be used to create a default CIDR record.
CollectionId
is still required for default record.
Constructor and Description |
---|
CidrRoutingConfig() |
Modifier and Type | Method and Description |
---|---|
CidrRoutingConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCollectionId()
The CIDR collection ID.
|
String |
getLocationName()
The CIDR collection location name.
|
int |
hashCode() |
void |
setCollectionId(String collectionId)
The CIDR collection ID.
|
void |
setLocationName(String locationName)
The CIDR collection location name.
|
String |
toString()
Returns a string representation of this object.
|
CidrRoutingConfig |
withCollectionId(String collectionId)
The CIDR collection ID.
|
CidrRoutingConfig |
withLocationName(String locationName)
The CIDR collection location name.
|
public void setCollectionId(String collectionId)
The CIDR collection ID.
collectionId
- The CIDR collection ID.public String getCollectionId()
The CIDR collection ID.
public CidrRoutingConfig withCollectionId(String collectionId)
The CIDR collection ID.
collectionId
- The CIDR collection ID.public void setLocationName(String locationName)
The CIDR collection location name.
locationName
- The CIDR collection location name.public String getLocationName()
The CIDR collection location name.
public CidrRoutingConfig withLocationName(String locationName)
The CIDR collection location name.
locationName
- The CIDR collection location name.public String toString()
toString
in class Object
Object.toString()
public CidrRoutingConfig clone()