Interface RuleScope.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleScope.Builder,
,RuleScope> SdkBuilder<RuleScope.Builder,
,RuleScope> SdkPojo
- Enclosing class:
RuleScope
@Mutable
@NotThreadSafe
public static interface RuleScope.Builder
extends SdkPojo, CopyableBuilder<RuleScope.Builder,RuleScope>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RuleScope.Builder
assetType
(Consumer<AssetTypesForRule.Builder> assetType) The asset type included in the rule scope.assetType
(AssetTypesForRule assetType) The asset type included in the rule scope.dataProduct
(Boolean dataProduct) The data product included in the rule scope.default RuleScope.Builder
project
(Consumer<ProjectsForRule.Builder> project) The project included in the rule scope.project
(ProjectsForRule project) The project included in the rule scope.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, sdkFieldNameToField, sdkFields
-
Method Details
-
assetType
The asset type included in the rule scope.
- Parameters:
assetType
- The asset type included in the rule scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
assetType
The asset type included in the rule scope.
This is a convenience method that creates an instance of theAssetTypesForRule.Builder
avoiding the need to create one manually viaAssetTypesForRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassetType(AssetTypesForRule)
.- Parameters:
assetType
- a consumer that will call methods onAssetTypesForRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataProduct
The data product included in the rule scope.
- Parameters:
dataProduct
- The data product included in the rule scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The project included in the rule scope.
- Parameters:
project
- The project included in the rule scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
project
The project included in the rule scope.
This is a convenience method that creates an instance of theProjectsForRule.Builder
avoiding the need to create one manually viaProjectsForRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproject(ProjectsForRule)
.- Parameters:
project
- a consumer that will call methods onProjectsForRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-