@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetScanResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetScanResult() |
Modifier and Type | Method and Description |
---|---|
GetScanResult |
clone() |
boolean |
equals(Object obj) |
String |
getAnalysisType()
The type of analysis CodeGuru Security performed in the scan, either
Security or All . |
Date |
getCreatedAt()
The time the scan was created.
|
String |
getErrorMessage()
Details about the error that causes a scan to fail to be retrieved.
|
Long |
getNumberOfRevisions()
The number of times a scan has been re-run on a revised resource.
|
String |
getRunId()
UUID that identifies the individual scan run.
|
String |
getScanName()
The name of the scan.
|
String |
getScanNameArn()
The ARN for the scan name.
|
String |
getScanState()
The current state of the scan.
|
Date |
getUpdatedAt()
The time when the scan was last updated.
|
int |
hashCode() |
void |
setAnalysisType(String analysisType)
The type of analysis CodeGuru Security performed in the scan, either
Security or All . |
void |
setCreatedAt(Date createdAt)
The time the scan was created.
|
void |
setErrorMessage(String errorMessage)
Details about the error that causes a scan to fail to be retrieved.
|
void |
setNumberOfRevisions(Long numberOfRevisions)
The number of times a scan has been re-run on a revised resource.
|
void |
setRunId(String runId)
UUID that identifies the individual 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 current state of the scan.
|
void |
setUpdatedAt(Date updatedAt)
The time when the scan was last updated.
|
String |
toString()
Returns a string representation of this object.
|
GetScanResult |
withAnalysisType(AnalysisType analysisType)
The type of analysis CodeGuru Security performed in the scan, either
Security or All . |
GetScanResult |
withAnalysisType(String analysisType)
The type of analysis CodeGuru Security performed in the scan, either
Security or All . |
GetScanResult |
withCreatedAt(Date createdAt)
The time the scan was created.
|
GetScanResult |
withErrorMessage(String errorMessage)
Details about the error that causes a scan to fail to be retrieved.
|
GetScanResult |
withNumberOfRevisions(Long numberOfRevisions)
The number of times a scan has been re-run on a revised resource.
|
GetScanResult |
withRunId(String runId)
UUID that identifies the individual scan run.
|
GetScanResult |
withScanName(String scanName)
The name of the scan.
|
GetScanResult |
withScanNameArn(String scanNameArn)
The ARN for the scan name.
|
GetScanResult |
withScanState(ScanState scanState)
The current state of the scan.
|
GetScanResult |
withScanState(String scanState)
The current state of the scan.
|
GetScanResult |
withUpdatedAt(Date updatedAt)
The time when the scan was last updated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setAnalysisType(String analysisType)
The type of analysis CodeGuru Security performed in the scan, either Security
or All
.
The Security
type only generates findings related to security. The All
type generates
both security findings and quality findings.
analysisType
- The type of analysis CodeGuru Security performed in the scan, either Security
or
All
. The Security
type only generates findings related to security. The
All
type generates both security findings and quality findings.AnalysisType
public String getAnalysisType()
The type of analysis CodeGuru Security performed in the scan, either Security
or All
.
The Security
type only generates findings related to security. The All
type generates
both security findings and quality findings.
Security
or
All
. The Security
type only generates findings related to security. The
All
type generates both security findings and quality findings.AnalysisType
public GetScanResult withAnalysisType(String analysisType)
The type of analysis CodeGuru Security performed in the scan, either Security
or All
.
The Security
type only generates findings related to security. The All
type generates
both security findings and quality findings.
analysisType
- The type of analysis CodeGuru Security performed in the scan, either Security
or
All
. The Security
type only generates findings related to security. The
All
type generates both security findings and quality findings.AnalysisType
public GetScanResult withAnalysisType(AnalysisType analysisType)
The type of analysis CodeGuru Security performed in the scan, either Security
or All
.
The Security
type only generates findings related to security. The All
type generates
both security findings and quality findings.
analysisType
- The type of analysis CodeGuru Security performed in the scan, either Security
or
All
. The Security
type only generates findings related to security. The
All
type generates both security findings and quality findings.AnalysisType
public void setCreatedAt(Date createdAt)
The time the scan was created.
createdAt
- The time the scan was created.public Date getCreatedAt()
The time the scan was created.
public GetScanResult withCreatedAt(Date createdAt)
The time the scan was created.
createdAt
- The time the scan was created.public void setErrorMessage(String errorMessage)
Details about the error that causes a scan to fail to be retrieved.
errorMessage
- Details about the error that causes a scan to fail to be retrieved.public String getErrorMessage()
Details about the error that causes a scan to fail to be retrieved.
public GetScanResult withErrorMessage(String errorMessage)
Details about the error that causes a scan to fail to be retrieved.
errorMessage
- Details about the error that causes a scan to fail to be retrieved.public void setNumberOfRevisions(Long numberOfRevisions)
The number of times a scan has been re-run on a revised resource.
numberOfRevisions
- The number of times a scan has been re-run on a revised resource.public Long getNumberOfRevisions()
The number of times a scan has been re-run on a revised resource.
public GetScanResult withNumberOfRevisions(Long numberOfRevisions)
The number of times a scan has been re-run on a revised resource.
numberOfRevisions
- The number of times a scan has been re-run on a revised resource.public void setRunId(String runId)
UUID that identifies the individual scan run.
runId
- UUID that identifies the individual scan run.public String getRunId()
UUID that identifies the individual scan run.
public GetScanResult withRunId(String runId)
UUID that identifies the individual scan run.
runId
- UUID that identifies the individual 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 GetScanResult 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 GetScanResult withScanNameArn(String scanNameArn)
The ARN for the scan name.
scanNameArn
- The ARN for the scan name.public void setScanState(String scanState)
The current state of the scan. Returns either InProgress
, Successful
, or
Failed
.
scanState
- The current state of the scan. Returns either InProgress
, Successful
, or
Failed
.ScanState
public String getScanState()
The current state of the scan. Returns either InProgress
, Successful
, or
Failed
.
InProgress
, Successful
, or
Failed
.ScanState
public GetScanResult withScanState(String scanState)
The current state of the scan. Returns either InProgress
, Successful
, or
Failed
.
scanState
- The current state of the scan. Returns either InProgress
, Successful
, or
Failed
.ScanState
public GetScanResult withScanState(ScanState scanState)
The current state of the scan. Returns either InProgress
, Successful
, or
Failed
.
scanState
- The current state of the scan. Returns either InProgress
, Successful
, or
Failed
.ScanState
public void setUpdatedAt(Date updatedAt)
The time when the scan was last updated. Only available for STANDARD
scan types.
updatedAt
- The time when the scan was last updated. Only available for STANDARD
scan types.public Date getUpdatedAt()
The time when the scan was last updated. Only available for STANDARD
scan types.
STANDARD
scan types.public GetScanResult withUpdatedAt(Date updatedAt)
The time when the scan was last updated. Only available for STANDARD
scan types.
updatedAt
- The time when the scan was last updated. Only available for STANDARD
scan types.public String toString()
toString
in class Object
Object.toString()
public GetScanResult clone()