@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateScanResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateScanResult() |
Modifier and Type | Method and Description |
---|---|
CreateScanResult |
clone() |
boolean |
equals(Object obj) |
ResourceId |
getResourceId()
The identifier for the resource object that contains resources that were scanned.
|
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.
|
int |
hashCode() |
void |
setResourceId(ResourceId resourceId)
The identifier for the resource object that contains resources that were scanned.
|
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.
|
String |
toString()
Returns a string representation of this object.
|
CreateScanResult |
withResourceId(ResourceId resourceId)
The identifier for the resource object that contains resources that were scanned.
|
CreateScanResult |
withRunId(String runId)
UUID that identifies the individual scan run.
|
CreateScanResult |
withScanName(String scanName)
The name of the scan.
|
CreateScanResult |
withScanNameArn(String scanNameArn)
The ARN for the scan name.
|
CreateScanResult |
withScanState(ScanState scanState)
The current state of the scan.
|
CreateScanResult |
withScanState(String scanState)
The current state of the scan.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setResourceId(ResourceId resourceId)
The identifier for the resource object that contains resources that were scanned.
resourceId
- The identifier for the resource object that contains resources that were scanned.public ResourceId getResourceId()
The identifier for the resource object that contains resources that were scanned.
public CreateScanResult withResourceId(ResourceId resourceId)
The identifier for the resource object that contains resources that were scanned.
resourceId
- The identifier for the resource object that contains resources that were scanned.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 CreateScanResult 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 CreateScanResult 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 CreateScanResult 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 CreateScanResult 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 CreateScanResult 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 String toString()
toString
in class Object
Object.toString()
public CreateScanResult clone()