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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AnalysisRuleCustom.BuilderallowedAnalyses(String... allowedAnalyses)The analysis templates that are allowed by the custom analysis rule.AnalysisRuleCustom.BuilderallowedAnalyses(Collection<String> allowedAnalyses)The analysis templates that are allowed by the custom analysis rule.AnalysisRuleCustom.BuilderallowedAnalysisProviders(String... allowedAnalysisProviders)The Amazon Web Services accounts that are allowed to query by the custom analysis rule.AnalysisRuleCustom.BuilderallowedAnalysisProviders(Collection<String> allowedAnalysisProviders)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.AnalysisRuleCustom.BuilderdifferentialPrivacy(DifferentialPrivacyConfiguration differentialPrivacy)The differential privacy configuration.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
allowedAnalyses
AnalysisRuleCustom.Builder allowedAnalyses(Collection<String> allowedAnalyses)
The analysis templates that are allowed by the custom analysis rule.
- Parameters:
allowedAnalyses- 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 analysis templates that are allowed by the custom analysis rule.
- Parameters:
allowedAnalyses- 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 Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalysesisANY_QUERY.- Parameters:
allowedAnalysisProviders- 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
AnalysisRuleCustom.Builder allowedAnalysisProviders(String... allowedAnalysisProviders)
The Amazon Web Services accounts that are allowed to query by the custom analysis rule. Required when
allowedAnalysesisANY_QUERY.- Parameters:
allowedAnalysisProviders- 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:
differentialPrivacy(DifferentialPrivacyConfiguration)
-
-