Interface AnalysisRuleCustom.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AnalysisRuleCustom.Builder,AnalysisRuleCustom>, SdkBuilder<AnalysisRuleCustom.Builder,AnalysisRuleCustom>, SdkPojo
Enclosing class:
AnalysisRuleCustom

public static interface AnalysisRuleCustom.Builder extends SdkPojo, CopyableBuilder<AnalysisRuleCustom.Builder,AnalysisRuleCustom>
  • 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.
    • 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: