Interface UnusedAccessConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<UnusedAccessConfiguration.Builder,
,UnusedAccessConfiguration> SdkBuilder<UnusedAccessConfiguration.Builder,
,UnusedAccessConfiguration> SdkPojo
- Enclosing class:
UnusedAccessConfiguration
@Mutable
@NotThreadSafe
public static interface UnusedAccessConfiguration.Builder
extends SdkPojo, CopyableBuilder<UnusedAccessConfiguration.Builder,UnusedAccessConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionanalysisRule
(Consumer<AnalysisRule.Builder> analysisRule) Sets the value of the AnalysisRule property for this object.analysisRule
(AnalysisRule analysisRule) Sets the value of the AnalysisRule property for this object.unusedAccessAge
(Integer unusedAccessAge) The specified access age in days for which to generate findings for unused access.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
-
unusedAccessAge
The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 365 days.
- Parameters:
unusedAccessAge
- The specified access age in days for which to generate findings for unused access. For example, if you specify 90 days, the analyzer will generate findings for IAM entities within the accounts of the selected organization for any access that hasn't been used in 90 or more days since the analyzer's last scan. You can choose a value between 1 and 365 days.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisRule
Sets the value of the AnalysisRule property for this object.- Parameters:
analysisRule
- The new value for the AnalysisRule property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
analysisRule
Sets the value of the AnalysisRule property for this object. This is a convenience method that creates an instance of theAnalysisRule.Builder
avoiding the need to create one manually viaAnalysisRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanalysisRule(AnalysisRule)
.- Parameters:
analysisRule
- a consumer that will call methods onAnalysisRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-