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:
    • aggregationThresholds

      AnalysisRuleCustom.Builder aggregationThresholds(Collection<AggregationThreshold> aggregationThresholds)

      The aggregation thresholds that each query output group must satisfy. Clean Rooms filters out any group that represents fewer than the specified number of distinct identities. You can specify at most one threshold. You can't use aggregation thresholds with differential privacy, or when allowedAnalyses allows only jobs.

      Parameters:
      aggregationThresholds - The aggregation thresholds that each query output group must satisfy. Clean Rooms filters out any group that represents fewer than the specified number of distinct identities. You can specify at most one threshold. You can't use aggregation thresholds with differential privacy, or when allowedAnalyses allows only jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationThresholds

      AnalysisRuleCustom.Builder aggregationThresholds(AggregationThreshold... aggregationThresholds)

      The aggregation thresholds that each query output group must satisfy. Clean Rooms filters out any group that represents fewer than the specified number of distinct identities. You can specify at most one threshold. You can't use aggregation thresholds with differential privacy, or when allowedAnalyses allows only jobs.

      Parameters:
      aggregationThresholds - The aggregation thresholds that each query output group must satisfy. Clean Rooms filters out any group that represents fewer than the specified number of distinct identities. You can specify at most one threshold. You can't use aggregation thresholds with differential privacy, or when allowedAnalyses allows only jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • aggregationThresholds

      AnalysisRuleCustom.Builder aggregationThresholds(Consumer<AggregationThreshold.Builder>... aggregationThresholds)

      The aggregation thresholds that each query output group must satisfy. Clean Rooms filters out any group that represents fewer than the specified number of distinct identities. You can specify at most one threshold. You can't use aggregation thresholds with differential privacy, or when allowedAnalyses allows only jobs.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to aggregationThresholds(List<AggregationThreshold>).

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

      AnalysisRuleCustom.Builder comparisonControls(ComparisonControls comparisonControls)

      The controls that restrict how a query can compare the columns in the configured table. You can't use comparison controls with differential privacy, or when allowedAnalyses allows only jobs.

      Parameters:
      comparisonControls - The controls that restrict how a query can compare the columns in the configured table. You can't use comparison controls with differential privacy, or when allowedAnalyses allows only jobs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • comparisonControls

      default AnalysisRuleCustom.Builder comparisonControls(Consumer<ComparisonControls.Builder> comparisonControls)

      The controls that restrict how a query can compare the columns in the configured table. You can't use comparison controls with differential privacy, or when allowedAnalyses allows only jobs.

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

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

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

      AnalysisRuleCustom.Builder allowedResultReceivers(Collection<String> allowedResultReceivers)

      The list of Amazon Web Services account IDs that are allowed to receive results from queries run on the configured table.

      Parameters:
      allowedResultReceivers - The list of Amazon Web Services account IDs that are allowed to receive results from queries run on the configured table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedResultReceivers

      AnalysisRuleCustom.Builder allowedResultReceivers(String... allowedResultReceivers)

      The list of Amazon Web Services account IDs that are allowed to receive results from queries run on the configured table.

      Parameters:
      allowedResultReceivers - The list of Amazon Web Services account IDs that are allowed to receive results from queries run on the configured table.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAdditionalAnalyses

      AnalysisRuleCustom.Builder allowedAdditionalAnalyses(Collection<String> allowedAdditionalAnalyses)

      The list of allowed additional analyses for the custom analysis rule.

      Parameters:
      allowedAdditionalAnalyses - The list of allowed additional analyses for the custom analysis rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAdditionalAnalyses

      AnalysisRuleCustom.Builder allowedAdditionalAnalyses(String... allowedAdditionalAnalyses)

      The list of allowed additional analyses for the custom analysis rule.

      Parameters:
      allowedAdditionalAnalyses - The list of allowed additional analyses for the custom analysis rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.