@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ScanStatus extends Object implements Serializable, Cloneable, StructuredPojo
The status of the scan.
Constructor and Description |
---|
ScanStatus() |
Modifier and Type | Method and Description |
---|---|
ScanStatus |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
The reason for the scan.
|
String |
getStatusCode()
The status code of the scan.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setReason(String reason)
The reason for the scan.
|
void |
setStatusCode(String statusCode)
The status code of the scan.
|
String |
toString()
Returns a string representation of this object.
|
ScanStatus |
withReason(ScanStatusReason reason)
The reason for the scan.
|
ScanStatus |
withReason(String reason)
The reason for the scan.
|
ScanStatus |
withStatusCode(ScanStatusCode statusCode)
The status code of the scan.
|
ScanStatus |
withStatusCode(String statusCode)
The status code of the scan.
|
public void setReason(String reason)
The reason for the scan.
reason
- The reason for the scan.ScanStatusReason
public String getReason()
The reason for the scan.
ScanStatusReason
public ScanStatus withReason(String reason)
The reason for the scan.
reason
- The reason for the scan.ScanStatusReason
public ScanStatus withReason(ScanStatusReason reason)
The reason for the scan.
reason
- The reason for the scan.ScanStatusReason
public void setStatusCode(String statusCode)
The status code of the scan.
statusCode
- The status code of the scan.ScanStatusCode
public String getStatusCode()
The status code of the scan.
ScanStatusCode
public ScanStatus withStatusCode(String statusCode)
The status code of the scan.
statusCode
- The status code of the scan.ScanStatusCode
public ScanStatus withStatusCode(ScanStatusCode statusCode)
The status code of the scan.
statusCode
- The status code of the scan.ScanStatusCode
public String toString()
toString
in class Object
Object.toString()
public ScanStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.