Interface UpdateRuleRequest.Builder

  • Method Details

    • ruleId

      A unique identifier for the rule.

      Parameters:
      ruleId - A unique identifier for the rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • instanceId

      UpdateRuleRequest.Builder instanceId(String instanceId)

      The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

      Parameters:
      instanceId - The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the rule. You can change the name only if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate

      Parameters:
      name - The name of the rule. You can change the name only if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • function

      UpdateRuleRequest.Builder function(String function)

      The conditions of the rule.

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

      A list of actions to be run when the rule is triggered.

      Parameters:
      actions - A list of actions to be run when the rule is triggered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      A list of actions to be run when the rule is triggered.

      Parameters:
      actions - A list of actions to be run when the rule is triggered.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • actions

      A list of actions to be run when the rule is triggered.

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

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

      UpdateRuleRequest.Builder publishStatus(String publishStatus)

      The publish status of the rule.

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

      UpdateRuleRequest.Builder publishStatus(RulePublishStatus publishStatus)

      The publish status of the rule.

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

      UpdateRuleRequest.Builder preEvaluationFilters(PreEvaluationFilters preEvaluationFilters)

      The pre-evaluation filters for the rule, that restrict the rule to be applied to only certain resources based on the resource's attributes, such as tags assigned to a contact. The pre-evaluation filters are applied even before rule conditions are evaluated and are used to enforce tag-based-access-control while applying rules.

      Parameters:
      preEvaluationFilters - The pre-evaluation filters for the rule, that restrict the rule to be applied to only certain resources based on the resource's attributes, such as tags assigned to a contact. The pre-evaluation filters are applied even before rule conditions are evaluated and are used to enforce tag-based-access-control while applying rules.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • preEvaluationFilters

      default UpdateRuleRequest.Builder preEvaluationFilters(Consumer<PreEvaluationFilters.Builder> preEvaluationFilters)

      The pre-evaluation filters for the rule, that restrict the rule to be applied to only certain resources based on the resource's attributes, such as tags assigned to a contact. The pre-evaluation filters are applied even before rule conditions are evaluated and are used to enforce tag-based-access-control while applying rules.

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

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

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

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