@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 IP addresses
from your own pool to use for the accelerator's static IP addresses when you create an accelerator.
|
String |
getIpAddressType()
The value for the address type must be IPv4.
|
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 IP addresses
from your own pool to use for the accelerator's static IP addresses when you create an accelerator.
|
void |
setIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
|
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 IP addresses
from your own pool to use for the accelerator's static IP addresses 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 IP addresses
from your own pool to use for the accelerator's static IP addresses when you create an accelerator.
|
CreateCustomRoutingAcceleratorRequest |
withIpAddressType(IpAddressType ipAddressType)
The value for the address type must be IPv4.
|
CreateCustomRoutingAcceleratorRequest |
withIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
|
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 value for the address type must be IPv4.
ipAddressType
- The value for the address type must be IPv4.IpAddressType
public String getIpAddressType()
The value for the address type must be IPv4.
IpAddressType
public CreateCustomRoutingAcceleratorRequest withIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
ipAddressType
- The value for the address type must be IPv4.IpAddressType
public CreateCustomRoutingAcceleratorRequest withIpAddressType(IpAddressType ipAddressType)
The value for the address type must be IPv4.
ipAddressType
- The value for the address type 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 IP addresses from your own pool to use for the accelerator's static IP addresses when you create an accelerator. You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
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 AWS Global Accelerator Developer Guide.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
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 AWS 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 IP addresses from your own pool to use for the accelerator's static IP addresses when you create an accelerator. You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
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 AWS Global Accelerator Developer Guide.
ipAddresses
- Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose IP
addresses from your own pool to use for the accelerator's static IP addresses when you create an
accelerator. You can specify one or two addresses, separated by a space. Do not include the /32
suffix.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
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 AWS 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 IP addresses from your own pool to use for the accelerator's static IP addresses when you create an accelerator. You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
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 AWS 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 IP
addresses from your own pool to use for the accelerator's static IP addresses when you create an
accelerator. You can specify one or two addresses, separated by a space. Do not include the /32
suffix.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
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 AWS 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 IP addresses from your own pool to use for the accelerator's static IP addresses when you create an accelerator. You can specify one or two addresses, separated by a space. Do not include the /32 suffix.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
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 AWS Global Accelerator Developer Guide.
ipAddresses
- Optionally, if you've added your own IP address pool to Global Accelerator (BYOIP), you can choose IP
addresses from your own pool to use for the accelerator's static IP addresses when you create an
accelerator. You can specify one or two addresses, separated by a space. Do not include the /32
suffix.
Only one IP address from each of your IP address ranges can be used for each accelerator. If you specify only one IP address from your IP address range, Global Accelerator assigns a second static IP address for the accelerator from the AWS IP address pool.
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 AWS 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 AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
public void setTags(Collection<Tag> tags)
Create tags for an accelerator.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
tags
- Create tags for an accelerator.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
public CreateCustomRoutingAcceleratorRequest withTags(Tag... tags)
Create tags for an accelerator.
For more information, see Tagging in AWS Global Accelerator in the AWS 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 AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
public CreateCustomRoutingAcceleratorRequest withTags(Collection<Tag> tags)
Create tags for an accelerator.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
tags
- Create tags for an accelerator.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide.
public String toString()
toString
in class Object
Object.toString()
public CreateCustomRoutingAcceleratorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()