Interface GetRuleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetRuleResponse.Builder,GetRuleResponse>,DataZoneResponse.Builder,SdkBuilder<GetRuleResponse.Builder,GetRuleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetRuleResponse
public static interface GetRuleResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<GetRuleResponse.Builder,GetRuleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetRuleResponse.Builderaction(String action)The action of the rule.GetRuleResponse.Builderaction(RuleAction action)The action of the rule.GetRuleResponse.BuildercreatedAt(Instant createdAt)The timestamp at which the rule was created.GetRuleResponse.BuildercreatedBy(String createdBy)The user who created the rule.GetRuleResponse.Builderdescription(String description)The description of the rule.default GetRuleResponse.Builderdetail(Consumer<RuleDetail.Builder> detail)The detail of the rule.GetRuleResponse.Builderdetail(RuleDetail detail)The detail of the rule.GetRuleResponse.Builderidentifier(String identifier)The ID of the rule.GetRuleResponse.BuilderlastUpdatedBy(String lastUpdatedBy)The timestamp at which the rule was last updated.GetRuleResponse.Buildername(String name)The name of the rule.GetRuleResponse.Builderrevision(String revision)The revision of the rule.GetRuleResponse.BuilderruleType(String ruleType)The type of the rule.GetRuleResponse.BuilderruleType(RuleType ruleType)The type of the rule.default GetRuleResponse.Builderscope(Consumer<RuleScope.Builder> scope)The scope of the rule.GetRuleResponse.Builderscope(RuleScope scope)The scope of the rule.default GetRuleResponse.Buildertarget(Consumer<RuleTarget.Builder> target)The target of the rule.GetRuleResponse.Buildertarget(RuleTarget target)The target of the rule.GetRuleResponse.BuildertargetType(String targetType)The target type of the rule.GetRuleResponse.BuildertargetType(RuleTargetType targetType)The target type of the rule.GetRuleResponse.BuilderupdatedAt(Instant updatedAt)The timestamp at which the rule was last updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
action
GetRuleResponse.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
GetRuleResponse.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
-
createdAt
GetRuleResponse.Builder createdAt(Instant createdAt)
The timestamp at which the rule was created.
- Parameters:
createdAt- The timestamp at which the rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
GetRuleResponse.Builder createdBy(String createdBy)
The user who created the rule.
- Parameters:
createdBy- The user who created the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
GetRuleResponse.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
GetRuleResponse.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 GetRuleResponse.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)
-
identifier
GetRuleResponse.Builder identifier(String identifier)
The ID of the rule.
- Parameters:
identifier- The ID of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedBy
GetRuleResponse.Builder lastUpdatedBy(String lastUpdatedBy)
The timestamp at which the rule was last updated.
- Parameters:
lastUpdatedBy- The timestamp at which the rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetRuleResponse.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.
-
revision
GetRuleResponse.Builder revision(String revision)
The revision of the rule.
- Parameters:
revision- The revision of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ruleType
GetRuleResponse.Builder ruleType(String ruleType)
The type of the rule.
-
ruleType
GetRuleResponse.Builder ruleType(RuleType ruleType)
The type of the rule.
-
scope
GetRuleResponse.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 GetRuleResponse.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
GetRuleResponse.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 GetRuleResponse.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)
-
targetType
GetRuleResponse.Builder targetType(String targetType)
The target type of the rule.
- Parameters:
targetType- The target type of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleTargetType,RuleTargetType
-
targetType
GetRuleResponse.Builder targetType(RuleTargetType targetType)
The target type of the rule.
- Parameters:
targetType- The target type of the rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RuleTargetType,RuleTargetType
-
updatedAt
GetRuleResponse.Builder updatedAt(Instant updatedAt)
The timestamp at which the rule was last updated.
- Parameters:
updatedAt- The timestamp at which the rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-