@Generated(value="software.amazon.awssdk:codegen") public class ResourceComplianceSummaryItem extends Object implements StructuredPojo, 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) |
ComplianceExecutionSummary |
executionSummary()
Information about the execution.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
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.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String complianceType()
The compliance type.
public String resourceType()
The resource type.
public String resourceId()
The resource ID.
public 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 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 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 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 ComplianceExecutionSummary executionSummary()
Information about the execution.
public CompliantSummary compliantSummary()
A list of items that are compliant for the resource.
public NonCompliantSummary nonCompliantSummary()
A list of items that aren't compliant for the resource.
public ResourceComplianceSummaryItem.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ResourceComplianceSummaryItem.Builder,ResourceComplianceSummaryItem>public static ResourceComplianceSummaryItem.Builder builder()
public static Class<? extends ResourceComplianceSummaryItem.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.