@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.
|
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 |
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 |
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 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()