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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AnalyzerSummary.Builderarn(String arn)The ARN of the analyzer.AnalyzerSummary.BuildercreatedAt(Instant createdAt)A timestamp for the time at which the analyzer was created.AnalyzerSummary.BuilderlastResourceAnalyzed(String lastResourceAnalyzed)The resource that was most recently analyzed by the analyzer.AnalyzerSummary.BuilderlastResourceAnalyzedAt(Instant lastResourceAnalyzedAt)The time at which the most recently analyzed resource was analyzed.AnalyzerSummary.Buildername(String name)The name of the analyzer.AnalyzerSummary.Builderstatus(String status)The status of the analyzer.AnalyzerSummary.Builderstatus(AnalyzerStatus status)The status of the analyzer.default AnalyzerSummary.BuilderstatusReason(Consumer<StatusReason.Builder> statusReason)ThestatusReasonprovides more details about the current status of the analyzer.AnalyzerSummary.BuilderstatusReason(StatusReason statusReason)ThestatusReasonprovides more details about the current status of the analyzer.AnalyzerSummary.Buildertags(Map<String,String> tags)The tags added to the analyzer.AnalyzerSummary.Buildertype(String type)The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.AnalyzerSummary.Buildertype(Type type)The type of analyzer, which corresponds to the zone of trust chosen for the 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, sdkFields
-
-
-
-
Method Detail
-
arn
AnalyzerSummary.Builder arn(String 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
AnalyzerSummary.Builder name(String 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
AnalyzerSummary.Builder type(String type)
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
-
type
AnalyzerSummary.Builder type(Type type)
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
-
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
AnalyzerSummary.Builder tags(Map<String,String> 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
AnalyzerSummary.Builder status(String status)
The status of the analyzer. An
Activeanalyzer successfully monitors supported resources and generates new findings. The analyzer isDisabledwhen 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 isCreatingwhen the analyzer creation is in progress andFailedwhen the analyzer creation has failed.- Parameters:
status- The status of the analyzer. AnActiveanalyzer successfully monitors supported resources and generates new findings. The analyzer isDisabledwhen 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 isCreatingwhen the analyzer creation is in progress andFailedwhen the analyzer creation has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnalyzerStatus,AnalyzerStatus
-
status
AnalyzerSummary.Builder status(AnalyzerStatus status)
The status of the analyzer. An
Activeanalyzer successfully monitors supported resources and generates new findings. The analyzer isDisabledwhen 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 isCreatingwhen the analyzer creation is in progress andFailedwhen the analyzer creation has failed.- Parameters:
status- The status of the analyzer. AnActiveanalyzer successfully monitors supported resources and generates new findings. The analyzer isDisabledwhen 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 isCreatingwhen the analyzer creation is in progress andFailedwhen the analyzer creation has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnalyzerStatus,AnalyzerStatus
-
statusReason
AnalyzerSummary.Builder statusReason(StatusReason statusReason)
The
statusReasonprovides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, aFailedstatus 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- ThestatusReasonprovides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, aFailedstatus 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
This is a convenience method that creates an instance of thestatusReasonprovides more details about the current status of the analyzer. For example, if the creation for the analyzer fails, aFailedstatus 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.StatusReason.Builderavoiding the need to create one manually viaStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatusReason(StatusReason).- Parameters:
statusReason- a consumer that will call methods onStatusReason.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
statusReason(StatusReason)
-
-