@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCustomRoutingAcceleratorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateCustomRoutingAcceleratorRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateCustomRoutingAcceleratorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAcceleratorArn()
The Amazon Resource Name (ARN) of the accelerator to update.
|
Boolean |
getEnabled()
Indicates whether an accelerator is enabled.
|
String |
getIpAddressType()
The value for the address type must be IPv4.
|
String |
getName()
The name of the accelerator.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether an accelerator is enabled.
|
void |
setAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator to update.
|
void |
setEnabled(Boolean enabled)
Indicates whether an accelerator is enabled.
|
void |
setIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
|
void |
setName(String name)
The name of the accelerator.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCustomRoutingAcceleratorRequest |
withAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator to update.
|
UpdateCustomRoutingAcceleratorRequest |
withEnabled(Boolean enabled)
Indicates whether an accelerator is enabled.
|
UpdateCustomRoutingAcceleratorRequest |
withIpAddressType(IpAddressType ipAddressType)
The value for the address type must be IPv4.
|
UpdateCustomRoutingAcceleratorRequest |
withIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
|
UpdateCustomRoutingAcceleratorRequest |
withName(String name)
The name of the 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 UpdateCustomRoutingAcceleratorRequest()
public void setAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator to update.
acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator to update.public String getAcceleratorArn()
The Amazon Resource Name (ARN) of the accelerator to update.
public UpdateCustomRoutingAcceleratorRequest withAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator to update.
acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator to update.public void setName(String name)
The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
name
- The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric
characters or hyphens (-), and must not begin or end with a hyphen.public String getName()
The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
public UpdateCustomRoutingAcceleratorRequest withName(String name)
The name of the accelerator. The name can have a maximum of 32 characters, must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
name
- The name of the accelerator. The name can have a maximum of 32 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 UpdateCustomRoutingAcceleratorRequest withIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
ipAddressType
- The value for the address type must be IPv4.IpAddressType
public UpdateCustomRoutingAcceleratorRequest 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, the 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, the 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, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
public UpdateCustomRoutingAcceleratorRequest 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, the 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, the 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, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
If the value is set to true, the accelerator cannot be deleted. If set to false, the accelerator can be deleted.
public String toString()
toString
in class Object
Object.toString()
public UpdateCustomRoutingAcceleratorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()