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
Modifier and TypeMethodDescriptioncollaborationId
(String collaborationId) The unique ID for the associated collaboration.createTime
(Instant createTime) The time the analysis rule was created.The name for the analysis rule.default AnalysisRule.Builder
policy
(Consumer<AnalysisRulePolicy.Builder> policy) A policy that describes the associated data usage limitations.policy
(AnalysisRulePolicy policy) A policy that describes the associated data usage limitations.The type of analysis rule.type
(AnalysisRuleType type) The type of analysis rule.updateTime
(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 Details
-
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
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:
-
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:
-
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
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
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
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
A policy that describes the associated data usage limitations.
This is a convenience method that creates an instance of theAnalysisRulePolicy.Builder
avoiding the need to create one manually viaAnalysisRulePolicy.builder()
.When the
Consumer
completes,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:
-