@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsSsmComplianceSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides the details about the compliance status for a patch.
Constructor and Description |
---|
AwsSsmComplianceSummary() |
Modifier and Type | Method and Description |
---|---|
AwsSsmComplianceSummary |
clone() |
boolean |
equals(Object obj) |
String |
getComplianceType()
The type of resource for which the compliance was determined.
|
Integer |
getCompliantCriticalCount()
For the patches that are compliant, the number that have a severity of
CRITICAL . |
Integer |
getCompliantHighCount()
For the patches that are compliant, the number that have a severity of
HIGH . |
Integer |
getCompliantInformationalCount()
For the patches that are compliant, the number that have a severity of
INFORMATIONAL . |
Integer |
getCompliantLowCount()
For the patches that are compliant, the number that have a severity of
LOW . |
Integer |
getCompliantMediumCount()
For the patches that are compliant, the number that have a severity of
MEDIUM . |
Integer |
getCompliantUnspecifiedCount()
For the patches that are compliant, the number that have a severity of
UNSPECIFIED . |
String |
getExecutionType()
The type of execution that was used determine compliance.
|
Integer |
getNonCompliantCriticalCount()
For the patch items that are noncompliant, the number of items that have a severity of
CRITICAL . |
Integer |
getNonCompliantHighCount()
For the patches that are noncompliant, the number that have a severity of
HIGH . |
Integer |
getNonCompliantInformationalCount()
For the patches that are noncompliant, the number that have a severity of
INFORMATIONAL . |
Integer |
getNonCompliantLowCount()
For the patches that are noncompliant, the number that have a severity of
LOW . |
Integer |
getNonCompliantMediumCount()
For the patches that are noncompliant, the number that have a severity of
MEDIUM . |
Integer |
getNonCompliantUnspecifiedCount()
For the patches that are noncompliant, the number that have a severity of
UNSPECIFIED . |
String |
getOverallSeverity()
The highest severity for the patches.
|
String |
getPatchBaselineId()
The identifier of the patch baseline.
|
String |
getPatchGroup()
The identifier of the patch group for which compliance was determined.
|
String |
getStatus()
The current patch compliance status.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setComplianceType(String complianceType)
The type of resource for which the compliance was determined.
|
void |
setCompliantCriticalCount(Integer compliantCriticalCount)
For the patches that are compliant, the number that have a severity of
CRITICAL . |
void |
setCompliantHighCount(Integer compliantHighCount)
For the patches that are compliant, the number that have a severity of
HIGH . |
void |
setCompliantInformationalCount(Integer compliantInformationalCount)
For the patches that are compliant, the number that have a severity of
INFORMATIONAL . |
void |
setCompliantLowCount(Integer compliantLowCount)
For the patches that are compliant, the number that have a severity of
LOW . |
void |
setCompliantMediumCount(Integer compliantMediumCount)
For the patches that are compliant, the number that have a severity of
MEDIUM . |
void |
setCompliantUnspecifiedCount(Integer compliantUnspecifiedCount)
For the patches that are compliant, the number that have a severity of
UNSPECIFIED . |
void |
setExecutionType(String executionType)
The type of execution that was used determine compliance.
|
void |
setNonCompliantCriticalCount(Integer nonCompliantCriticalCount)
For the patch items that are noncompliant, the number of items that have a severity of
CRITICAL . |
void |
setNonCompliantHighCount(Integer nonCompliantHighCount)
For the patches that are noncompliant, the number that have a severity of
HIGH . |
void |
setNonCompliantInformationalCount(Integer nonCompliantInformationalCount)
For the patches that are noncompliant, the number that have a severity of
INFORMATIONAL . |
void |
setNonCompliantLowCount(Integer nonCompliantLowCount)
For the patches that are noncompliant, the number that have a severity of
LOW . |
void |
setNonCompliantMediumCount(Integer nonCompliantMediumCount)
For the patches that are noncompliant, the number that have a severity of
MEDIUM . |
void |
setNonCompliantUnspecifiedCount(Integer nonCompliantUnspecifiedCount)
For the patches that are noncompliant, the number that have a severity of
UNSPECIFIED . |
void |
setOverallSeverity(String overallSeverity)
The highest severity for the patches.
|
void |
setPatchBaselineId(String patchBaselineId)
The identifier of the patch baseline.
|
void |
setPatchGroup(String patchGroup)
The identifier of the patch group for which compliance was determined.
|
void |
setStatus(String status)
The current patch compliance status.
|
String |
toString()
Returns a string representation of this object.
|
AwsSsmComplianceSummary |
withComplianceType(String complianceType)
The type of resource for which the compliance was determined.
|
AwsSsmComplianceSummary |
withCompliantCriticalCount(Integer compliantCriticalCount)
For the patches that are compliant, the number that have a severity of
CRITICAL . |
AwsSsmComplianceSummary |
withCompliantHighCount(Integer compliantHighCount)
For the patches that are compliant, the number that have a severity of
HIGH . |
AwsSsmComplianceSummary |
withCompliantInformationalCount(Integer compliantInformationalCount)
For the patches that are compliant, the number that have a severity of
INFORMATIONAL . |
AwsSsmComplianceSummary |
withCompliantLowCount(Integer compliantLowCount)
For the patches that are compliant, the number that have a severity of
LOW . |
AwsSsmComplianceSummary |
withCompliantMediumCount(Integer compliantMediumCount)
For the patches that are compliant, the number that have a severity of
MEDIUM . |
AwsSsmComplianceSummary |
withCompliantUnspecifiedCount(Integer compliantUnspecifiedCount)
For the patches that are compliant, the number that have a severity of
UNSPECIFIED . |
AwsSsmComplianceSummary |
withExecutionType(String executionType)
The type of execution that was used determine compliance.
|
AwsSsmComplianceSummary |
withNonCompliantCriticalCount(Integer nonCompliantCriticalCount)
For the patch items that are noncompliant, the number of items that have a severity of
CRITICAL . |
AwsSsmComplianceSummary |
withNonCompliantHighCount(Integer nonCompliantHighCount)
For the patches that are noncompliant, the number that have a severity of
HIGH . |
AwsSsmComplianceSummary |
withNonCompliantInformationalCount(Integer nonCompliantInformationalCount)
For the patches that are noncompliant, the number that have a severity of
INFORMATIONAL . |
AwsSsmComplianceSummary |
withNonCompliantLowCount(Integer nonCompliantLowCount)
For the patches that are noncompliant, the number that have a severity of
LOW . |
AwsSsmComplianceSummary |
withNonCompliantMediumCount(Integer nonCompliantMediumCount)
For the patches that are noncompliant, the number that have a severity of
MEDIUM . |
AwsSsmComplianceSummary |
withNonCompliantUnspecifiedCount(Integer nonCompliantUnspecifiedCount)
For the patches that are noncompliant, the number that have a severity of
UNSPECIFIED . |
AwsSsmComplianceSummary |
withOverallSeverity(String overallSeverity)
The highest severity for the patches.
|
AwsSsmComplianceSummary |
withPatchBaselineId(String patchBaselineId)
The identifier of the patch baseline.
|
AwsSsmComplianceSummary |
withPatchGroup(String patchGroup)
The identifier of the patch group for which compliance was determined.
|
AwsSsmComplianceSummary |
withStatus(String status)
The current patch compliance status.
|
public void setStatus(String status)
The current patch compliance status.
The possible status values are:
COMPLIANT
NON_COMPLIANT
UNSPECIFIED_DATA
status
- The current patch compliance status.
The possible status values are:
COMPLIANT
NON_COMPLIANT
UNSPECIFIED_DATA
public String getStatus()
The current patch compliance status.
The possible status values are:
COMPLIANT
NON_COMPLIANT
UNSPECIFIED_DATA
The possible status values are:
COMPLIANT
NON_COMPLIANT
UNSPECIFIED_DATA
public AwsSsmComplianceSummary withStatus(String status)
The current patch compliance status.
The possible status values are:
COMPLIANT
NON_COMPLIANT
UNSPECIFIED_DATA
status
- The current patch compliance status.
The possible status values are:
COMPLIANT
NON_COMPLIANT
UNSPECIFIED_DATA
public void setCompliantCriticalCount(Integer compliantCriticalCount)
For the patches that are compliant, the number that have a severity of CRITICAL
.
compliantCriticalCount
- For the patches that are compliant, the number that have a severity of CRITICAL
.public Integer getCompliantCriticalCount()
For the patches that are compliant, the number that have a severity of CRITICAL
.
CRITICAL
.public AwsSsmComplianceSummary withCompliantCriticalCount(Integer compliantCriticalCount)
For the patches that are compliant, the number that have a severity of CRITICAL
.
compliantCriticalCount
- For the patches that are compliant, the number that have a severity of CRITICAL
.public void setCompliantHighCount(Integer compliantHighCount)
For the patches that are compliant, the number that have a severity of HIGH
.
compliantHighCount
- For the patches that are compliant, the number that have a severity of HIGH
.public Integer getCompliantHighCount()
For the patches that are compliant, the number that have a severity of HIGH
.
HIGH
.public AwsSsmComplianceSummary withCompliantHighCount(Integer compliantHighCount)
For the patches that are compliant, the number that have a severity of HIGH
.
compliantHighCount
- For the patches that are compliant, the number that have a severity of HIGH
.public void setCompliantMediumCount(Integer compliantMediumCount)
For the patches that are compliant, the number that have a severity of MEDIUM
.
compliantMediumCount
- For the patches that are compliant, the number that have a severity of MEDIUM
.public Integer getCompliantMediumCount()
For the patches that are compliant, the number that have a severity of MEDIUM
.
MEDIUM
.public AwsSsmComplianceSummary withCompliantMediumCount(Integer compliantMediumCount)
For the patches that are compliant, the number that have a severity of MEDIUM
.
compliantMediumCount
- For the patches that are compliant, the number that have a severity of MEDIUM
.public void setExecutionType(String executionType)
The type of execution that was used determine compliance.
executionType
- The type of execution that was used determine compliance.public String getExecutionType()
The type of execution that was used determine compliance.
public AwsSsmComplianceSummary withExecutionType(String executionType)
The type of execution that was used determine compliance.
executionType
- The type of execution that was used determine compliance.public void setNonCompliantCriticalCount(Integer nonCompliantCriticalCount)
For the patch items that are noncompliant, the number of items that have a severity of CRITICAL
.
nonCompliantCriticalCount
- For the patch items that are noncompliant, the number of items that have a severity of
CRITICAL
.public Integer getNonCompliantCriticalCount()
For the patch items that are noncompliant, the number of items that have a severity of CRITICAL
.
CRITICAL
.public AwsSsmComplianceSummary withNonCompliantCriticalCount(Integer nonCompliantCriticalCount)
For the patch items that are noncompliant, the number of items that have a severity of CRITICAL
.
nonCompliantCriticalCount
- For the patch items that are noncompliant, the number of items that have a severity of
CRITICAL
.public void setCompliantInformationalCount(Integer compliantInformationalCount)
For the patches that are compliant, the number that have a severity of INFORMATIONAL
.
compliantInformationalCount
- For the patches that are compliant, the number that have a severity of INFORMATIONAL
.public Integer getCompliantInformationalCount()
For the patches that are compliant, the number that have a severity of INFORMATIONAL
.
INFORMATIONAL
.public AwsSsmComplianceSummary withCompliantInformationalCount(Integer compliantInformationalCount)
For the patches that are compliant, the number that have a severity of INFORMATIONAL
.
compliantInformationalCount
- For the patches that are compliant, the number that have a severity of INFORMATIONAL
.public void setNonCompliantInformationalCount(Integer nonCompliantInformationalCount)
For the patches that are noncompliant, the number that have a severity of INFORMATIONAL
.
nonCompliantInformationalCount
- For the patches that are noncompliant, the number that have a severity of INFORMATIONAL
.public Integer getNonCompliantInformationalCount()
For the patches that are noncompliant, the number that have a severity of INFORMATIONAL
.
INFORMATIONAL
.public AwsSsmComplianceSummary withNonCompliantInformationalCount(Integer nonCompliantInformationalCount)
For the patches that are noncompliant, the number that have a severity of INFORMATIONAL
.
nonCompliantInformationalCount
- For the patches that are noncompliant, the number that have a severity of INFORMATIONAL
.public void setCompliantUnspecifiedCount(Integer compliantUnspecifiedCount)
For the patches that are compliant, the number that have a severity of UNSPECIFIED
.
compliantUnspecifiedCount
- For the patches that are compliant, the number that have a severity of UNSPECIFIED
.public Integer getCompliantUnspecifiedCount()
For the patches that are compliant, the number that have a severity of UNSPECIFIED
.
UNSPECIFIED
.public AwsSsmComplianceSummary withCompliantUnspecifiedCount(Integer compliantUnspecifiedCount)
For the patches that are compliant, the number that have a severity of UNSPECIFIED
.
compliantUnspecifiedCount
- For the patches that are compliant, the number that have a severity of UNSPECIFIED
.public void setNonCompliantLowCount(Integer nonCompliantLowCount)
For the patches that are noncompliant, the number that have a severity of LOW
.
nonCompliantLowCount
- For the patches that are noncompliant, the number that have a severity of LOW
.public Integer getNonCompliantLowCount()
For the patches that are noncompliant, the number that have a severity of LOW
.
LOW
.public AwsSsmComplianceSummary withNonCompliantLowCount(Integer nonCompliantLowCount)
For the patches that are noncompliant, the number that have a severity of LOW
.
nonCompliantLowCount
- For the patches that are noncompliant, the number that have a severity of LOW
.public void setNonCompliantHighCount(Integer nonCompliantHighCount)
For the patches that are noncompliant, the number that have a severity of HIGH
.
nonCompliantHighCount
- For the patches that are noncompliant, the number that have a severity of HIGH
.public Integer getNonCompliantHighCount()
For the patches that are noncompliant, the number that have a severity of HIGH
.
HIGH
.public AwsSsmComplianceSummary withNonCompliantHighCount(Integer nonCompliantHighCount)
For the patches that are noncompliant, the number that have a severity of HIGH
.
nonCompliantHighCount
- For the patches that are noncompliant, the number that have a severity of HIGH
.public void setCompliantLowCount(Integer compliantLowCount)
For the patches that are compliant, the number that have a severity of LOW
.
compliantLowCount
- For the patches that are compliant, the number that have a severity of LOW
.public Integer getCompliantLowCount()
For the patches that are compliant, the number that have a severity of LOW
.
LOW
.public AwsSsmComplianceSummary withCompliantLowCount(Integer compliantLowCount)
For the patches that are compliant, the number that have a severity of LOW
.
compliantLowCount
- For the patches that are compliant, the number that have a severity of LOW
.public void setComplianceType(String complianceType)
The type of resource for which the compliance was determined. For AwsSsmPatchCompliance
,
ComplianceType
is Patch
.
complianceType
- The type of resource for which the compliance was determined. For AwsSsmPatchCompliance
,
ComplianceType
is Patch
.public String getComplianceType()
The type of resource for which the compliance was determined. For AwsSsmPatchCompliance
,
ComplianceType
is Patch
.
AwsSsmPatchCompliance
,
ComplianceType
is Patch
.public AwsSsmComplianceSummary withComplianceType(String complianceType)
The type of resource for which the compliance was determined. For AwsSsmPatchCompliance
,
ComplianceType
is Patch
.
complianceType
- The type of resource for which the compliance was determined. For AwsSsmPatchCompliance
,
ComplianceType
is Patch
.public void setPatchBaselineId(String patchBaselineId)
The identifier of the patch baseline. The patch baseline lists the patches that are approved for installation.
patchBaselineId
- The identifier of the patch baseline. The patch baseline lists the patches that are approved for
installation.public String getPatchBaselineId()
The identifier of the patch baseline. The patch baseline lists the patches that are approved for installation.
public AwsSsmComplianceSummary withPatchBaselineId(String patchBaselineId)
The identifier of the patch baseline. The patch baseline lists the patches that are approved for installation.
patchBaselineId
- The identifier of the patch baseline. The patch baseline lists the patches that are approved for
installation.public void setOverallSeverity(String overallSeverity)
The highest severity for the patches.
overallSeverity
- The highest severity for the patches.public String getOverallSeverity()
The highest severity for the patches.
public AwsSsmComplianceSummary withOverallSeverity(String overallSeverity)
The highest severity for the patches.
overallSeverity
- The highest severity for the patches.public void setNonCompliantMediumCount(Integer nonCompliantMediumCount)
For the patches that are noncompliant, the number that have a severity of MEDIUM
.
nonCompliantMediumCount
- For the patches that are noncompliant, the number that have a severity of MEDIUM
.public Integer getNonCompliantMediumCount()
For the patches that are noncompliant, the number that have a severity of MEDIUM
.
MEDIUM
.public AwsSsmComplianceSummary withNonCompliantMediumCount(Integer nonCompliantMediumCount)
For the patches that are noncompliant, the number that have a severity of MEDIUM
.
nonCompliantMediumCount
- For the patches that are noncompliant, the number that have a severity of MEDIUM
.public void setNonCompliantUnspecifiedCount(Integer nonCompliantUnspecifiedCount)
For the patches that are noncompliant, the number that have a severity of UNSPECIFIED
.
nonCompliantUnspecifiedCount
- For the patches that are noncompliant, the number that have a severity of UNSPECIFIED
.public Integer getNonCompliantUnspecifiedCount()
For the patches that are noncompliant, the number that have a severity of UNSPECIFIED
.
UNSPECIFIED
.public AwsSsmComplianceSummary withNonCompliantUnspecifiedCount(Integer nonCompliantUnspecifiedCount)
For the patches that are noncompliant, the number that have a severity of UNSPECIFIED
.
nonCompliantUnspecifiedCount
- For the patches that are noncompliant, the number that have a severity of UNSPECIFIED
.public void setPatchGroup(String patchGroup)
The identifier of the patch group for which compliance was determined. A patch group uses tags to group EC2 instances that should have the same patch compliance.
patchGroup
- The identifier of the patch group for which compliance was determined. A patch group uses tags to group
EC2 instances that should have the same patch compliance.public String getPatchGroup()
The identifier of the patch group for which compliance was determined. A patch group uses tags to group EC2 instances that should have the same patch compliance.
public AwsSsmComplianceSummary withPatchGroup(String patchGroup)
The identifier of the patch group for which compliance was determined. A patch group uses tags to group EC2 instances that should have the same patch compliance.
patchGroup
- The identifier of the patch group for which compliance was determined. A patch group uses tags to group
EC2 instances that should have the same patch compliance.public String toString()
toString
in class Object
Object.toString()
public AwsSsmComplianceSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.