@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAcceleratorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateAcceleratorRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateAcceleratorRequest |
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.
|
List<String> |
getIpAddresses()
The IP addresses for an accelerator.
|
String |
getIpAddressType()
The IP address type that an accelerator supports.
|
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 |
setIpAddresses(Collection<String> ipAddresses)
The IP addresses for an accelerator.
|
void |
setIpAddressType(String ipAddressType)
The IP address type that an accelerator supports.
|
void |
setName(String name)
The name of the accelerator.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAcceleratorRequest |
withAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator to update.
|
UpdateAcceleratorRequest |
withEnabled(Boolean enabled)
Indicates whether an accelerator is enabled.
|
UpdateAcceleratorRequest |
withIpAddresses(Collection<String> ipAddresses)
The IP addresses for an accelerator.
|
UpdateAcceleratorRequest |
withIpAddresses(String... ipAddresses)
The IP addresses for an accelerator.
|
UpdateAcceleratorRequest |
withIpAddressType(IpAddressType ipAddressType)
The IP address type that an accelerator supports.
|
UpdateAcceleratorRequest |
withIpAddressType(String ipAddressType)
The IP address type that an accelerator supports.
|
UpdateAcceleratorRequest |
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 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 UpdateAcceleratorRequest 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 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.
name
- The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric
characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.public String getName()
The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.
public UpdateAcceleratorRequest withName(String name)
The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.
name
- The name of the accelerator. The name can have a maximum of 64 characters, must contain only alphanumeric
characters, periods (.), or hyphens (-), and must not begin or end with a hyphen or period.public void setIpAddressType(String ipAddressType)
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
ipAddressType
- The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or
DUAL_STACK.IpAddressType
public String getIpAddressType()
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
IpAddressType
public UpdateAcceleratorRequest withIpAddressType(String ipAddressType)
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
ipAddressType
- The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or
DUAL_STACK.IpAddressType
public UpdateAcceleratorRequest withIpAddressType(IpAddressType ipAddressType)
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
ipAddressType
- The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or
DUAL_STACK.IpAddressType
public List<String> getIpAddresses()
The IP addresses for an accelerator.
public void setIpAddresses(Collection<String> ipAddresses)
The IP addresses for an accelerator.
ipAddresses
- The IP addresses for an accelerator.public UpdateAcceleratorRequest withIpAddresses(String... ipAddresses)
The IP addresses for an accelerator.
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
- The IP addresses for an accelerator.public UpdateAcceleratorRequest withIpAddresses(Collection<String> ipAddresses)
The IP addresses for an accelerator.
ipAddresses
- The IP addresses for an accelerator.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 UpdateAcceleratorRequest 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 UpdateAcceleratorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()