Class Ec2Configuration
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.Ec2Configuration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Ec2Configuration.Builder,Ec2Configuration>
@Generated("software.amazon.awssdk:codegen") public final class Ec2Configuration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Ec2Configuration.Builder,Ec2Configuration>
Enables agent-based scanning, which scans instances that are not managed by SSM.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEc2Configuration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ec2Configuration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Ec2ScanModescanMode()The scan method that is applied to the instance.StringscanModeAsString()The scan method that is applied to the instance.List<SdkField<?>>sdkFields()static Class<? extends Ec2Configuration.Builder>serializableBuilderClass()Ec2Configuration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
scanMode
public final Ec2ScanMode scanMode()
The scan method that is applied to the instance.
If the service returns an enum value that is not available in the current SDK version,
scanModewill returnEc2ScanMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanModeAsString().- Returns:
- The scan method that is applied to the instance.
- See Also:
Ec2ScanMode
-
scanModeAsString
public final String scanModeAsString()
The scan method that is applied to the instance.
If the service returns an enum value that is not available in the current SDK version,
scanModewill returnEc2ScanMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanModeAsString().- Returns:
- The scan method that is applied to the instance.
- See Also:
Ec2ScanMode
-
toBuilder
public Ec2Configuration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Ec2Configuration.Builder,Ec2Configuration>
-
builder
public static Ec2Configuration.Builder builder()
-
serializableBuilderClass
public static Class<? extends Ec2Configuration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-