Interface Accelerator.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Accelerator.Builder,Accelerator>,SdkBuilder<Accelerator.Builder,Accelerator>,SdkPojo
- Enclosing class:
- Accelerator
public static interface Accelerator.Builder extends SdkPojo, CopyableBuilder<Accelerator.Builder,Accelerator>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Accelerator.BuilderacceleratorArn(String acceleratorArn)The Amazon Resource Name (ARN) of the accelerator.Accelerator.BuildercreatedTime(Instant createdTime)The date and time that the accelerator was created.Accelerator.BuilderdnsName(String dnsName)The Domain Name System (DNS) name that Global Accelerator creates that points to an accelerator's static IPv4 addresses.Accelerator.BuilderdualStackDnsName(String dualStackDnsName)The Domain Name System (DNS) name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses.Accelerator.Builderenabled(Boolean enabled)Indicates whether the accelerator is enabled.Accelerator.Builderevents(Collection<AcceleratorEvent> events)A history of changes that you make to an accelerator in Global Accelerator.Accelerator.Builderevents(Consumer<AcceleratorEvent.Builder>... events)A history of changes that you make to an accelerator in Global Accelerator.Accelerator.Builderevents(AcceleratorEvent... events)A history of changes that you make to an accelerator in Global Accelerator.Accelerator.BuilderipAddressType(String ipAddressType)The IP address type that an accelerator supports.Accelerator.BuilderipAddressType(IpAddressType ipAddressType)The IP address type that an accelerator supports.Accelerator.BuilderipSets(Collection<IpSet> ipSets)The static IP addresses that Global Accelerator associates with the accelerator.Accelerator.BuilderipSets(Consumer<IpSet.Builder>... ipSets)The static IP addresses that Global Accelerator associates with the accelerator.Accelerator.BuilderipSets(IpSet... ipSets)The static IP addresses that Global Accelerator associates with the accelerator.Accelerator.BuilderlastModifiedTime(Instant lastModifiedTime)The date and time that the accelerator was last modified.Accelerator.Buildername(String name)The name of the accelerator.Accelerator.Builderstatus(String status)Describes the deployment status of the accelerator.Accelerator.Builderstatus(AcceleratorStatus status)Describes the deployment status of the accelerator.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
acceleratorArn
Accelerator.Builder acceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the accelerator.
- Parameters:
acceleratorArn- The Amazon Resource Name (ARN) of the accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Accelerator.Builder name(String name)
The name of the accelerator. The name must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.
- Parameters:
name- The name of the accelerator. The name must contain only alphanumeric characters or hyphens (-), and must not begin or end with a hyphen.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddressType
Accelerator.Builder ipAddressType(String ipAddressType)
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
- Parameters:
ipAddressType- The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpAddressType,IpAddressType
-
ipAddressType
Accelerator.Builder ipAddressType(IpAddressType ipAddressType)
The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.
- Parameters:
ipAddressType- The IP address type that an accelerator supports. For a standard accelerator, the value can be IPV4 or DUAL_STACK.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpAddressType,IpAddressType
-
enabled
Accelerator.Builder enabled(Boolean enabled)
Indicates whether the 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, accelerator can be deleted.
- Parameters:
enabled- Indicates whether the 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, accelerator can be deleted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSets
Accelerator.Builder ipSets(Collection<IpSet> ipSets)
The static IP addresses that Global Accelerator associates with the accelerator.
- Parameters:
ipSets- The static IP addresses that Global Accelerator associates with the accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSets
Accelerator.Builder ipSets(IpSet... ipSets)
The static IP addresses that Global Accelerator associates with the accelerator.
- Parameters:
ipSets- The static IP addresses that Global Accelerator associates with the accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipSets
Accelerator.Builder ipSets(Consumer<IpSet.Builder>... ipSets)
The static IP addresses that Global Accelerator associates with the accelerator.
This is a convenience method that creates an instance of theIpSet.Builderavoiding the need to create one manually viaIpSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ipSets(List.) - Parameters:
ipSets- a consumer that will call methods onIpSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ipSets(java.util.Collection)
-
dnsName
Accelerator.Builder dnsName(String dnsName)
The Domain Name System (DNS) name that Global Accelerator creates that points to an accelerator's static IPv4 addresses.
The naming convention for the DNS name for an accelerator is the following: A lowercase letter a, followed by a 16-bit random hex string, followed by .awsglobalaccelerator.com. For example: a1234567890abcdef.awsglobalaccelerator.com.
If you have a dual-stack accelerator, you also have a second DNS name,
DualStackDnsName, that points to both the A record and the AAAA record for all four static addresses for the accelerator: two IPv4 addresses and two IPv6 addresses.For more information about the default DNS name, see Support for DNS addressing in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
dnsName- The Domain Name System (DNS) name that Global Accelerator creates that points to an accelerator's static IPv4 addresses.The naming convention for the DNS name for an accelerator is the following: A lowercase letter a, followed by a 16-bit random hex string, followed by .awsglobalaccelerator.com. For example: a1234567890abcdef.awsglobalaccelerator.com.
If you have a dual-stack accelerator, you also have a second DNS name,
DualStackDnsName, that points to both the A record and the AAAA record for all four static addresses for the accelerator: two IPv4 addresses and two IPv6 addresses.For more information about the default DNS name, see Support for DNS addressing in Global Accelerator in the Global Accelerator Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Accelerator.Builder status(String status)
Describes the deployment status of the accelerator.
- Parameters:
status- Describes the deployment status of the accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AcceleratorStatus,AcceleratorStatus
-
status
Accelerator.Builder status(AcceleratorStatus status)
Describes the deployment status of the accelerator.
- Parameters:
status- Describes the deployment status of the accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AcceleratorStatus,AcceleratorStatus
-
createdTime
Accelerator.Builder createdTime(Instant createdTime)
The date and time that the accelerator was created.
- Parameters:
createdTime- The date and time that the accelerator was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
Accelerator.Builder lastModifiedTime(Instant lastModifiedTime)
The date and time that the accelerator was last modified.
- Parameters:
lastModifiedTime- The date and time that the accelerator was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dualStackDnsName
Accelerator.Builder dualStackDnsName(String dualStackDnsName)
The Domain Name System (DNS) name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses.
The naming convention for the dual-stack DNS name is the following: A lowercase letter a, followed by a 16-bit random hex string, followed by .dualstack.awsglobalaccelerator.com. For example: a1234567890abcdef.dualstack.awsglobalaccelerator.com.
Note: Global Accelerator also assigns a default DNS name,
DnsName, to your accelerator that points just to the static IPv4 addresses.For more information, see Support for DNS addressing in Global Accelerator in the Global Accelerator Developer Guide.
- Parameters:
dualStackDnsName- The Domain Name System (DNS) name that Global Accelerator creates that points to a dual-stack accelerator's four static IP addresses: two IPv4 addresses and two IPv6 addresses.The naming convention for the dual-stack DNS name is the following: A lowercase letter a, followed by a 16-bit random hex string, followed by .dualstack.awsglobalaccelerator.com. For example: a1234567890abcdef.dualstack.awsglobalaccelerator.com.
Note: Global Accelerator also assigns a default DNS name,
DnsName, to your accelerator that points just to the static IPv4 addresses.For more information, see Support for DNS addressing in Global Accelerator in the Global Accelerator Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Accelerator.Builder events(Collection<AcceleratorEvent> events)
A history of changes that you make to an accelerator in Global Accelerator.
- Parameters:
events- A history of changes that you make to an accelerator in Global Accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Accelerator.Builder events(AcceleratorEvent... events)
A history of changes that you make to an accelerator in Global Accelerator.
- Parameters:
events- A history of changes that you make to an accelerator in Global Accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
Accelerator.Builder events(Consumer<AcceleratorEvent.Builder>... events)
A history of changes that you make to an accelerator in Global Accelerator.
This is a convenience method that creates an instance of theAcceleratorEvent.Builderavoiding the need to create one manually viaAcceleratorEvent.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#events(List.) - Parameters:
events- a consumer that will call methods onAcceleratorEvent.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#events(java.util.Collection)
-
-