public static interface UpdateRuleRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateRuleRequest.Builder ruleId(String ruleId)
A unique identifier for the rule.
ruleId - A unique identifier for the rule.UpdateRuleRequest.Builder instanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId - The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.UpdateRuleRequest.Builder name(String name)
The name of the rule. You can change the name only if TriggerEventSource is one of the following
values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreate
name - The name of the rule. You can change the name only if TriggerEventSource is one of the
following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate |
OnSalesforceCaseCreateUpdateRuleRequest.Builder function(String function)
The conditions of the rule.
function - The conditions of the rule.UpdateRuleRequest.Builder actions(Collection<RuleAction> actions)
A list of actions to be run when the rule is triggered.
actions - A list of actions to be run when the rule is triggered.UpdateRuleRequest.Builder actions(RuleAction... actions)
A list of actions to be run when the rule is triggered.
actions - A list of actions to be run when the rule is triggered.UpdateRuleRequest.Builder actions(Consumer<RuleAction.Builder>... actions)
A list of actions to be run when the rule is triggered.
This is a convenience method that creates an instance of theRuleAction.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.
actions - a consumer that will call methods on
RuleAction.Builder#actions(java.util.Collection) UpdateRuleRequest.Builder publishStatus(String publishStatus)
The publish status of the rule.
publishStatus - The publish status of the rule.RulePublishStatus,
RulePublishStatusUpdateRuleRequest.Builder publishStatus(RulePublishStatus publishStatus)
The publish status of the rule.
publishStatus - The publish status of the rule.RulePublishStatus,
RulePublishStatusUpdateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.