Interface GatewayRuleDetail.Builder

  • Method Details

    • ruleId

      The unique identifier of the gateway rule.

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

      GatewayRuleDetail.Builder gatewayArn(String gatewayArn)

      The Amazon Resource Name (ARN) of the gateway that the rule belongs to.

      Parameters:
      gatewayArn - The Amazon Resource Name (ARN) of the gateway that the rule belongs to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      GatewayRuleDetail.Builder priority(Integer priority)

      The priority of the rule. Rules are evaluated in order of priority, with lower numbers evaluated first.

      Parameters:
      priority - The priority of the rule. Rules are evaluated in order of priority, with lower numbers evaluated first.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      The conditions that must be met for the rule to apply.

      Parameters:
      conditions - The conditions that must be met for the rule to apply.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      GatewayRuleDetail.Builder conditions(Condition... conditions)

      The conditions that must be met for the rule to apply.

      Parameters:
      conditions - The conditions that must be met for the rule to apply.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • conditions

      The conditions that must be met for the rule to apply.

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

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

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

      The actions to take when the rule conditions are met.

      Parameters:
      actions - The actions to take when the rule conditions are met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      GatewayRuleDetail.Builder actions(Action... actions)

      The actions to take when the rule conditions are met.

      Parameters:
      actions - The actions to take when the rule conditions are met.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      The actions to take when the rule conditions are met.

      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 actions(List<Action>).

      Parameters:
      actions - 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:
    • description

      GatewayRuleDetail.Builder description(String description)

      The description of the gateway rule.

      Parameters:
      description - The description of the gateway rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GatewayRuleDetail.Builder createdAt(Instant createdAt)

      The timestamp when the rule was created.

      Parameters:
      createdAt - The timestamp when the rule was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the rule.

      Parameters:
      status - The current status of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the rule.

      Parameters:
      status - The current status of the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • system

      System-managed metadata for rules created by automated processes.

      Parameters:
      system - System-managed metadata for rules created by automated processes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • system

      System-managed metadata for rules created by automated processes.

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

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

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

      GatewayRuleDetail.Builder updatedAt(Instant updatedAt)

      The timestamp when the rule was last updated.

      Parameters:
      updatedAt - The timestamp when the rule was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.