@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ByoipCidr extends Object implements Serializable, Cloneable
Information about an address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP).
Constructor and Description |
---|
ByoipCidr() |
Modifier and Type | Method and Description |
---|---|
ByoipCidr |
clone() |
boolean |
equals(Object obj) |
String |
getCidr()
The address range, in CIDR notation.
|
String |
getDescription()
The description of the address range.
|
String |
getState()
The state of the address pool.
|
String |
getStatusMessage()
Upon success, contains the ID of the address pool.
|
int |
hashCode() |
void |
setCidr(String cidr)
The address range, in CIDR notation.
|
void |
setDescription(String description)
The description of the address range.
|
void |
setState(String state)
The state of the address pool.
|
void |
setStatusMessage(String statusMessage)
Upon success, contains the ID of the address pool.
|
String |
toString()
Returns a string representation of this object.
|
ByoipCidr |
withCidr(String cidr)
The address range, in CIDR notation.
|
ByoipCidr |
withDescription(String description)
The description of the address range.
|
ByoipCidr |
withState(ByoipCidrState state)
The state of the address pool.
|
ByoipCidr |
withState(String state)
The state of the address pool.
|
ByoipCidr |
withStatusMessage(String statusMessage)
Upon success, contains the ID of the address pool.
|
public void setCidr(String cidr)
The address range, in CIDR notation.
cidr
- The address range, in CIDR notation.public String getCidr()
The address range, in CIDR notation.
public ByoipCidr withCidr(String cidr)
The address range, in CIDR notation.
cidr
- The address range, in CIDR notation.public void setDescription(String description)
The description of the address range.
description
- The description of the address range.public String getDescription()
The description of the address range.
public ByoipCidr withDescription(String description)
The description of the address range.
description
- The description of the address range.public void setStatusMessage(String statusMessage)
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
statusMessage
- Upon success, contains the ID of the address pool. Otherwise, contains an error message.public String getStatusMessage()
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
public ByoipCidr withStatusMessage(String statusMessage)
Upon success, contains the ID of the address pool. Otherwise, contains an error message.
statusMessage
- Upon success, contains the ID of the address pool. Otherwise, contains an error message.public void setState(String state)
The state of the address pool.
state
- The state of the address pool.ByoipCidrState
public String getState()
The state of the address pool.
ByoipCidrState
public ByoipCidr withState(String state)
The state of the address pool.
state
- The state of the address pool.ByoipCidrState
public ByoipCidr withState(ByoipCidrState state)
The state of the address pool.
state
- The state of the address pool.ByoipCidrState
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.