Interface CreateRuleRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>, SdkBuilder<CreateRuleRequest.Builder,CreateRuleRequest>, SdkPojo, SdkRequest.Builder, VpcLatticeRequest.Builder
Enclosing class:
CreateRuleRequest

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

    • action

      The action for the default rule.

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

      The action for the default rule.

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

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

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

      CreateRuleRequest.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.
    • listenerIdentifier

      CreateRuleRequest.Builder listenerIdentifier(String listenerIdentifier)

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

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

      The rule match.

      Parameters:
      match - The rule match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • match

      The rule match.

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

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

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

      The name of the rule. The name must be unique within the listener. 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 rule. The name must be unique within the listener. 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.
    • priority

      CreateRuleRequest.Builder priority(Integer priority)

      The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.

      Parameters:
      priority - The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceIdentifier

      CreateRuleRequest.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

      The tags for the rule.

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

      CreateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.