Interface UpdateRuleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>,DataZoneRequest.Builder,SdkBuilder<UpdateRuleRequest.Builder,UpdateRuleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateRuleRequest
public static interface UpdateRuleRequest.Builder extends DataZoneRequest.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.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
-
description
UpdateRuleRequest.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
UpdateRuleRequest.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 UpdateRuleRequest.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
UpdateRuleRequest.Builder domainIdentifier(String domainIdentifier)
The ID of the domain in which a rule is to be updated.
- Parameters:
domainIdentifier- The ID of the domain in which a rule is to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
identifier
UpdateRuleRequest.Builder identifier(String identifier)
The ID of the rule that is to be updated
- Parameters:
identifier- The ID of the rule that is to be updated- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeChildDomainUnits
UpdateRuleRequest.Builder includeChildDomainUnits(Boolean includeChildDomainUnits)
Specifies whether to update this rule in the child domain units.
- Parameters:
includeChildDomainUnits- Specifies whether to update this rule in the child domain units.- 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.
- Parameters:
name- The name of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
UpdateRuleRequest.Builder scope(RuleScope scope)
The scrope of the rule.
- Parameters:
scope- The scrope of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
default UpdateRuleRequest.Builder scope(Consumer<RuleScope.Builder> scope)
The scrope 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)
-
overrideConfiguration
UpdateRuleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRuleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-