Interface RuleScope.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleScope.Builder,RuleScope>,SdkBuilder<RuleScope.Builder,RuleScope>,SdkPojo
- Enclosing class:
- RuleScope
public static interface RuleScope.Builder extends SdkPojo, CopyableBuilder<RuleScope.Builder,RuleScope>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default RuleScope.BuilderassetType(Consumer<AssetTypesForRule.Builder> assetType)The asset type included in the rule scope.RuleScope.BuilderassetType(AssetTypesForRule assetType)The asset type included in the rule scope.RuleScope.BuilderdataProduct(Boolean dataProduct)The data product included in the rule scope.default RuleScope.Builderproject(Consumer<ProjectsForRule.Builder> project)The project included in the rule scope.RuleScope.Builderproject(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 Detail
-
assetType
RuleScope.Builder assetType(AssetTypesForRule 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
default RuleScope.Builder assetType(Consumer<AssetTypesForRule.Builder> assetType)
The asset type included in the rule scope.
This is a convenience method that creates an instance of theAssetTypesForRule.Builderavoiding the need to create one manually viaAssetTypesForRule.builder().When the
Consumercompletes,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:
assetType(AssetTypesForRule)
-
dataProduct
RuleScope.Builder dataProduct(Boolean 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
RuleScope.Builder project(ProjectsForRule 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
default RuleScope.Builder project(Consumer<ProjectsForRule.Builder> project)
The project included in the rule scope.
This is a convenience method that creates an instance of theProjectsForRule.Builderavoiding the need to create one manually viaProjectsForRule.builder().When the
Consumercompletes,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:
project(ProjectsForRule)
-
-