Interface CustomRoutingAccelerator.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomRoutingAccelerator.Builder,CustomRoutingAccelerator>,SdkBuilder<CustomRoutingAccelerator.Builder,CustomRoutingAccelerator>,SdkPojo
- Enclosing class:
- CustomRoutingAccelerator
public static interface CustomRoutingAccelerator.Builder extends SdkPojo, CopyableBuilder<CustomRoutingAccelerator.Builder,CustomRoutingAccelerator>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CustomRoutingAccelerator.BuilderacceleratorArn(String acceleratorArn)The Amazon Resource Name (ARN) of the custom routing accelerator.CustomRoutingAccelerator.BuildercreatedTime(Instant createdTime)The date and time that the accelerator was created.CustomRoutingAccelerator.BuilderdnsName(String dnsName)The Domain Name System (DNS) name that Global Accelerator creates that points to an accelerator's static IPv4 addresses.CustomRoutingAccelerator.Builderenabled(Boolean enabled)Indicates whether the accelerator is enabled.CustomRoutingAccelerator.BuilderipAddressType(String ipAddressType)The IP address type that an accelerator supports.CustomRoutingAccelerator.BuilderipAddressType(IpAddressType ipAddressType)The IP address type that an accelerator supports.CustomRoutingAccelerator.BuilderipSets(Collection<IpSet> ipSets)The static IP addresses that Global Accelerator associates with the accelerator.CustomRoutingAccelerator.BuilderipSets(Consumer<IpSet.Builder>... ipSets)The static IP addresses that Global Accelerator associates with the accelerator.CustomRoutingAccelerator.BuilderipSets(IpSet... ipSets)The static IP addresses that Global Accelerator associates with the accelerator.CustomRoutingAccelerator.BuilderlastModifiedTime(Instant lastModifiedTime)The date and time that the accelerator was last modified.CustomRoutingAccelerator.Buildername(String name)The name of the accelerator.CustomRoutingAccelerator.Builderstatus(String status)Describes the deployment status of the accelerator.CustomRoutingAccelerator.Builderstatus(CustomRoutingAcceleratorStatus 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
CustomRoutingAccelerator.Builder acceleratorArn(String acceleratorArn)
The Amazon Resource Name (ARN) of the custom routing accelerator.
- Parameters:
acceleratorArn- The Amazon Resource Name (ARN) of the custom routing accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CustomRoutingAccelerator.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
CustomRoutingAccelerator.Builder ipAddressType(String ipAddressType)
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
- Parameters:
ipAddressType- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpAddressType,IpAddressType
-
ipAddressType
CustomRoutingAccelerator.Builder ipAddressType(IpAddressType ipAddressType)
The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.
- Parameters:
ipAddressType- The IP address type that an accelerator supports. For a custom routing accelerator, the value must be IPV4.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
IpAddressType,IpAddressType
-
enabled
CustomRoutingAccelerator.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
CustomRoutingAccelerator.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
CustomRoutingAccelerator.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
CustomRoutingAccelerator.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
CustomRoutingAccelerator.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 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 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
CustomRoutingAccelerator.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:
CustomRoutingAcceleratorStatus,CustomRoutingAcceleratorStatus
-
status
CustomRoutingAccelerator.Builder status(CustomRoutingAcceleratorStatus 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:
CustomRoutingAcceleratorStatus,CustomRoutingAcceleratorStatus
-
createdTime
CustomRoutingAccelerator.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
CustomRoutingAccelerator.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.
-
-