All Superinterfaces:
Buildable, CopyableBuilder<Listener.Builder,Listener>, SdkBuilder<Listener.Builder,Listener>, SdkPojo
Enclosing class:
Listener

public static interface Listener.Builder extends SdkPojo, CopyableBuilder<Listener.Builder,Listener>
  • Method Details

    • listenerArn

      Listener.Builder listenerArn(String listenerArn)

      The Amazon Resource Name (ARN) of the listener.

      Parameters:
      listenerArn - The Amazon Resource Name (ARN) of the listener.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • loadBalancerArn

      Listener.Builder loadBalancerArn(String loadBalancerArn)

      The Amazon Resource Name (ARN) of the load balancer.

      Parameters:
      loadBalancerArn - The Amazon Resource Name (ARN) of the load balancer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • port

      The port on which the load balancer is listening.

      Parameters:
      port - The port on which the load balancer is listening.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • protocol

      Listener.Builder protocol(String protocol)

      The protocol for connections from clients to the load balancer.

      Parameters:
      protocol - The protocol for connections from clients to the load balancer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocol

      Listener.Builder protocol(ProtocolEnum protocol)

      The protocol for connections from clients to the load balancer.

      Parameters:
      protocol - The protocol for connections from clients to the load balancer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • certificates

      Listener.Builder certificates(Collection<Certificate> certificates)

      [HTTPS or TLS listener] The default certificate for the listener.

      Parameters:
      certificates - [HTTPS or TLS listener] The default certificate for the listener.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificates

      Listener.Builder certificates(Certificate... certificates)

      [HTTPS or TLS listener] The default certificate for the listener.

      Parameters:
      certificates - [HTTPS or TLS listener] The default certificate for the listener.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • certificates

      Listener.Builder certificates(Consumer<Certificate.Builder>... certificates)

      [HTTPS or TLS listener] The default certificate for the listener.

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

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

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

      Listener.Builder sslPolicy(String sslPolicy)

      [HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.

      Parameters:
      sslPolicy - [HTTPS or TLS listener] The security policy that defines which protocols and ciphers are supported.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultActions

      Listener.Builder defaultActions(Collection<Action> defaultActions)

      The default actions for the listener.

      Parameters:
      defaultActions - The default actions for the listener.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultActions

      Listener.Builder defaultActions(Action... defaultActions)

      The default actions for the listener.

      Parameters:
      defaultActions - The default actions for the listener.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • defaultActions

      Listener.Builder defaultActions(Consumer<Action.Builder>... defaultActions)

      The default actions for the listener.

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

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

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

      Listener.Builder alpnPolicy(Collection<String> alpnPolicy)

      [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.

      Parameters:
      alpnPolicy - [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alpnPolicy

      Listener.Builder alpnPolicy(String... alpnPolicy)

      [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.

      Parameters:
      alpnPolicy - [TLS listener] The name of the Application-Layer Protocol Negotiation (ALPN) policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mutualAuthentication

      Listener.Builder mutualAuthentication(MutualAuthenticationAttributes mutualAuthentication)

      The mutual authentication configuration information.

      Parameters:
      mutualAuthentication - The mutual authentication configuration information.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mutualAuthentication

      default Listener.Builder mutualAuthentication(Consumer<MutualAuthenticationAttributes.Builder> mutualAuthentication)

      The mutual authentication configuration information.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to mutualAuthentication(MutualAuthenticationAttributes).

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