Interface UpdateRuleRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateRuleRequest.Builder,,UpdateRuleRequest> SdkBuilder<UpdateRuleRequest.Builder,,UpdateRuleRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateRuleRequest
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<RuleAction> actions) A list of actions to be run when the rule is triggered.actions(Consumer<RuleAction.Builder>... actions) A list of actions to be run when the rule is triggered.actions(RuleAction... actions) A list of actions to be run when the rule is triggered.The conditions of the rule.instanceId(String instanceId) The identifier of the Connect Customer instance.The name of the rule.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateRuleRequest.BuilderpreEvaluationFilters(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.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.publishStatus(String publishStatus) The publish status of the rule.publishStatus(RulePublishStatus publishStatus) The publish status of the rule.A unique identifier for the rule.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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
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
TriggerEventSourceis one of the following values:OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate- Parameters:
name- The name of the rule. You can change the name only ifTriggerEventSourceis one of the following values:OnZendeskTicketCreate|OnZendeskTicketStatusUpdate|OnSalesforceCaseCreate- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 theRuleAction.Builderavoiding the need to create one manually viaRuleAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toactions(List<RuleAction>).- Parameters:
actions- a consumer that will call methods onRuleAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
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 thePreEvaluationFilters.Builderavoiding the need to create one manually viaPreEvaluationFilters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreEvaluationFilters(PreEvaluationFilters).- Parameters:
preEvaluationFilters- a consumer that will call methods onPreEvaluationFilters.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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-