@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.Ec2ScanMode
public String getScanMode()
The scan method that is applied to the instance.
Ec2ScanMode
public Ec2Configuration withScanMode(String scanMode)
The scan method that is applied to the instance.
scanMode
- The scan method that is applied to the instance.Ec2ScanMode
public Ec2Configuration withScanMode(Ec2ScanMode scanMode)
The scan method that is applied to the instance.
scanMode
- The scan method that is applied to the instance.Ec2ScanMode
public String toString()
toString
in class Object
Object.toString()
public Ec2Configuration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.