@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SubnetCidrReservation extends Object implements Serializable, Cloneable
Describes a subnet CIDR reservation.
Constructor and Description |
---|
SubnetCidrReservation() |
Modifier and Type | Method and Description |
---|---|
SubnetCidrReservation |
clone() |
boolean |
equals(Object obj) |
String |
getCidr()
The CIDR that has been reserved.
|
String |
getDescription()
The description assigned to the subnet CIDR reservation.
|
String |
getOwnerId()
The ID of the account that owns the subnet CIDR reservation.
|
String |
getReservationType()
The type of reservation.
|
String |
getSubnetCidrReservationId()
The ID of the subnet CIDR reservation.
|
String |
getSubnetId()
The ID of the subnet.
|
List<Tag> |
getTags()
The tags assigned to the subnet CIDR reservation.
|
int |
hashCode() |
void |
setCidr(String cidr)
The CIDR that has been reserved.
|
void |
setDescription(String description)
The description assigned to the subnet CIDR reservation.
|
void |
setOwnerId(String ownerId)
The ID of the account that owns the subnet CIDR reservation.
|
void |
setReservationType(String reservationType)
The type of reservation.
|
void |
setSubnetCidrReservationId(String subnetCidrReservationId)
The ID of the subnet CIDR reservation.
|
void |
setSubnetId(String subnetId)
The ID of the subnet.
|
void |
setTags(Collection<Tag> tags)
The tags assigned to the subnet CIDR reservation.
|
String |
toString()
Returns a string representation of this object.
|
SubnetCidrReservation |
withCidr(String cidr)
The CIDR that has been reserved.
|
SubnetCidrReservation |
withDescription(String description)
The description assigned to the subnet CIDR reservation.
|
SubnetCidrReservation |
withOwnerId(String ownerId)
The ID of the account that owns the subnet CIDR reservation.
|
SubnetCidrReservation |
withReservationType(String reservationType)
The type of reservation.
|
SubnetCidrReservation |
withReservationType(SubnetCidrReservationType reservationType)
The type of reservation.
|
SubnetCidrReservation |
withSubnetCidrReservationId(String subnetCidrReservationId)
The ID of the subnet CIDR reservation.
|
SubnetCidrReservation |
withSubnetId(String subnetId)
The ID of the subnet.
|
SubnetCidrReservation |
withTags(Collection<Tag> tags)
The tags assigned to the subnet CIDR reservation.
|
SubnetCidrReservation |
withTags(Tag... tags)
The tags assigned to the subnet CIDR reservation.
|
public void setSubnetCidrReservationId(String subnetCidrReservationId)
The ID of the subnet CIDR reservation.
subnetCidrReservationId
- The ID of the subnet CIDR reservation.public String getSubnetCidrReservationId()
The ID of the subnet CIDR reservation.
public SubnetCidrReservation withSubnetCidrReservationId(String subnetCidrReservationId)
The ID of the subnet CIDR reservation.
subnetCidrReservationId
- The ID of the subnet CIDR reservation.public void setSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public String getSubnetId()
The ID of the subnet.
public SubnetCidrReservation withSubnetId(String subnetId)
The ID of the subnet.
subnetId
- The ID of the subnet.public void setCidr(String cidr)
The CIDR that has been reserved.
cidr
- The CIDR that has been reserved.public String getCidr()
The CIDR that has been reserved.
public SubnetCidrReservation withCidr(String cidr)
The CIDR that has been reserved.
cidr
- The CIDR that has been reserved.public void setReservationType(String reservationType)
The type of reservation.
reservationType
- The type of reservation.SubnetCidrReservationType
public String getReservationType()
The type of reservation.
SubnetCidrReservationType
public SubnetCidrReservation withReservationType(String reservationType)
The type of reservation.
reservationType
- The type of reservation.SubnetCidrReservationType
public SubnetCidrReservation withReservationType(SubnetCidrReservationType reservationType)
The type of reservation.
reservationType
- The type of reservation.SubnetCidrReservationType
public void setOwnerId(String ownerId)
The ID of the account that owns the subnet CIDR reservation.
ownerId
- The ID of the account that owns the subnet CIDR reservation.public String getOwnerId()
The ID of the account that owns the subnet CIDR reservation.
public SubnetCidrReservation withOwnerId(String ownerId)
The ID of the account that owns the subnet CIDR reservation.
ownerId
- The ID of the account that owns the subnet CIDR reservation.public void setDescription(String description)
The description assigned to the subnet CIDR reservation.
description
- The description assigned to the subnet CIDR reservation.public String getDescription()
The description assigned to the subnet CIDR reservation.
public SubnetCidrReservation withDescription(String description)
The description assigned to the subnet CIDR reservation.
description
- The description assigned to the subnet CIDR reservation.public List<Tag> getTags()
The tags assigned to the subnet CIDR reservation.
public void setTags(Collection<Tag> tags)
The tags assigned to the subnet CIDR reservation.
tags
- The tags assigned to the subnet CIDR reservation.public SubnetCidrReservation withTags(Tag... tags)
The tags assigned to the subnet CIDR reservation.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags assigned to the subnet CIDR reservation.public SubnetCidrReservation withTags(Collection<Tag> tags)
The tags assigned to the subnet CIDR reservation.
tags
- The tags assigned to the subnet CIDR reservation.public String toString()
toString
in class Object
Object.toString()
public SubnetCidrReservation clone()