@Generated(value="software.amazon.awssdk:codegen") public final class Accelerator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Accelerator.Builder,Accelerator>
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.
Modifier and Type | Class and Description |
---|---|
static interface |
Accelerator.Builder |
Modifier and Type | Method and Description |
---|---|
String |
acceleratorArn()
The Amazon Resource Name (ARN) of the accelerator.
|
static Accelerator.Builder |
builder() |
Instant |
createdTime()
The date and time that the accelerator was created.
|
Boolean |
enabled()
Indicates whether theaccelerator is enabled.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IpAddressType |
ipAddressType()
The value for the address type must be IPv4.
|
String |
ipAddressTypeAsString()
The value for the address type must be IPv4.
|
List<IpSet> |
ipSets()
IP address set associated with the accelerator.
|
Instant |
lastModifiedTime()
The date and time that the accelerator was last modified.
|
String |
name()
The name of the accelerator.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Accelerator.Builder> |
serializableBuilderClass() |
AcceleratorStatus |
status()
Describes the deployment status of the accelerator.
|
String |
statusAsString()
Describes the deployment status of the accelerator.
|
Accelerator.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String acceleratorArn()
The Amazon Resource Name (ARN) of the accelerator.
public 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.
public IpAddressType ipAddressType()
The value for the address type must be IPv4.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
ipAddressTypeAsString()
.
IpAddressType
public String ipAddressTypeAsString()
The value for the address type must be IPv4.
If the service returns an enum value that is not available in the current SDK version, ipAddressType
will return IpAddressType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
ipAddressTypeAsString()
.
IpAddressType
public 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.
If the value is set to true, the accelerator cannot be deleted. If set to false, accelerator can be deleted.
public List<IpSet> ipSets()
IP address set associated with the accelerator.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public AcceleratorStatus status()
Describes the deployment status of the accelerator.
If the service returns an enum value that is not available in the current SDK version, status
will
return AcceleratorStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
AcceleratorStatus
public String statusAsString()
Describes the deployment status of the accelerator.
If the service returns an enum value that is not available in the current SDK version, status
will
return AcceleratorStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
statusAsString()
.
AcceleratorStatus
public Instant createdTime()
The date and time that the accelerator was created.
public Instant lastModifiedTime()
The date and time that the accelerator was last modified.
public Accelerator.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Accelerator.Builder,Accelerator>
public static Accelerator.Builder builder()
public static Class<? extends Accelerator.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.