Class Ec2ScanModeState
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.Ec2ScanModeState
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Ec2ScanModeState.Builder,Ec2ScanModeState>
@Generated("software.amazon.awssdk:codegen") public final class Ec2ScanModeState extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Ec2ScanModeState.Builder,Ec2ScanModeState>
The state of your Amazon EC2 scan mode configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEc2ScanModeState.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Ec2ScanModeState.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.Ec2ScanModeStatusscanModeStatus()The status of the Amazon EC2 scan mode setting.StringscanModeStatusAsString()The status of the Amazon EC2 scan mode setting.List<SdkField<?>>sdkFields()static Class<? extends Ec2ScanModeState.Builder>serializableBuilderClass()Ec2ScanModeState.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
-
scanModeStatus
public final Ec2ScanModeStatus scanModeStatus()
The status of the Amazon EC2 scan mode setting.
If the service returns an enum value that is not available in the current SDK version,
scanModeStatuswill returnEc2ScanModeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanModeStatusAsString().- Returns:
- The status of the Amazon EC2 scan mode setting.
- See Also:
Ec2ScanModeStatus
-
scanModeStatusAsString
public final String scanModeStatusAsString()
The status of the Amazon EC2 scan mode setting.
If the service returns an enum value that is not available in the current SDK version,
scanModeStatuswill returnEc2ScanModeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromscanModeStatusAsString().- Returns:
- The status of the Amazon EC2 scan mode setting.
- See Also:
Ec2ScanModeStatus
-
toBuilder
public Ec2ScanModeState.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Ec2ScanModeState.Builder,Ec2ScanModeState>
-
builder
public static Ec2ScanModeState.Builder builder()
-
serializableBuilderClass
public static Class<? extends Ec2ScanModeState.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.
-
-