@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.
|
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.
|
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 |
withIpAddressType(IpAddressType ipAddressType)
The value for the address type must be IPv4.
|
UpdateAcceleratorRequest |
withIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
|
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 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 UpdateAcceleratorRequest 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 UpdateAcceleratorRequest withIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
ipAddressType
- The value for the address type must be IPv4.IpAddressType
public UpdateAcceleratorRequest 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 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()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.