Interface AnalysisRuleCustom.Builder

  • Method Details

    • allowedAnalyses

      AnalysisRuleCustom.Builder allowedAnalyses(Collection<String> allowedAnalyses)

      The ARN of the analysis templates that are allowed by the custom analysis rule.

      Parameters:
      allowedAnalyses - The ARN of the analysis templates that are allowed by the custom analysis rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAnalyses

      AnalysisRuleCustom.Builder allowedAnalyses(String... allowedAnalyses)

      The ARN of the analysis templates that are allowed by the custom analysis rule.

      Parameters:
      allowedAnalyses - The ARN of the analysis templates that are allowed by the custom analysis rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAnalysisProviders

      AnalysisRuleCustom.Builder allowedAnalysisProviders(Collection<String> allowedAnalysisProviders)

      The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when allowedAnalyses is ANY_QUERY.

      Parameters:
      allowedAnalysisProviders - The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when allowedAnalyses is ANY_QUERY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAnalysisProviders

      AnalysisRuleCustom.Builder allowedAnalysisProviders(String... allowedAnalysisProviders)

      The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when allowedAnalyses is ANY_QUERY.

      Parameters:
      allowedAnalysisProviders - The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when allowedAnalyses is ANY_QUERY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • additionalAnalyses

      AnalysisRuleCustom.Builder additionalAnalyses(String additionalAnalyses)

      An indicator as to whether additional analyses (such as Clean Rooms ML) can be applied to the output of the direct query.

      Parameters:
      additionalAnalyses - An indicator as to whether additional analyses (such as Clean Rooms ML) can be applied to the output of the direct query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • additionalAnalyses

      AnalysisRuleCustom.Builder additionalAnalyses(AdditionalAnalyses additionalAnalyses)

      An indicator as to whether additional analyses (such as Clean Rooms ML) can be applied to the output of the direct query.

      Parameters:
      additionalAnalyses - An indicator as to whether additional analyses (such as Clean Rooms ML) can be applied to the output of the direct query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • disallowedOutputColumns

      AnalysisRuleCustom.Builder disallowedOutputColumns(Collection<String> disallowedOutputColumns)

      A list of columns that aren't allowed to be shown in the query output.

      Parameters:
      disallowedOutputColumns - A list of columns that aren't allowed to be shown in the query output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • disallowedOutputColumns

      AnalysisRuleCustom.Builder disallowedOutputColumns(String... disallowedOutputColumns)

      A list of columns that aren't allowed to be shown in the query output.

      Parameters:
      disallowedOutputColumns - A list of columns that aren't allowed to be shown in the query output.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • differentialPrivacy

      AnalysisRuleCustom.Builder differentialPrivacy(DifferentialPrivacyConfiguration differentialPrivacy)

      The differential privacy configuration.

      Parameters:
      differentialPrivacy - The differential privacy configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • differentialPrivacy

      default AnalysisRuleCustom.Builder differentialPrivacy(Consumer<DifferentialPrivacyConfiguration.Builder> differentialPrivacy)

      The differential privacy configuration.

      This is a convenience method that creates an instance of the DifferentialPrivacyConfiguration.Builder avoiding the need to create one manually via DifferentialPrivacyConfiguration.builder().

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

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