Interface UnusedAccessConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<UnusedAccessConfiguration.Builder,UnusedAccessConfiguration>,SdkBuilder<UnusedAccessConfiguration.Builder,UnusedAccessConfiguration>,SdkPojo
- Enclosing class:
- UnusedAccessConfiguration
public static interface UnusedAccessConfiguration.Builder extends SdkPojo, CopyableBuilder<UnusedAccessConfiguration.Builder,UnusedAccessConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default UnusedAccessConfiguration.BuilderanalysisRule(Consumer<AnalysisRule.Builder> analysisRule)Sets the value of the AnalysisRule property for this object.UnusedAccessConfiguration.BuilderanalysisRule(AnalysisRule analysisRule)Sets the value of the AnalysisRule property for this object.UnusedAccessConfiguration.BuilderunusedAccessAge(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 Detail
-
unusedAccessAge
UnusedAccessConfiguration.Builder unusedAccessAge(Integer 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
UnusedAccessConfiguration.Builder analysisRule(AnalysisRule 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
default UnusedAccessConfiguration.Builder analysisRule(Consumer<AnalysisRule.Builder> analysisRule)
Sets the value of the AnalysisRule property for this object. This is a convenience method that creates an instance of theAnalysisRule.Builderavoiding the need to create one manually viaAnalysisRule.builder().When the
Consumercompletes,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:
analysisRule(AnalysisRule)
-
-