Interface CreateRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>,DataZoneRequest.Builder,SdkBuilder<CreateRuleRequest.Builder,CreateRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateRuleRequest
public static interface CreateRuleRequest.Builder extends DataZoneRequest.Builder, SdkPojo, CopyableBuilder<CreateRuleRequest.Builder,CreateRuleRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
action
CreateRuleRequest.Builder action(String action)
The action of the rule.
- Parameters:
action- The action of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleAction,RuleAction
-
action
CreateRuleRequest.Builder action(RuleAction action)
The action of the rule.
- Parameters:
action- The action of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleAction,RuleAction
-
clientToken
CreateRuleRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
CreateRuleRequest.Builder description(String description)
The description of the rule.
- Parameters:
description- The description of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
CreateRuleRequest.Builder detail(RuleDetail detail)
The detail of the rule.
- Parameters:
detail- The detail of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detail
default CreateRuleRequest.Builder detail(Consumer<RuleDetail.Builder> detail)
The detail of the rule.
This is a convenience method that creates an instance of theRuleDetail.Builderavoiding the need to create one manually viaRuleDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todetail(RuleDetail).- Parameters:
detail- a consumer that will call methods onRuleDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
detail(RuleDetail)
-
domainIdentifier
CreateRuleRequest.Builder domainIdentifier(String domainIdentifier)
The ID of the domain where the rule is created.
- Parameters:
domainIdentifier- The ID of the domain where the rule is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateRuleRequest.Builder name(String name)
The name of the rule.
- Parameters:
name- The name of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
CreateRuleRequest.Builder scope(RuleScope scope)
The scope of the rule.
- Parameters:
scope- The scope of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
default CreateRuleRequest.Builder scope(Consumer<RuleScope.Builder> scope)
The scope of the rule.
This is a convenience method that creates an instance of theRuleScope.Builderavoiding the need to create one manually viaRuleScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscope(RuleScope).- Parameters:
scope- a consumer that will call methods onRuleScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
scope(RuleScope)
-
target
CreateRuleRequest.Builder target(RuleTarget target)
The target of the rule.
- Parameters:
target- The target of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
default CreateRuleRequest.Builder target(Consumer<RuleTarget.Builder> target)
The target of the rule.
This is a convenience method that creates an instance of theRuleTarget.Builderavoiding the need to create one manually viaRuleTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(RuleTarget).- Parameters:
target- a consumer that will call methods onRuleTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
target(RuleTarget)
-
overrideConfiguration
CreateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-