@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoveredResource extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains details about a resource covered by Amazon Inspector.
| Constructor and Description |
|---|
CoveredResource() |
| Modifier and Type | Method and Description |
|---|---|
CoveredResource |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the covered resource.
|
String |
getResourceId()
The ID of the covered resource.
|
ResourceScanMetadata |
getResourceMetadata()
An object that contains details about the metadata.
|
String |
getResourceType()
The type of the covered resource.
|
ScanStatus |
getScanStatus()
The status of the scan covering the resource.
|
String |
getScanType()
The Amazon Inspector scan type covering the resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAccountId(String accountId)
The Amazon Web Services account ID of the covered resource.
|
void |
setResourceId(String resourceId)
The ID of the covered resource.
|
void |
setResourceMetadata(ResourceScanMetadata resourceMetadata)
An object that contains details about the metadata.
|
void |
setResourceType(String resourceType)
The type of the covered resource.
|
void |
setScanStatus(ScanStatus scanStatus)
The status of the scan covering the resource.
|
void |
setScanType(String scanType)
The Amazon Inspector scan type covering the resource.
|
String |
toString()
Returns a string representation of this object.
|
CoveredResource |
withAccountId(String accountId)
The Amazon Web Services account ID of the covered resource.
|
CoveredResource |
withResourceId(String resourceId)
The ID of the covered resource.
|
CoveredResource |
withResourceMetadata(ResourceScanMetadata resourceMetadata)
An object that contains details about the metadata.
|
CoveredResource |
withResourceType(CoverageResourceType resourceType)
The type of the covered resource.
|
CoveredResource |
withResourceType(String resourceType)
The type of the covered resource.
|
CoveredResource |
withScanStatus(ScanStatus scanStatus)
The status of the scan covering the resource.
|
CoveredResource |
withScanType(ScanType scanType)
The Amazon Inspector scan type covering the resource.
|
CoveredResource |
withScanType(String scanType)
The Amazon Inspector scan type covering the resource.
|
public void setAccountId(String accountId)
The Amazon Web Services account ID of the covered resource.
accountId - The Amazon Web Services account ID of the covered resource.public String getAccountId()
The Amazon Web Services account ID of the covered resource.
public CoveredResource withAccountId(String accountId)
The Amazon Web Services account ID of the covered resource.
accountId - The Amazon Web Services account ID of the covered resource.public void setResourceId(String resourceId)
The ID of the covered resource.
resourceId - The ID of the covered resource.public String getResourceId()
The ID of the covered resource.
public CoveredResource withResourceId(String resourceId)
The ID of the covered resource.
resourceId - The ID of the covered resource.public void setResourceMetadata(ResourceScanMetadata resourceMetadata)
An object that contains details about the metadata.
resourceMetadata - An object that contains details about the metadata.public ResourceScanMetadata getResourceMetadata()
An object that contains details about the metadata.
public CoveredResource withResourceMetadata(ResourceScanMetadata resourceMetadata)
An object that contains details about the metadata.
resourceMetadata - An object that contains details about the metadata.public void setResourceType(String resourceType)
The type of the covered resource.
resourceType - The type of the covered resource.CoverageResourceTypepublic String getResourceType()
The type of the covered resource.
CoverageResourceTypepublic CoveredResource withResourceType(String resourceType)
The type of the covered resource.
resourceType - The type of the covered resource.CoverageResourceTypepublic CoveredResource withResourceType(CoverageResourceType resourceType)
The type of the covered resource.
resourceType - The type of the covered resource.CoverageResourceTypepublic void setScanStatus(ScanStatus scanStatus)
The status of the scan covering the resource.
scanStatus - The status of the scan covering the resource.public ScanStatus getScanStatus()
The status of the scan covering the resource.
public CoveredResource withScanStatus(ScanStatus scanStatus)
The status of the scan covering the resource.
scanStatus - The status of the scan covering the resource.public void setScanType(String scanType)
The Amazon Inspector scan type covering the resource.
scanType - The Amazon Inspector scan type covering the resource.ScanTypepublic String getScanType()
The Amazon Inspector scan type covering the resource.
ScanTypepublic CoveredResource withScanType(String scanType)
The Amazon Inspector scan type covering the resource.
scanType - The Amazon Inspector scan type covering the resource.ScanTypepublic CoveredResource withScanType(ScanType scanType)
The Amazon Inspector scan type covering the resource.
scanType - The Amazon Inspector scan type covering the resource.ScanTypepublic String toString()
toString in class ObjectObject.toString()public CoveredResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.