@Generated(value="software.amazon.awssdk:codegen") public final class AnalyzerSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AnalyzerSummary.Builder,AnalyzerSummary>
Contains information about the analyzer.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AnalyzerSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the analyzer.
|
static AnalyzerSummary.Builder |
builder() |
Instant |
createdAt()
A timestamp for the time at which the analyzer was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
lastResourceAnalyzed()
The resource that was most recently analyzed by the analyzer.
|
Instant |
lastResourceAnalyzedAt()
The time at which the most recently analyzed resource was analyzed.
|
String |
name()
The name of the analyzer.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AnalyzerSummary.Builder> |
serializableBuilderClass() |
AnalyzerStatus |
status()
The status of the analyzer.
|
String |
statusAsString()
The status of the analyzer.
|
StatusReason |
statusReason()
The
statusReason provides more details about the current status of the analyzer. |
Map<String,String> |
tags()
The tags added to the analyzer.
|
AnalyzerSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Type |
type()
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
|
String |
typeAsString()
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN of the analyzer.
public final Instant createdAt()
A timestamp for the time at which the analyzer was created.
public final String lastResourceAnalyzed()
The resource that was most recently analyzed by the analyzer.
public final Instant lastResourceAnalyzedAt()
The time at which the most recently analyzed resource was analyzed.
public final String name()
The name of the analyzer.
public final AnalyzerStatus 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.
If the service returns an enum value that is not available in the current SDK version, status will
return AnalyzerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.AnalyzerStatuspublic final String statusAsString()
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.
If the service returns an enum value that is not available in the current SDK version, status will
return AnalyzerStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
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.AnalyzerStatuspublic final 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.
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.public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The tags added to the analyzer.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final Type type()
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
If the service returns an enum value that is not available in the current SDK version, type will return
Type.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Typepublic final String typeAsString()
The type of analyzer, which corresponds to the zone of trust chosen for the analyzer.
If the service returns an enum value that is not available in the current SDK version, type will return
Type.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Typepublic AnalyzerSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AnalyzerSummary.Builder,AnalyzerSummary>public static AnalyzerSummary.Builder builder()
public static Class<? extends AnalyzerSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.