@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EbsVolumesResult extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration of scanning EBS volumes as a data source.
| Constructor and Description |
|---|
EbsVolumesResult() |
| Modifier and Type | Method and Description |
|---|---|
EbsVolumesResult |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source.
|
String |
getStatus()
Describes whether scanning EBS volumes is enabled as a data source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setReason(String reason)
Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source.
|
void |
setStatus(String status)
Describes whether scanning EBS volumes is enabled as a data source.
|
String |
toString()
Returns a string representation of this object.
|
EbsVolumesResult |
withReason(String reason)
Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source.
|
EbsVolumesResult |
withStatus(DataSourceStatus status)
Describes whether scanning EBS volumes is enabled as a data source.
|
EbsVolumesResult |
withStatus(String status)
Describes whether scanning EBS volumes is enabled as a data source.
|
public void setStatus(String status)
Describes whether scanning EBS volumes is enabled as a data source.
status - Describes whether scanning EBS volumes is enabled as a data source.DataSourceStatuspublic String getStatus()
Describes whether scanning EBS volumes is enabled as a data source.
DataSourceStatuspublic EbsVolumesResult withStatus(String status)
Describes whether scanning EBS volumes is enabled as a data source.
status - Describes whether scanning EBS volumes is enabled as a data source.DataSourceStatuspublic EbsVolumesResult withStatus(DataSourceStatus status)
Describes whether scanning EBS volumes is enabled as a data source.
status - Describes whether scanning EBS volumes is enabled as a data source.DataSourceStatuspublic void setReason(String reason)
Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source.
reason - Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source.public String getReason()
Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source.
public EbsVolumesResult withReason(String reason)
Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source.
reason - Specifies the reason why scanning EBS volumes (Malware Protection) was not enabled as a data source.public String toString()
toString in class ObjectObject.toString()public EbsVolumesResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.