Class CisScan
- java.lang.Object
-
- software.amazon.awssdk.services.inspector2.model.CisScan
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CisScan.Builder,CisScan>
@Generated("software.amazon.awssdk:codegen") public final class CisScan extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CisScan.Builder,CisScan>
The CIS scan.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCisScan.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CisScan.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerfailedChecks()The CIS scan's failed checks.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringscanArn()The CIS scan's ARN.StringscanConfigurationArn()The CIS scan's configuration ARN.InstantscanDate()The CIS scan's date.StringscanName()The the name of the scan configuration that's associated with this scan.StringscheduledBy()The account or organization that schedules the CIS scan.List<SdkField<?>>sdkFields()CisSecurityLevelsecurityLevel()The security level for the CIS scan.StringsecurityLevelAsString()The security level for the CIS scan.static Class<? extends CisScan.Builder>serializableBuilderClass()CisScanStatusstatus()The CIS scan's status.StringstatusAsString()The CIS scan's status.CisTargetstargets()The CIS scan's targets.CisScan.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegertotalChecks()The CIS scan's total checks.-
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
-
failedChecks
public final Integer failedChecks()
The CIS scan's failed checks.
- Returns:
- The CIS scan's failed checks.
-
scanArn
public final String scanArn()
The CIS scan's ARN.
- Returns:
- The CIS scan's ARN.
-
scanConfigurationArn
public final String scanConfigurationArn()
The CIS scan's configuration ARN.
- Returns:
- The CIS scan's configuration ARN.
-
scanDate
public final Instant scanDate()
The CIS scan's date.
- Returns:
- The CIS scan's date.
-
scanName
public final String scanName()
The the name of the scan configuration that's associated with this scan.
- Returns:
- The the name of the scan configuration that's associated with this scan.
-
scheduledBy
public final String scheduledBy()
The account or organization that schedules the CIS scan.
- Returns:
- The account or organization that schedules the CIS scan.
-
securityLevel
public final CisSecurityLevel securityLevel()
The security level for the CIS scan. Security level refers to the Benchmark levels that CIS assigns to a profile.
If the service returns an enum value that is not available in the current SDK version,
securityLevelwill returnCisSecurityLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsecurityLevelAsString().- Returns:
- The security level for the CIS scan. Security level refers to the Benchmark levels that CIS assigns to a profile.
- See Also:
CisSecurityLevel
-
securityLevelAsString
public final String securityLevelAsString()
The security level for the CIS scan. Security level refers to the Benchmark levels that CIS assigns to a profile.
If the service returns an enum value that is not available in the current SDK version,
securityLevelwill returnCisSecurityLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsecurityLevelAsString().- Returns:
- The security level for the CIS scan. Security level refers to the Benchmark levels that CIS assigns to a profile.
- See Also:
CisSecurityLevel
-
status
public final CisScanStatus status()
The CIS scan's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCisScanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The CIS scan's status.
- See Also:
CisScanStatus
-
statusAsString
public final String statusAsString()
The CIS scan's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCisScanStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The CIS scan's status.
- See Also:
CisScanStatus
-
targets
public final CisTargets targets()
The CIS scan's targets.
- Returns:
- The CIS scan's targets.
-
totalChecks
public final Integer totalChecks()
The CIS scan's total checks.
- Returns:
- The CIS scan's total checks.
-
toBuilder
public CisScan.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CisScan.Builder,CisScan>
-
builder
public static CisScan.Builder builder()
-
serializableBuilderClass
public static Class<? extends CisScan.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.
-
-