Interface AnalysisRule.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AnalysisRule.Builder,AnalysisRule>,SdkBuilder<AnalysisRule.Builder,AnalysisRule>,SdkPojo
- Enclosing class:
- AnalysisRule
public static interface AnalysisRule.Builder extends SdkPojo, CopyableBuilder<AnalysisRule.Builder,AnalysisRule>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AnalysisRule.BuildercollaborationId(String collaborationId)The unique ID for the associated collaboration.AnalysisRule.BuildercreateTime(Instant createTime)The time the analysis rule was created.AnalysisRule.Buildername(String name)The name for the analysis rule.default AnalysisRule.Builderpolicy(Consumer<AnalysisRulePolicy.Builder> policy)A policy that describes the associated data usage limitations.AnalysisRule.Builderpolicy(AnalysisRulePolicy policy)A policy that describes the associated data usage limitations.AnalysisRule.Buildertype(String type)The type of analysis rule.AnalysisRule.Buildertype(AnalysisRuleType type)The type of analysis rule.AnalysisRule.BuilderupdateTime(Instant updateTime)The time the analysis rule was last updated.-
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, sdkFields
-
-
-
-
Method Detail
-
collaborationId
AnalysisRule.Builder collaborationId(String collaborationId)
The unique ID for the associated collaboration.
- Parameters:
collaborationId- The unique ID for the associated collaboration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
AnalysisRule.Builder type(String type)
The type of analysis rule.
- Parameters:
type- The type of analysis rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnalysisRuleType,AnalysisRuleType
-
type
AnalysisRule.Builder type(AnalysisRuleType type)
The type of analysis rule.
- Parameters:
type- The type of analysis rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnalysisRuleType,AnalysisRuleType
-
name
AnalysisRule.Builder name(String name)
The name for the analysis rule.
- Parameters:
name- The name for the analysis rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createTime
AnalysisRule.Builder createTime(Instant createTime)
The time the analysis rule was created.
- Parameters:
createTime- The time the analysis rule was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
AnalysisRule.Builder updateTime(Instant updateTime)
The time the analysis rule was last updated.
- Parameters:
updateTime- The time the analysis rule was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
AnalysisRule.Builder policy(AnalysisRulePolicy policy)
A policy that describes the associated data usage limitations.
- Parameters:
policy- A policy that describes the associated data usage limitations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
policy
default AnalysisRule.Builder policy(Consumer<AnalysisRulePolicy.Builder> policy)
A policy that describes the associated data usage limitations.
This is a convenience method that creates an instance of theAnalysisRulePolicy.Builderavoiding the need to create one manually viaAnalysisRulePolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topolicy(AnalysisRulePolicy).- Parameters:
policy- a consumer that will call methods onAnalysisRulePolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
policy(AnalysisRulePolicy)
-
-