Interface CreateLinkRoutingRuleRequest.Builder

  • Method Details

    • clientToken

      CreateLinkRoutingRuleRequest.Builder clientToken(String clientToken)

      Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.

      If you don't provide this value, then Amazon Web Services generates a random one for you.

      If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

      Parameters:
      clientToken - Specifies a unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This lets you safely retry the request without accidentally performing the same operation a second time. Passing the same value to a later call to an operation requires that you also pass the same value for all other parameters. We recommend that you use a UUID type of value.

      If you don't provide this value, then Amazon Web Services generates a random one for you.

      If you retry the operation with the same ClientToken, but with different parameters, the retry fails with an IdempotentParameterMismatch error.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • gatewayId

      The unique identifier of the gateway.

      Parameters:
      gatewayId - The unique identifier of the gateway.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • linkId

      The unique identifier of the link.

      Parameters:
      linkId - The unique identifier of the link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      The priority of the routing rule. Lower numbers are evaluated first. Valid values are 1 to 1000. Priority must be unique among non-deleted rules within a link.

      Parameters:
      priority - The priority of the routing rule. Lower numbers are evaluated first. Valid values are 1 to 1000. Priority must be unique among non-deleted rules within a link.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      The conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.

      Parameters:
      conditions - The conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      The conditions for the routing rule. All specified fields must match for the rule to apply. At least one condition field must be set.

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

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

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

      A map of the key-value pairs of the tag or tags to assign to the resource.

      Parameters:
      tags - A map of the key-value pairs of the tag or tags to assign to the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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