Interface AnalysisRule.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnalysisRule.Builder,,AnalysisRule> SdkBuilder<AnalysisRule.Builder,,AnalysisRule> SdkPojo
- Enclosing class:
AnalysisRule
-
Method Summary
Modifier and TypeMethodDescriptioncollaborationId(String collaborationId) The unique ID for the associated collaboration.default AnalysisRule.BuildercollaborationPolicy(Consumer<ConfiguredTableAssociationAnalysisRulePolicy.Builder> collaborationPolicy) Sets the value of the CollaborationPolicy property for this object.collaborationPolicy(ConfiguredTableAssociationAnalysisRulePolicy collaborationPolicy) Sets the value of the CollaborationPolicy property for this object.default AnalysisRule.BuilderconsolidatedPolicy(Consumer<ConsolidatedPolicy.Builder> consolidatedPolicy) The consolidated policy for the analysis rule.consolidatedPolicy(ConsolidatedPolicy consolidatedPolicy) The consolidated policy for the analysis rule.createTime(Instant createTime) The time the analysis rule was created.The name for the analysis rule.default AnalysisRule.Builderpolicy(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.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:
-
collaborationPolicy
AnalysisRule.Builder collaborationPolicy(ConfiguredTableAssociationAnalysisRulePolicy collaborationPolicy) Sets the value of the CollaborationPolicy property for this object.- Parameters:
collaborationPolicy- The new value for the CollaborationPolicy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collaborationPolicy
default AnalysisRule.Builder collaborationPolicy(Consumer<ConfiguredTableAssociationAnalysisRulePolicy.Builder> collaborationPolicy) Sets the value of the CollaborationPolicy property for this object. This is a convenience method that creates an instance of theConfiguredTableAssociationAnalysisRulePolicy.Builderavoiding the need to create one manually viaConfiguredTableAssociationAnalysisRulePolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocollaborationPolicy(ConfiguredTableAssociationAnalysisRulePolicy).- Parameters:
collaborationPolicy- a consumer that will call methods onConfiguredTableAssociationAnalysisRulePolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consolidatedPolicy
The consolidated policy for the analysis rule.
- Parameters:
consolidatedPolicy- The consolidated policy for the analysis rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consolidatedPolicy
default AnalysisRule.Builder consolidatedPolicy(Consumer<ConsolidatedPolicy.Builder> consolidatedPolicy) The consolidated policy for the analysis rule.
This is a convenience method that creates an instance of theConsolidatedPolicy.Builderavoiding the need to create one manually viaConsolidatedPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsolidatedPolicy(ConsolidatedPolicy).- Parameters:
consolidatedPolicy- a consumer that will call methods onConsolidatedPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-