Class CisScan
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<CisScan.Builder,
CisScan>
The CIS scan.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic CisScan.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final Integer
The CIS scan's failed checks.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
scanArn()
The CIS scan's ARN.final String
The CIS scan's configuration ARN.final Instant
scanDate()
The CIS scan's date.final String
scanName()
The the name of the scan configuration that's associated with this scan.final String
The account or organization that schedules the CIS scan.final CisSecurityLevel
The security level for the CIS scan.final String
The security level for the CIS scan.static Class
<? extends CisScan.Builder> final CisScanStatus
status()
The CIS scan's status.final String
The CIS scan's status.final CisTargets
targets()
The CIS scan's targets.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Integer
The CIS scan's total checks.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
failedChecks
The CIS scan's failed checks.
- Returns:
- The CIS scan's failed checks.
-
scanArn
The CIS scan's ARN.
- Returns:
- The CIS scan's ARN.
-
scanConfigurationArn
The CIS scan's configuration ARN.
- Returns:
- The CIS scan's configuration ARN.
-
scanDate
The CIS scan's date.
- Returns:
- The CIS scan's date.
-
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
The account or organization that schedules the CIS scan.
- Returns:
- The account or organization that schedules the CIS scan.
-
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,
securityLevel
will 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:
-
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,
securityLevel
will 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:
-
status
The CIS scan's status.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCisScanStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The CIS scan's status.
- See Also:
-
statusAsString
The CIS scan's status.
If the service returns an enum value that is not available in the current SDK version,
status
will returnCisScanStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The CIS scan's status.
- See Also:
-
targets
The CIS scan's targets.
- Returns:
- The CIS scan's targets.
-
totalChecks
The CIS scan's total checks.
- Returns:
- The CIS scan's total checks.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<CisScan.Builder,
CisScan> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-