@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ByoipCidr extends Object implements Serializable, Cloneable, StructuredPojo
Information about an IP address range that is provisioned for use with your AWS resources through bring your own IP address (BYOIP).
The following describes each BYOIP State
that your IP address range can be in.
PENDING_PROVISIONING — You’ve submitted a request to provision an IP address range but it is not yet provisioned with AWS Global Accelerator.
READY — The address range is provisioned with AWS Global Accelerator and can be advertised.
PENDING_ADVERTISING — You’ve submitted a request for AWS Global Accelerator to advertise an address range but it is not yet being advertised.
ADVERTISING — The address range is being advertised by AWS Global Accelerator.
PENDING_WITHDRAWING — You’ve submitted a request to withdraw an address range from being advertised but it is still being advertised by AWS Global Accelerator.
PENDING_DEPROVISIONING — You’ve submitted a request to deprovision an address range from AWS Global Accelerator but it is still provisioned.
DEPROVISIONED — The address range is deprovisioned from AWS Global Accelerator.
FAILED_PROVISION — The request to provision the address range from AWS Global Accelerator was not successful. Please make sure that you provide all of the correct information, and try again. If the request fails a second time, contact AWS support.
FAILED_ADVERTISING — The request for AWS Global Accelerator to advertise the address range was not successful. Please make sure that you provide all of the correct information, and try again. If the request fails a second time, contact AWS support.
FAILED_WITHDRAW — The request to withdraw the address range from advertising by AWS Global Accelerator was not successful. Please make sure that you provide all of the correct information, and try again. If the request fails a second time, contact AWS support.
FAILED_DEPROVISION — The request to deprovision the address range from AWS Global Accelerator was not successful. Please make sure that you provide all of the correct information, and try again. If the request fails a second time, contact AWS support.
Constructor and Description |
---|
ByoipCidr() |
Modifier and Type | Method and Description |
---|---|
ByoipCidr |
clone() |
boolean |
equals(Object obj) |
String |
getCidr()
The address range, in CIDR notation.
|
List<ByoipCidrEvent> |
getEvents()
A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring your
own IP address (BYOIP).
|
String |
getState()
The state of the address pool.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCidr(String cidr)
The address range, in CIDR notation.
|
void |
setEvents(Collection<ByoipCidrEvent> events)
A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring your
own IP address (BYOIP).
|
void |
setState(String state)
The state of the address pool.
|
String |
toString()
Returns a string representation of this object.
|
ByoipCidr |
withCidr(String cidr)
The address range, in CIDR notation.
|
ByoipCidr |
withEvents(ByoipCidrEvent... events)
A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring your
own IP address (BYOIP).
|
ByoipCidr |
withEvents(Collection<ByoipCidrEvent> events)
A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring your
own IP address (BYOIP).
|
ByoipCidr |
withState(ByoipCidrState state)
The state of the address pool.
|
ByoipCidr |
withState(String state)
The state 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 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 List<ByoipCidrEvent> getEvents()
A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring your own IP address (BYOIP).
public void setEvents(Collection<ByoipCidrEvent> events)
A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring your own IP address (BYOIP).
events
- A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring
your own IP address (BYOIP).public ByoipCidr withEvents(ByoipCidrEvent... events)
A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring your own IP address (BYOIP).
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection)
or withEvents(java.util.Collection)
if you want to override the
existing values.
events
- A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring
your own IP address (BYOIP).public ByoipCidr withEvents(Collection<ByoipCidrEvent> events)
A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring your own IP address (BYOIP).
events
- A history of status changes for an IP address range that you bring to AWS Global Accelerator through bring
your own IP address (BYOIP).public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.