@Generated(value="software.amazon.awssdk:codegen") public final class ResourceComplianceSummaryItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceComplianceSummaryItem.Builder,ResourceComplianceSummaryItem>
Compliance summary information for a specific resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceComplianceSummaryItem.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceComplianceSummaryItem.Builder |
builder() |
String |
complianceType()
The compliance type.
|
CompliantSummary |
compliantSummary()
A list of items that are compliant for the resource.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
ComplianceExecutionSummary |
executionSummary()
Information about the execution.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
NonCompliantSummary |
nonCompliantSummary()
A list of items that aren't compliant for the resource.
|
ComplianceSeverity |
overallSeverity()
The highest severity item found for the resource.
|
String |
overallSeverityAsString()
The highest severity item found for the resource.
|
String |
resourceId()
The resource ID.
|
String |
resourceType()
The resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceComplianceSummaryItem.Builder> |
serializableBuilderClass() |
ComplianceStatus |
status()
The compliance status for the resource.
|
String |
statusAsString()
The compliance status for the resource.
|
ResourceComplianceSummaryItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String complianceType()
The compliance type.
public final String resourceType()
The resource type.
public final String resourceId()
The resource ID.
public final ComplianceStatus status()
The compliance status for the resource.
If the service returns an enum value that is not available in the current SDK version, status will
return ComplianceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ComplianceStatuspublic final String statusAsString()
The compliance status for the resource.
If the service returns an enum value that is not available in the current SDK version, status will
return ComplianceStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
ComplianceStatuspublic final ComplianceSeverity overallSeverity()
The highest severity item found for the resource. The resource is compliant for this item.
If the service returns an enum value that is not available in the current SDK version, overallSeverity
will return ComplianceSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from overallSeverityAsString().
ComplianceSeveritypublic final String overallSeverityAsString()
The highest severity item found for the resource. The resource is compliant for this item.
If the service returns an enum value that is not available in the current SDK version, overallSeverity
will return ComplianceSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from overallSeverityAsString().
ComplianceSeveritypublic final ComplianceExecutionSummary executionSummary()
Information about the execution.
public final CompliantSummary compliantSummary()
A list of items that are compliant for the resource.
public final NonCompliantSummary nonCompliantSummary()
A list of items that aren't compliant for the resource.
public ResourceComplianceSummaryItem.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceComplianceSummaryItem.Builder,ResourceComplianceSummaryItem>public static ResourceComplianceSummaryItem.Builder builder()
public static Class<? extends ResourceComplianceSummaryItem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.