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 Details

    • 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

      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

      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

      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 the AnalysisRulePolicy.Builder avoiding the need to create one manually via AnalysisRulePolicy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to policy(AnalysisRulePolicy).

      Parameters:
      policy - a consumer that will call methods on AnalysisRulePolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: