Class FindingSummaryV2
- java.lang.Object
-
- software.amazon.awssdk.services.accessanalyzer.model.FindingSummaryV2
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FindingSummaryV2.Builder,FindingSummaryV2>
@Generated("software.amazon.awssdk:codegen") public final class FindingSummaryV2 extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FindingSummaryV2.Builder,FindingSummaryV2>
Contains information about a finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFindingSummaryV2.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantanalyzedAt()The time at which the resource-based policy or IAM entity that generated the finding was analyzed.static FindingSummaryV2.Builderbuilder()InstantcreatedAt()The time at which the finding was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringerror()The error that resulted in an Error finding.FindingTypefindingType()The type of the external access or unused access finding.StringfindingTypeAsString()The type of the external access or unused access finding.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the finding.Stringresource()The resource that the external principal has access to.StringresourceOwnerAccount()The Amazon Web Services account ID that owns the resource.ResourceTyperesourceType()The type of the resource that the external principal has access to.StringresourceTypeAsString()The type of the resource that the external principal has access to.List<SdkField<?>>sdkFields()static Class<? extends FindingSummaryV2.Builder>serializableBuilderClass()FindingStatusstatus()The status of the finding.StringstatusAsString()The status of the finding.FindingSummaryV2.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The time at which the finding was most recently updated.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
analyzedAt
public final Instant analyzedAt()
The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
- Returns:
- The time at which the resource-based policy or IAM entity that generated the finding was analyzed.
-
createdAt
public final Instant createdAt()
The time at which the finding was created.
- Returns:
- The time at which the finding was created.
-
error
public final String error()
The error that resulted in an Error finding.
- Returns:
- The error that resulted in an Error finding.
-
id
public final String id()
The ID of the finding.
- Returns:
- The ID of the finding.
-
resource
public final String resource()
The resource that the external principal has access to.
- Returns:
- The resource that the external principal has access to.
-
resourceType
public final ResourceType resourceType()
The type of the resource that the external principal has access to.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of the resource that the external principal has access to.
- See Also:
ResourceType
-
resourceTypeAsString
public final String resourceTypeAsString()
The type of the resource that the external principal has access to.
If the service returns an enum value that is not available in the current SDK version,
resourceTypewill returnResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceTypeAsString().- Returns:
- The type of the resource that the external principal has access to.
- See Also:
ResourceType
-
resourceOwnerAccount
public final String resourceOwnerAccount()
The Amazon Web Services account ID that owns the resource.
- Returns:
- The Amazon Web Services account ID that owns the resource.
-
status
public final FindingStatus status()
The status of the finding.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFindingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the finding.
- See Also:
FindingStatus
-
statusAsString
public final String statusAsString()
The status of the finding.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFindingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the finding.
- See Also:
FindingStatus
-
updatedAt
public final Instant updatedAt()
The time at which the finding was most recently updated.
- Returns:
- The time at which the finding was most recently updated.
-
findingType
public final FindingType findingType()
The type of the external access or unused access finding.
If the service returns an enum value that is not available in the current SDK version,
findingTypewill returnFindingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfindingTypeAsString().- Returns:
- The type of the external access or unused access finding.
- See Also:
FindingType
-
findingTypeAsString
public final String findingTypeAsString()
The type of the external access or unused access finding.
If the service returns an enum value that is not available in the current SDK version,
findingTypewill returnFindingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfindingTypeAsString().- Returns:
- The type of the external access or unused access finding.
- See Also:
FindingType
-
toBuilder
public FindingSummaryV2.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FindingSummaryV2.Builder,FindingSummaryV2>
-
builder
public static FindingSummaryV2.Builder builder()
-
serializableBuilderClass
public static Class<? extends FindingSummaryV2.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-