Interface CreateListenerRequest.Builder

    • Method Detail

      • clientToken

        CreateListenerRequest.Builder clientToken​(String clientToken)

        A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

        Parameters:
        clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • defaultAction

        CreateListenerRequest.Builder defaultAction​(RuleAction defaultAction)

        The action for the default rule. Each listener has a default rule. The default rule is used if no other rules match.

        Parameters:
        defaultAction - The action for the default rule. Each listener has a default rule. The default rule is used if no other rules match.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        CreateListenerRequest.Builder name​(String name)

        The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

        Parameters:
        name - The name of the listener. A listener name must be unique within a service. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • port

        CreateListenerRequest.Builder port​(Integer port)

        The listener port. You can specify a value from 1 to 65535. For HTTP, the default is 80. For HTTPS, the default is 443.

        Parameters:
        port - The listener port. You can specify a value from 1 to 65535. For HTTP, the default is 80. For HTTPS, the default is 443.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • serviceIdentifier

        CreateListenerRequest.Builder serviceIdentifier​(String serviceIdentifier)

        The ID or Amazon Resource Name (ARN) of the service.

        Parameters:
        serviceIdentifier - The ID or Amazon Resource Name (ARN) of the service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateListenerRequest.Builder tags​(Map<String,​String> tags)

        The tags for the listener.

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