@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceScanSummary extends Object implements Serializable, Cloneable
A summary of the resource scan. This is returned by the ListResourceScan
API action.
Constructor and Description |
---|
ResourceScanSummary() |
Modifier and Type | Method and Description |
---|---|
ResourceScanSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getEndTime()
The time that the resource scan was finished.
|
Double |
getPercentageCompleted()
The percentage of the resource scan that has been completed.
|
String |
getResourceScanId()
The Amazon Resource Name (ARN) of the resource scan.
|
Date |
getStartTime()
The time that the resource scan was started.
|
String |
getStatus()
Status of the resource scan.
|
String |
getStatusReason()
The reason for the resource scan status, providing more information if a failure happened.
|
int |
hashCode() |
void |
setEndTime(Date endTime)
The time that the resource scan was finished.
|
void |
setPercentageCompleted(Double percentageCompleted)
The percentage of the resource scan that has been completed.
|
void |
setResourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.
|
void |
setStartTime(Date startTime)
The time that the resource scan was started.
|
void |
setStatus(String status)
Status of the resource scan.
|
void |
setStatusReason(String statusReason)
The reason for the resource scan status, providing more information if a failure happened.
|
String |
toString()
Returns a string representation of this object.
|
ResourceScanSummary |
withEndTime(Date endTime)
The time that the resource scan was finished.
|
ResourceScanSummary |
withPercentageCompleted(Double percentageCompleted)
The percentage of the resource scan that has been completed.
|
ResourceScanSummary |
withResourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.
|
ResourceScanSummary |
withStartTime(Date startTime)
The time that the resource scan was started.
|
ResourceScanSummary |
withStatus(ResourceScanStatus status)
Status of the resource scan.
|
ResourceScanSummary |
withStatus(String status)
Status of the resource scan.
|
ResourceScanSummary |
withStatusReason(String statusReason)
The reason for the resource scan status, providing more information if a failure happened.
|
public void setResourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.
resourceScanId
- The Amazon Resource Name (ARN) of the resource scan.public String getResourceScanId()
The Amazon Resource Name (ARN) of the resource scan.
public ResourceScanSummary withResourceScanId(String resourceScanId)
The Amazon Resource Name (ARN) of the resource scan.
resourceScanId
- The Amazon Resource Name (ARN) of the resource scan.public void setStatus(String status)
Status of the resource scan.
The resource scan is still in progress.
The resource scan is complete.
The resource scan has expired.
The resource scan has failed.
status
- Status of the resource scan.
The resource scan is still in progress.
The resource scan is complete.
The resource scan has expired.
The resource scan has failed.
ResourceScanStatus
public String getStatus()
Status of the resource scan.
The resource scan is still in progress.
The resource scan is complete.
The resource scan has expired.
The resource scan has failed.
The resource scan is still in progress.
The resource scan is complete.
The resource scan has expired.
The resource scan has failed.
ResourceScanStatus
public ResourceScanSummary withStatus(String status)
Status of the resource scan.
The resource scan is still in progress.
The resource scan is complete.
The resource scan has expired.
The resource scan has failed.
status
- Status of the resource scan.
The resource scan is still in progress.
The resource scan is complete.
The resource scan has expired.
The resource scan has failed.
ResourceScanStatus
public ResourceScanSummary withStatus(ResourceScanStatus status)
Status of the resource scan.
The resource scan is still in progress.
The resource scan is complete.
The resource scan has expired.
The resource scan has failed.
status
- Status of the resource scan.
The resource scan is still in progress.
The resource scan is complete.
The resource scan has expired.
The resource scan has failed.
ResourceScanStatus
public void setStatusReason(String statusReason)
The reason for the resource scan status, providing more information if a failure happened.
statusReason
- The reason for the resource scan status, providing more information if a failure happened.public String getStatusReason()
The reason for the resource scan status, providing more information if a failure happened.
public ResourceScanSummary withStatusReason(String statusReason)
The reason for the resource scan status, providing more information if a failure happened.
statusReason
- The reason for the resource scan status, providing more information if a failure happened.public void setStartTime(Date startTime)
The time that the resource scan was started.
startTime
- The time that the resource scan was started.public Date getStartTime()
The time that the resource scan was started.
public ResourceScanSummary withStartTime(Date startTime)
The time that the resource scan was started.
startTime
- The time that the resource scan was started.public void setEndTime(Date endTime)
The time that the resource scan was finished.
endTime
- The time that the resource scan was finished.public Date getEndTime()
The time that the resource scan was finished.
public ResourceScanSummary withEndTime(Date endTime)
The time that the resource scan was finished.
endTime
- The time that the resource scan was finished.public void setPercentageCompleted(Double percentageCompleted)
The percentage of the resource scan that has been completed.
percentageCompleted
- The percentage of the resource scan that has been completed.public Double getPercentageCompleted()
The percentage of the resource scan that has been completed.
public ResourceScanSummary withPercentageCompleted(Double percentageCompleted)
The percentage of the resource scan that has been completed.
percentageCompleted
- The percentage of the resource scan that has been completed.public String toString()
toString
in class Object
Object.toString()
public ResourceScanSummary clone()