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 Details

    • 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

      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

      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:
    • 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

      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

      The static IP addresses that Global Accelerator associates with the accelerator.

      This is a convenience method that creates an instance of the IpSet.Builder avoiding the need to create one manually via IpSet.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ipSets(List<IpSet>).

      Parameters:
      ipSets - a consumer that will call methods on IpSet.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • 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:
    • 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

      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

      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

      A history of changes that you make to an accelerator in Global Accelerator.

      This is a convenience method that creates an instance of the AcceleratorEvent.Builder avoiding the need to create one manually via AcceleratorEvent.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to events(List<AcceleratorEvent>).

      Parameters:
      events - a consumer that will call methods on AcceleratorEvent.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: