@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateCustomRoutingAcceleratorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateCustomRoutingAcceleratorRequest() |
Modifier and Type | Method and Description |
---|---|
CreateCustomRoutingAcceleratorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Indicates whether an accelerator is enabled.
|
String |
getIdempotencyToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
List<String> |
getIpAddresses()
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4
address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
|
String |
getIpAddressType()
The IP address type that an accelerator supports.
|
String |
getName()
The name of a custom routing accelerator.
|
List<Tag> |
getTags()
Create tags for an accelerator.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether an accelerator is enabled.
|
void |
setEnabled(Boolean enabled)
Indicates whether an accelerator is enabled.
|
void |
setIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
void |
setIpAddresses(Collection<String> ipAddresses)
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4
address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
|
void |
setIpAddressType(String ipAddressType)
The IP address type that an accelerator supports.
|
void |
setName(String name)
The name of a custom routing accelerator.
|
void |
setTags(Collection<Tag> tags)
Create tags for an accelerator.
|
String |
toString()
Returns a string representation of this object.
|
CreateCustomRoutingAcceleratorRequest |
withEnabled(Boolean enabled)
Indicates whether an accelerator is enabled.
|
CreateCustomRoutingAcceleratorRequest |
withIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the
request.
|
CreateCustomRoutingAcceleratorRequest |
withIpAddresses(Collection<String> ipAddresses)
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4
address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
|
CreateCustomRoutingAcceleratorRequest |
withIpAddresses(String... ipAddresses)
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4
address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
|
CreateCustomRoutingAcceleratorRequest |
withIpAddressType(IpAddressType ipAddressType)
The IP address type that an accelerator supports.
|
CreateCustomRoutingAcceleratorRequest |
withIpAddressType(String ipAddressType)
The IP address type that an accelerator supports.
|
CreateCustomRoutingAcceleratorRequest |
withName(String name)
The name of a custom routing accelerator.
|
CreateCustomRoutingAcceleratorRequest |
withTags(Collection<Tag> tags)
Create tags for an accelerator.
|
CreateCustomRoutingAcceleratorRequest |
withTags(Tag... tags)
Create tags for an accelerator.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public CreateCustomRoutingAcceleratorRequest()
public void setName(String name)
The name of a custom routing accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
name
- The name of a custom routing accelerator. The name can have a maximum of 64 characters, must contain only
alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.public String getName()
The name of a custom routing accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
public CreateCustomRoutingAcceleratorRequest withName(String name)
The name of a custom routing accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
name
- The name of a custom routing accelerator. The name can have a maximum of 64 characters, must contain only
alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.public void setIpAddressType(String ipAddressType)
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
ipAddressType
- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be
IPV4.IpAddressType
public String getIpAddressType()
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
IpAddressType
public CreateCustomRoutingAcceleratorRequest withIpAddressType(String ipAddressType)
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
ipAddressType
- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be
IPV4.IpAddressType
public CreateCustomRoutingAcceleratorRequest withIpAddressType(IpAddressType ipAddressType)
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
ipAddressType
- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be
IPV4.IpAddressType
public List<String> getIpAddresses()
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
public void setIpAddresses(Collection<String> ipAddresses)
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
ipAddresses
- Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4
address from your own pool to use for the accelerator's static IPv4 address when you create an
accelerator.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
public CreateCustomRoutingAcceleratorRequest withIpAddresses(String... ipAddresses)
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
NOTE: This method appends the values to the existing list (if any). Use
setIpAddresses(java.util.Collection)
or withIpAddresses(java.util.Collection)
if you want to
override the existing values.
ipAddresses
- Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4
address from your own pool to use for the accelerator's static IPv4 address when you create an
accelerator.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
public CreateCustomRoutingAcceleratorRequest withIpAddresses(Collection<String> ipAddresses)
Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4 address from your own pool to use for the accelerator's static IPv4 address when you create an accelerator.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
ipAddresses
- Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose an IPv4
address from your own pool to use for the accelerator's static IPv4 address when you create an
accelerator.
After you bring an address range to Amazon Web Services, it appears in your account as an address pool. When you create an accelerator, you can assign one IPv4 address from your range to it. Global Accelerator assigns you a second static IPv4 address from an Amazon IP address range. If you bring two IPv4 address ranges to Amazon Web Services, you can assign one IPv4 address from each range to your accelerator. This restriction is because Global Accelerator assigns each address range to a different network zone, for high availability.
You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Note that you can't update IP addresses for an existing accelerator. To change them, you must create a new accelerator with the new addresses.
For more information, see Bring your own IP addresses (BYOIP) in the Global Accelerator Developer Guide.
public void setEnabled(Boolean enabled)
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
enabled
- Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
public Boolean getEnabled()
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
public CreateCustomRoutingAcceleratorRequest withEnabled(Boolean enabled)
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
enabled
- Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
public Boolean isEnabled()
Indicates whether an accelerator is enabled. The value is true or false. The default value is true.
If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
If the value is set to true, an accelerator cannot be deleted. If set to false, the accelerator can be deleted.
public void setIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
idempotencyToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of
the request.public String getIdempotencyToken()
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
public CreateCustomRoutingAcceleratorRequest withIdempotencyToken(String idempotencyToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of the request.
idempotencyToken
- A unique, case-sensitive identifier that you provide to ensure the idempotency—that is, the uniqueness—of
the request.public List<Tag> getTags()
Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
public void setTags(Collection<Tag> tags)
Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
tags
- Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
public CreateCustomRoutingAcceleratorRequest withTags(Tag... tags)
Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
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
- Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
public CreateCustomRoutingAcceleratorRequest withTags(Collection<Tag> tags)
Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
tags
- Create tags for an accelerator.
For more information, see Tagging in Global Accelerator in the Global Accelerator Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateCustomRoutingAcceleratorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()