@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Ec2Configuration extends Object implements Serializable, Cloneable, StructuredPojo
Enables agent-based scanning, which scans instances that are not managed by SSM.
| Constructor and Description |
|---|
Ec2Configuration() |
| Modifier and Type | Method and Description |
|---|---|
Ec2Configuration |
clone() |
boolean |
equals(Object obj) |
String |
getScanMode()
The scan method that is applied to the instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setScanMode(String scanMode)
The scan method that is applied to the instance.
|
String |
toString()
Returns a string representation of this object.
|
Ec2Configuration |
withScanMode(Ec2ScanMode scanMode)
The scan method that is applied to the instance.
|
Ec2Configuration |
withScanMode(String scanMode)
The scan method that is applied to the instance.
|
public void setScanMode(String scanMode)
The scan method that is applied to the instance.
scanMode - The scan method that is applied to the instance.Ec2ScanModepublic String getScanMode()
The scan method that is applied to the instance.
Ec2ScanModepublic Ec2Configuration withScanMode(String scanMode)
The scan method that is applied to the instance.
scanMode - The scan method that is applied to the instance.Ec2ScanModepublic Ec2Configuration withScanMode(Ec2ScanMode scanMode)
The scan method that is applied to the instance.
scanMode - The scan method that is applied to the instance.Ec2ScanModepublic String toString()
toString in class ObjectObject.toString()public Ec2Configuration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.