Interface UnusedAccessConfiguration.Builder

  • Method Details

    • 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 the AnalysisRule.Builder avoiding the need to create one manually via AnalysisRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to analysisRule(AnalysisRule).

      Parameters:
      analysisRule - a consumer that will call methods on AnalysisRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: