@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceItemEntry extends Object implements Serializable, Cloneable, StructuredPojo
Information about a compliance item.
Constructor and Description |
---|
ComplianceItemEntry() |
Modifier and Type | Method and Description |
---|---|
ComplianceItemEntry |
addDetailsEntry(String key,
String value) |
ComplianceItemEntry |
clearDetailsEntries()
Removes all the entries added into Details.
|
ComplianceItemEntry |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getDetails()
A "Key": "Value" tag combination for the compliance item.
|
String |
getId()
The compliance item ID.
|
String |
getSeverity()
The severity of the compliance status.
|
String |
getStatus()
The status of the compliance item.
|
String |
getTitle()
The title of the compliance item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDetails(Map<String,String> details)
A "Key": "Value" tag combination for the compliance item.
|
void |
setId(String id)
The compliance item ID.
|
void |
setSeverity(String severity)
The severity of the compliance status.
|
void |
setStatus(String status)
The status of the compliance item.
|
void |
setTitle(String title)
The title of the compliance item.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ComplianceItemEntry |
withDetails(Map<String,String> details)
A "Key": "Value" tag combination for the compliance item.
|
ComplianceItemEntry |
withId(String id)
The compliance item ID.
|
ComplianceItemEntry |
withSeverity(ComplianceSeverity severity)
The severity of the compliance status.
|
ComplianceItemEntry |
withSeverity(String severity)
The severity of the compliance status.
|
ComplianceItemEntry |
withStatus(ComplianceStatus status)
The status of the compliance item.
|
ComplianceItemEntry |
withStatus(String status)
The status of the compliance item.
|
ComplianceItemEntry |
withTitle(String title)
The title of the compliance item.
|
public void setId(String id)
The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.
id
- The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number
of the KB article.public String getId()
The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.
public ComplianceItemEntry withId(String id)
The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article.
id
- The compliance item ID. For example, if the compliance item is a Windows patch, the ID could be the number
of the KB article.public void setTitle(String title)
The title of the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch. Here's an example: Security Update for Active Directory Federation Services.
title
- The title of the compliance item. For example, if the compliance item is a Windows patch, the title could
be the title of the KB article for the patch. Here's an example: Security Update for Active Directory
Federation Services.public String getTitle()
The title of the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch. Here's an example: Security Update for Active Directory Federation Services.
public ComplianceItemEntry withTitle(String title)
The title of the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch. Here's an example: Security Update for Active Directory Federation Services.
title
- The title of the compliance item. For example, if the compliance item is a Windows patch, the title could
be the title of the KB article for the patch. Here's an example: Security Update for Active Directory
Federation Services.public void setSeverity(String severity)
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
severity
- The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low,
Informational, Unspecified.ComplianceSeverity
public String getSeverity()
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
ComplianceSeverity
public ComplianceItemEntry withSeverity(String severity)
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
severity
- The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low,
Informational, Unspecified.ComplianceSeverity
public ComplianceItemEntry withSeverity(ComplianceSeverity severity)
The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
severity
- The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low,
Informational, Unspecified.ComplianceSeverity
public void setStatus(String status)
The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
status
- The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.ComplianceStatus
public String getStatus()
The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
ComplianceStatus
public ComplianceItemEntry withStatus(String status)
The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
status
- The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.ComplianceStatus
public ComplianceItemEntry withStatus(ComplianceStatus status)
The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.
status
- The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.ComplianceStatus
public Map<String,String> getDetails()
A "Key": "Value" tag combination for the compliance item.
public void setDetails(Map<String,String> details)
A "Key": "Value" tag combination for the compliance item.
details
- A "Key": "Value" tag combination for the compliance item.public ComplianceItemEntry withDetails(Map<String,String> details)
A "Key": "Value" tag combination for the compliance item.
details
- A "Key": "Value" tag combination for the compliance item.public ComplianceItemEntry addDetailsEntry(String key, String value)
public ComplianceItemEntry clearDetailsEntries()
public String toString()
toString
in class Object
Object.toString()
public ComplianceItemEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.