Interface AnalyzerSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AnalyzerSummary.Builder,AnalyzerSummary>, SdkBuilder<AnalyzerSummary.Builder,AnalyzerSummary>, SdkPojo
Enclosing class:
AnalyzerSummary

public static interface AnalyzerSummary.Builder extends SdkPojo, CopyableBuilder<AnalyzerSummary.Builder,AnalyzerSummary>
  • Method Details

    • arn

      The ARN of the analyzer.

      Parameters:
      arn - The ARN of the analyzer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the analyzer.

      Parameters:
      name - The name of the analyzer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.

      Parameters:
      type - The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.

      Parameters:
      type - The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      AnalyzerSummary.Builder createdAt(Instant createdAt)

      A timestamp for the time at which the analyzer was created.

      Parameters:
      createdAt - A timestamp for the time at which the analyzer was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastResourceAnalyzed

      AnalyzerSummary.Builder lastResourceAnalyzed(String lastResourceAnalyzed)

      The resource that was most recently analyzed by the analyzer.

      Parameters:
      lastResourceAnalyzed - The resource that was most recently analyzed by the analyzer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastResourceAnalyzedAt

      AnalyzerSummary.Builder lastResourceAnalyzedAt(Instant lastResourceAnalyzedAt)

      The time at which the most recently analyzed resource was analyzed.

      Parameters:
      lastResourceAnalyzedAt - The time at which the most recently analyzed resource was analyzed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags added to the analyzer.

      Parameters:
      tags - The tags added to the analyzer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the analyzer. An Active analyzer successfully monitors supported resources and generates new findings. The analyzer is Disabled when a user action, such as removing trusted access for Identity and Access Management Access Analyzer from Organizations, causes the analyzer to stop generating new findings. The status is Creating when the analyzer creation is in progress and Failed when the analyzer creation has failed.

      Parameters:
      status - The status of the analyzer. An Active analyzer successfully monitors supported resources and generates new findings. The analyzer is Disabled when a user action, such as removing trusted access for Identity and Access Management Access Analyzer from Organizations, causes the analyzer to stop generating new findings. The status is Creating when the analyzer creation is in progress and Failed when the analyzer creation has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the analyzer. An Active analyzer successfully monitors supported resources and generates new findings. The analyzer is Disabled when a user action, such as removing trusted access for Identity and Access Management Access Analyzer from Organizations, causes the analyzer to stop generating new findings. The status is Creating when the analyzer creation is in progress and Failed when the analyzer creation has failed.

      Parameters:
      status - The status of the analyzer. An Active analyzer successfully monitors supported resources and generates new findings. The analyzer is Disabled when a user action, such as removing trusted access for Identity and Access Management Access Analyzer from Organizations, causes the analyzer to stop generating new findings. The status is Creating when the analyzer creation is in progress and Failed when the analyzer creation has failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • statusReason

      AnalyzerSummary.Builder statusReason(StatusReason statusReason)

      The statusReason provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, a Failed status is returned. For an analyzer with organization as the type, this failure can be due to an issue with creating the service-linked roles required in the member accounts of the Amazon Web Services organization.

      Parameters:
      statusReason - The statusReason provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, a Failed status is returned. For an analyzer with organization as the type, this failure can be due to an issue with creating the service-linked roles required in the member accounts of the Amazon Web Services organization.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • statusReason

      default AnalyzerSummary.Builder statusReason(Consumer<StatusReason.Builder> statusReason)

      The statusReason provides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, a Failed status is returned. For an analyzer with organization as the type, this failure can be due to an issue with creating the service-linked roles required in the member accounts of the Amazon Web Services organization.

      This is a convenience method that creates an instance of the StatusReason.Builder avoiding the need to create one manually via StatusReason.builder().

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

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

      AnalyzerSummary.Builder configuration(AnalyzerConfiguration configuration)

      Specifies whether the analyzer is an external access or unused access analyzer.

      Parameters:
      configuration - Specifies whether the analyzer is an external access or unused access analyzer.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • configuration

      default AnalyzerSummary.Builder configuration(Consumer<AnalyzerConfiguration.Builder> configuration)

      Specifies whether the analyzer is an external access or unused access analyzer.

      This is a convenience method that creates an instance of the AnalyzerConfiguration.Builder avoiding the need to create one manually via AnalyzerConfiguration.builder().

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

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