@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Accelerator extends Object implements Serializable, Cloneable, StructuredPojo
An accelerator is a complex type that includes one or more listeners that process inbound connections and then direct traffic to one or more endpoint groups, each of which includes endpoints, such as load balancers.
Constructor and Description |
---|
Accelerator() |
Modifier and Type | Method and Description |
---|---|
Accelerator |
clone() |
boolean |
equals(Object obj) |
String |
getAcceleratorArn()
The Amazon Resource Name (ARN) of the accelerator.
|
Date |
getCreatedTime()
The date and time that the accelerator was created.
|
Boolean |
getEnabled()
Indicates whether theaccelerator is enabled.
|
String |
getIpAddressType()
The value for the address type must be IPv4.
|
List<IpSet> |
getIpSets()
IP address set associated with the accelerator.
|
Date |
getLastModifiedTime()
The date and time that the accelerator was last modified.
|
String |
getName()
The name of the accelerator.
|
String |
getStatus()
Describes the deployment status of the accelerator.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether theaccelerator is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator.
|
void |
setCreatedTime(Date createdTime)
The date and time that the accelerator was created.
|
void |
setEnabled(Boolean enabled)
Indicates whether theaccelerator is enabled.
|
void |
setIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
|
void |
setIpSets(Collection<IpSet> ipSets)
IP address set associated with the accelerator.
|
void |
setLastModifiedTime(Date lastModifiedTime)
The date and time that the accelerator was last modified.
|
void |
setName(String name)
The name of the accelerator.
|
void |
setStatus(String status)
Describes the deployment status of the accelerator.
|
String |
toString()
Returns a string representation of this object.
|
Accelerator |
withAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator.
|
Accelerator |
withCreatedTime(Date createdTime)
The date and time that the accelerator was created.
|
Accelerator |
withEnabled(Boolean enabled)
Indicates whether theaccelerator is enabled.
|
Accelerator |
withIpAddressType(IpAddressType ipAddressType)
The value for the address type must be IPv4.
|
Accelerator |
withIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
|
Accelerator |
withIpSets(Collection<IpSet> ipSets)
IP address set associated with the accelerator.
|
Accelerator |
withIpSets(IpSet... ipSets)
IP address set associated with the accelerator.
|
Accelerator |
withLastModifiedTime(Date lastModifiedTime)
The date and time that the accelerator was last modified.
|
Accelerator |
withName(String name)
The name of the accelerator.
|
Accelerator |
withStatus(AcceleratorStatus status)
Describes the deployment status of the accelerator.
|
Accelerator |
withStatus(String status)
Describes the deployment status of the accelerator.
|
public void setAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator.
acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator.public String getAcceleratorArn()
The Amazon Resource Name (ARN) of the accelerator.
public Accelerator withAcceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator.
acceleratorArn
- The Amazon Resource Name (ARN) of the accelerator.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 Accelerator 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 Accelerator withIpAddressType(String ipAddressType)
The value for the address type must be IPv4.
ipAddressType
- The value for the address type must be IPv4.IpAddressType
public Accelerator 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 theaccelerator 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, accelerator can be deleted.
enabled
- Indicates whether theaccelerator 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, accelerator can be deleted.
public Boolean getEnabled()
Indicates whether theaccelerator 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, accelerator can be deleted.
If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.
public Accelerator withEnabled(Boolean enabled)
Indicates whether theaccelerator 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, accelerator can be deleted.
enabled
- Indicates whether theaccelerator 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, accelerator can be deleted.
public Boolean isEnabled()
Indicates whether theaccelerator 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, accelerator can be deleted.
If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.
public List<IpSet> getIpSets()
IP address set associated with the accelerator.
public void setIpSets(Collection<IpSet> ipSets)
IP address set associated with the accelerator.
ipSets
- IP address set associated with the accelerator.public Accelerator withIpSets(IpSet... ipSets)
IP address set associated with the accelerator.
NOTE: This method appends the values to the existing list (if any). Use
setIpSets(java.util.Collection)
or withIpSets(java.util.Collection)
if you want to override the
existing values.
ipSets
- IP address set associated with the accelerator.public Accelerator withIpSets(Collection<IpSet> ipSets)
IP address set associated with the accelerator.
ipSets
- IP address set associated with the accelerator.public void setStatus(String status)
Describes the deployment status of the accelerator.
status
- Describes the deployment status of the accelerator.AcceleratorStatus
public String getStatus()
Describes the deployment status of the accelerator.
AcceleratorStatus
public Accelerator withStatus(String status)
Describes the deployment status of the accelerator.
status
- Describes the deployment status of the accelerator.AcceleratorStatus
public Accelerator withStatus(AcceleratorStatus status)
Describes the deployment status of the accelerator.
status
- Describes the deployment status of the accelerator.AcceleratorStatus
public void setCreatedTime(Date createdTime)
The date and time that the accelerator was created.
createdTime
- The date and time that the accelerator was created.public Date getCreatedTime()
The date and time that the accelerator was created.
public Accelerator withCreatedTime(Date createdTime)
The date and time that the accelerator was created.
createdTime
- The date and time that the accelerator was created.public void setLastModifiedTime(Date lastModifiedTime)
The date and time that the accelerator was last modified.
lastModifiedTime
- The date and time that the accelerator was last modified.public Date getLastModifiedTime()
The date and time that the accelerator was last modified.
public Accelerator withLastModifiedTime(Date lastModifiedTime)
The date and time that the accelerator was last modified.
lastModifiedTime
- The date and time that the accelerator was last modified.public String toString()
toString
in class Object
Object.toString()
public Accelerator clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.