Interface InternalAccessConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InternalAccessConfiguration.Builder,
,InternalAccessConfiguration> SdkBuilder<InternalAccessConfiguration.Builder,
,InternalAccessConfiguration> SdkPojo
- Enclosing class:
InternalAccessConfiguration
@Mutable
@NotThreadSafe
public static interface InternalAccessConfiguration.Builder
extends SdkPojo, CopyableBuilder<InternalAccessConfiguration.Builder,InternalAccessConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionanalysisRule
(Consumer<InternalAccessAnalysisRule.Builder> analysisRule) Contains information about analysis rules for the internal access analyzer.analysisRule
(InternalAccessAnalysisRule analysisRule) Contains information about analysis rules for the internal access analyzer.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, sdkFieldNameToField, sdkFields
-
Method Details
-
analysisRule
Contains information about analysis rules for the internal access analyzer. These rules determine which resources and access patterns will be analyzed.
- Parameters:
analysisRule
- Contains information about analysis rules for the internal access analyzer. These rules determine which resources and access patterns will be analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisRule
default InternalAccessConfiguration.Builder analysisRule(Consumer<InternalAccessAnalysisRule.Builder> analysisRule) Contains information about analysis rules for the internal access analyzer. These rules determine which resources and access patterns will be analyzed.
This is a convenience method that creates an instance of theInternalAccessAnalysisRule.Builder
avoiding the need to create one manually viaInternalAccessAnalysisRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanalysisRule(InternalAccessAnalysisRule)
.- Parameters:
analysisRule
- a consumer that will call methods onInternalAccessAnalysisRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-