@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration of scanning EBS volumes (Malware Protection) as a data source.
Constructor and Description |
---|
AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails() |
Modifier and Type | Method and Description |
---|---|
AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails |
clone() |
boolean |
equals(Object obj) |
String |
getReason()
Specifies the reason why scanning EBS volumes (Malware Protection) isn’t activated as a data source.
|
String |
getStatus()
Describes whether scanning EBS volumes is activated as a data source for the detector.
|
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) isn’t activated as a data source.
|
void |
setStatus(String status)
Describes whether scanning EBS volumes is activated as a data source for the detector.
|
String |
toString()
Returns a string representation of this object.
|
AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails |
withReason(String reason)
Specifies the reason why scanning EBS volumes (Malware Protection) isn’t activated as a data source.
|
AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails |
withStatus(String status)
Describes whether scanning EBS volumes is activated as a data source for the detector.
|
public AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails()
public void setReason(String reason)
Specifies the reason why scanning EBS volumes (Malware Protection) isn’t activated as a data source.
reason
- Specifies the reason why scanning EBS volumes (Malware Protection) isn’t activated as a data source.public String getReason()
Specifies the reason why scanning EBS volumes (Malware Protection) isn’t activated as a data source.
public AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails withReason(String reason)
Specifies the reason why scanning EBS volumes (Malware Protection) isn’t activated as a data source.
reason
- Specifies the reason why scanning EBS volumes (Malware Protection) isn’t activated as a data source.public void setStatus(String status)
Describes whether scanning EBS volumes is activated as a data source for the detector.
status
- Describes whether scanning EBS volumes is activated as a data source for the detector.public String getStatus()
Describes whether scanning EBS volumes is activated as a data source for the detector.
public AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails withStatus(String status)
Describes whether scanning EBS volumes is activated as a data source for the detector.
status
- Describes whether scanning EBS volumes is activated as a data source for the detector.public String toString()
toString
in class Object
Object.toString()
public AwsGuardDutyDetectorDataSourcesMalwareProtectionScanEc2InstanceWithFindingsEbsVolumesDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.