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 Summary
Modifier and TypeMethodDescriptionallowedAnalyses(String... allowedAnalyses) The ARN of the analysis templates that are allowed by the custom analysis rule.allowedAnalyses(Collection<String> allowedAnalyses) The ARN of the analysis templates that are allowed by the custom analysis rule.allowedAnalysisProviders(String... allowedAnalysisProviders) The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule.allowedAnalysisProviders(Collection<String> allowedAnalysisProviders) The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule.default AnalysisRuleCustom.BuilderdifferentialPrivacy(Consumer<DifferentialPrivacyConfiguration.Builder> differentialPrivacy) The differential privacy configuration.differentialPrivacy(DifferentialPrivacyConfiguration differentialPrivacy) The differential privacy configuration.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, sdkFields
-
Method Details
-
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
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
The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalysesisANY_QUERY.- Parameters:
allowedAnalysisProviders- The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required whenallowedAnalysesisANY_QUERY.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedAnalysisProviders
The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalysesisANY_QUERY.- Parameters:
allowedAnalysisProviders- The IDs of the Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required whenallowedAnalysesisANY_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 theDifferentialPrivacyConfiguration.Builderavoiding the need to create one manually viaDifferentialPrivacyConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todifferentialPrivacy(DifferentialPrivacyConfiguration).- Parameters:
differentialPrivacy- a consumer that will call methods onDifferentialPrivacyConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-