@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoipAddressUsage extends Object implements Serializable, Cloneable
Describes address usage for a customer-owned address pool.
Constructor and Description |
---|
CoipAddressUsage() |
Modifier and Type | Method and Description |
---|---|
CoipAddressUsage |
clone() |
boolean |
equals(Object obj) |
String |
getAllocationId()
The allocation ID of the address.
|
String |
getAwsAccountId()
The Amazon Web Services account ID.
|
String |
getAwsService()
The Amazon Web Services service.
|
String |
getCoIp()
The customer-owned IP address.
|
int |
hashCode() |
void |
setAllocationId(String allocationId)
The allocation ID of the address.
|
void |
setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
|
void |
setAwsService(String awsService)
The Amazon Web Services service.
|
void |
setCoIp(String coIp)
The customer-owned IP address.
|
String |
toString()
Returns a string representation of this object.
|
CoipAddressUsage |
withAllocationId(String allocationId)
The allocation ID of the address.
|
CoipAddressUsage |
withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
|
CoipAddressUsage |
withAwsService(String awsService)
The Amazon Web Services service.
|
CoipAddressUsage |
withCoIp(String coIp)
The customer-owned IP address.
|
public void setAllocationId(String allocationId)
The allocation ID of the address.
allocationId
- The allocation ID of the address.public String getAllocationId()
The allocation ID of the address.
public CoipAddressUsage withAllocationId(String allocationId)
The allocation ID of the address.
allocationId
- The allocation ID of the address.public void setAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
awsAccountId
- The Amazon Web Services account ID.public String getAwsAccountId()
The Amazon Web Services account ID.
public CoipAddressUsage withAwsAccountId(String awsAccountId)
The Amazon Web Services account ID.
awsAccountId
- The Amazon Web Services account ID.public void setAwsService(String awsService)
The Amazon Web Services service.
awsService
- The Amazon Web Services service.public String getAwsService()
The Amazon Web Services service.
public CoipAddressUsage withAwsService(String awsService)
The Amazon Web Services service.
awsService
- The Amazon Web Services service.public void setCoIp(String coIp)
The customer-owned IP address.
coIp
- The customer-owned IP address.public String getCoIp()
The customer-owned IP address.
public CoipAddressUsage withCoIp(String coIp)
The customer-owned IP address.
coIp
- The customer-owned IP address.public String toString()
toString
in class Object
Object.toString()
public CoipAddressUsage clone()