Interface UpdateRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,ConnectRequest.Builder,CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>,SdkBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateRuleRequest
public static interface UpdateRuleRequest.Builder extends ConnectRequest.Builder, SdkPojo, CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.connect.model.ConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
ruleId
UpdateRuleRequest.Builder ruleId(String 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 Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
- Parameters:
instanceId- The identifier of the Amazon Connect 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
UpdateRuleRequest.Builder name(String 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
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
UpdateRuleRequest.Builder actions(Collection<RuleAction> 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
UpdateRuleRequest.Builder actions(RuleAction... 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
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.Builderavoiding the need to create one manually viaRuleAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actions(List.) - 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:
#actions(java.util.Collection)
-
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:
RulePublishStatus,RulePublishStatus
-
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:
RulePublishStatus,RulePublishStatus
-
overrideConfiguration
UpdateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-