@Generated(value="software.amazon.awssdk:codegen") public final class CoveredResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CoveredResource.Builder,CoveredResource>
An object that contains details about a resource covered by Amazon Inspector.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CoveredResource.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The Amazon Web Services account ID of the covered resource.
|
static CoveredResource.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceId()
The ID of the covered resource.
|
ResourceScanMetadata |
resourceMetadata()
An object that contains details about the metadata.
|
CoverageResourceType |
resourceType()
The type of the covered resource.
|
String |
resourceTypeAsString()
The type of the covered resource.
|
ScanStatus |
scanStatus()
The status of the scan covering the resource.
|
ScanType |
scanType()
The Amazon Inspector scan type covering the resource.
|
String |
scanTypeAsString()
The Amazon Inspector scan type covering the resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CoveredResource.Builder> |
serializableBuilderClass() |
CoveredResource.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
The Amazon Web Services account ID of the covered resource.
public final String resourceId()
The ID of the covered resource.
public final ResourceScanMetadata resourceMetadata()
An object that contains details about the metadata.
public final CoverageResourceType resourceType()
The type of the covered resource.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return CoverageResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceTypeAsString().
CoverageResourceTypepublic final String resourceTypeAsString()
The type of the covered resource.
If the service returns an enum value that is not available in the current SDK version, resourceType will
return CoverageResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceTypeAsString().
CoverageResourceTypepublic final ScanStatus scanStatus()
The status of the scan covering the resource.
public final ScanType scanType()
The Amazon Inspector scan type covering the resource.
If the service returns an enum value that is not available in the current SDK version, scanType will
return ScanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scanTypeAsString().
ScanTypepublic final String scanTypeAsString()
The Amazon Inspector scan type covering the resource.
If the service returns an enum value that is not available in the current SDK version, scanType will
return ScanType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
scanTypeAsString().
ScanTypepublic CoveredResource.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CoveredResource.Builder,CoveredResource>public static CoveredResource.Builder builder()
public static Class<? extends CoveredResource.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.