@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScanSummary extends Object implements Serializable, Cloneable, StructuredPojo
Information about a scan.
Constructor and Description |
---|
ScanSummary() |
Modifier and Type | Method and Description |
---|---|
ScanSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The time when the scan was created.
|
String |
getRunId()
The identifier for the scan run.
|
String |
getScanName()
The name of the scan.
|
String |
getScanNameArn()
The ARN for the scan name.
|
String |
getScanState()
The state of the scan.
|
Date |
getUpdatedAt()
The time the scan was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The time when the scan was created.
|
void |
setRunId(String runId)
The identifier for the scan run.
|
void |
setScanName(String scanName)
The name of the scan.
|
void |
setScanNameArn(String scanNameArn)
The ARN for the scan name.
|
void |
setScanState(String scanState)
The state of the scan.
|
void |
setUpdatedAt(Date updatedAt)
The time the scan was last updated.
|
String |
toString()
Returns a string representation of this object.
|
ScanSummary |
withCreatedAt(Date createdAt)
The time when the scan was created.
|
ScanSummary |
withRunId(String runId)
The identifier for the scan run.
|
ScanSummary |
withScanName(String scanName)
The name of the scan.
|
ScanSummary |
withScanNameArn(String scanNameArn)
The ARN for the scan name.
|
ScanSummary |
withScanState(ScanState scanState)
The state of the scan.
|
ScanSummary |
withScanState(String scanState)
The state of the scan.
|
ScanSummary |
withUpdatedAt(Date updatedAt)
The time the scan was last updated.
|
public void setCreatedAt(Date createdAt)
The time when the scan was created.
createdAt
- The time when the scan was created.public Date getCreatedAt()
The time when the scan was created.
public ScanSummary withCreatedAt(Date createdAt)
The time when the scan was created.
createdAt
- The time when the scan was created.public void setRunId(String runId)
The identifier for the scan run.
runId
- The identifier for the scan run.public String getRunId()
The identifier for the scan run.
public ScanSummary withRunId(String runId)
The identifier for the scan run.
runId
- The identifier for the scan run.public void setScanName(String scanName)
The name of the scan.
scanName
- The name of the scan.public String getScanName()
The name of the scan.
public ScanSummary withScanName(String scanName)
The name of the scan.
scanName
- The name of the scan.public void setScanNameArn(String scanNameArn)
The ARN for the scan name.
scanNameArn
- The ARN for the scan name.public String getScanNameArn()
The ARN for the scan name.
public ScanSummary withScanNameArn(String scanNameArn)
The ARN for the scan name.
scanNameArn
- The ARN for the scan name.public void setScanState(String scanState)
The state of the scan. A scan can be In Progress
, Complete
, or Failed
.
scanState
- The state of the scan. A scan can be In Progress
, Complete
, or
Failed
.ScanState
public String getScanState()
The state of the scan. A scan can be In Progress
, Complete
, or Failed
.
In Progress
, Complete
, or
Failed
.ScanState
public ScanSummary withScanState(String scanState)
The state of the scan. A scan can be In Progress
, Complete
, or Failed
.
scanState
- The state of the scan. A scan can be In Progress
, Complete
, or
Failed
.ScanState
public ScanSummary withScanState(ScanState scanState)
The state of the scan. A scan can be In Progress
, Complete
, or Failed
.
scanState
- The state of the scan. A scan can be In Progress
, Complete
, or
Failed
.ScanState
public void setUpdatedAt(Date updatedAt)
The time the scan was last updated. A scan is updated when it is re-run.
updatedAt
- The time the scan was last updated. A scan is updated when it is re-run.public Date getUpdatedAt()
The time the scan was last updated. A scan is updated when it is re-run.
public ScanSummary withUpdatedAt(Date updatedAt)
The time the scan was last updated. A scan is updated when it is re-run.
updatedAt
- The time the scan was last updated. A scan is updated when it is re-run.public String toString()
toString
in class Object
Object.toString()
public ScanSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.