@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MalwareProtectionConfigurationResult extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains information on the status of all Malware Protection data sources.
Constructor and Description |
---|
MalwareProtectionConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
MalwareProtectionConfigurationResult |
clone() |
boolean |
equals(Object obj) |
ScanEc2InstanceWithFindingsResult |
getScanEc2InstanceWithFindings()
Describes the configuration of Malware Protection for EC2 instances with findings.
|
String |
getServiceRole()
The GuardDuty Malware Protection service role.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult scanEc2InstanceWithFindings)
Describes the configuration of Malware Protection for EC2 instances with findings.
|
void |
setServiceRole(String serviceRole)
The GuardDuty Malware Protection service role.
|
String |
toString()
Returns a string representation of this object.
|
MalwareProtectionConfigurationResult |
withScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult scanEc2InstanceWithFindings)
Describes the configuration of Malware Protection for EC2 instances with findings.
|
MalwareProtectionConfigurationResult |
withServiceRole(String serviceRole)
The GuardDuty Malware Protection service role.
|
public MalwareProtectionConfigurationResult()
public void setScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult scanEc2InstanceWithFindings)
Describes the configuration of Malware Protection for EC2 instances with findings.
scanEc2InstanceWithFindings
- Describes the configuration of Malware Protection for EC2 instances with findings.public ScanEc2InstanceWithFindingsResult getScanEc2InstanceWithFindings()
Describes the configuration of Malware Protection for EC2 instances with findings.
public MalwareProtectionConfigurationResult withScanEc2InstanceWithFindings(ScanEc2InstanceWithFindingsResult scanEc2InstanceWithFindings)
Describes the configuration of Malware Protection for EC2 instances with findings.
scanEc2InstanceWithFindings
- Describes the configuration of Malware Protection for EC2 instances with findings.public void setServiceRole(String serviceRole)
The GuardDuty Malware Protection service role.
serviceRole
- The GuardDuty Malware Protection service role.public String getServiceRole()
The GuardDuty Malware Protection service role.
public MalwareProtectionConfigurationResult withServiceRole(String serviceRole)
The GuardDuty Malware Protection service role.
serviceRole
- The GuardDuty Malware Protection service role.public String toString()
toString
in class Object
Object.toString()
public MalwareProtectionConfigurationResult clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.