@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PatchComplianceData extends Object implements Serializable, Cloneable, StructuredPojo
Information about the state of a patch on a particular instance as it relates to the patch baseline used to patch the instance.
Constructor and Description |
---|
PatchComplianceData() |
Modifier and Type | Method and Description |
---|---|
PatchComplianceData |
clone() |
boolean |
equals(Object obj) |
String |
getClassification()
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
|
Date |
getInstalledTime()
The date/time the patch was installed on the instance.
|
String |
getKBId()
The operating system-specific ID of the patch.
|
String |
getSeverity()
The severity of the patch (for example, Critical, Important, Moderate).
|
String |
getState()
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
|
String |
getTitle()
The title of the patch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClassification(String classification)
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
|
void |
setInstalledTime(Date installedTime)
The date/time the patch was installed on the instance.
|
void |
setKBId(String kBId)
The operating system-specific ID of the patch.
|
void |
setSeverity(String severity)
The severity of the patch (for example, Critical, Important, Moderate).
|
void |
setState(PatchComplianceDataState state)
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
|
void |
setState(String state)
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
|
void |
setTitle(String title)
The title of the patch.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PatchComplianceData |
withClassification(String classification)
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
|
PatchComplianceData |
withInstalledTime(Date installedTime)
The date/time the patch was installed on the instance.
|
PatchComplianceData |
withKBId(String kBId)
The operating system-specific ID of the patch.
|
PatchComplianceData |
withSeverity(String severity)
The severity of the patch (for example, Critical, Important, Moderate).
|
PatchComplianceData |
withState(PatchComplianceDataState state)
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
|
PatchComplianceData |
withState(String state)
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
|
PatchComplianceData |
withTitle(String title)
The title of the patch.
|
public void setTitle(String title)
The title of the patch.
title
- The title of the patch.public String getTitle()
The title of the patch.
public PatchComplianceData withTitle(String title)
The title of the patch.
title
- The title of the patch.public void setKBId(String kBId)
The operating system-specific ID of the patch.
kBId
- The operating system-specific ID of the patch.public String getKBId()
The operating system-specific ID of the patch.
public PatchComplianceData withKBId(String kBId)
The operating system-specific ID of the patch.
kBId
- The operating system-specific ID of the patch.public void setClassification(String classification)
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
classification
- The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).public String getClassification()
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
public PatchComplianceData withClassification(String classification)
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
classification
- The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).public void setSeverity(String severity)
The severity of the patch (for example, Critical, Important, Moderate).
severity
- The severity of the patch (for example, Critical, Important, Moderate).public String getSeverity()
The severity of the patch (for example, Critical, Important, Moderate).
public PatchComplianceData withSeverity(String severity)
The severity of the patch (for example, Critical, Important, Moderate).
severity
- The severity of the patch (for example, Critical, Important, Moderate).public void setState(String state)
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
state
- The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).PatchComplianceDataState
public String getState()
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
PatchComplianceDataState
public PatchComplianceData withState(String state)
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
state
- The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).PatchComplianceDataState
public void setState(PatchComplianceDataState state)
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
state
- The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).PatchComplianceDataState
public PatchComplianceData withState(PatchComplianceDataState state)
The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).
state
- The state of the patch on the instance (INSTALLED, INSTALLED_OTHER, MISSING, NOT_APPLICABLE or FAILED).PatchComplianceDataState
public void setInstalledTime(Date installedTime)
The date/time the patch was installed on the instance. Note that not all operating systems provide this level of information.
installedTime
- The date/time the patch was installed on the instance. Note that not all operating systems provide this
level of information.public Date getInstalledTime()
The date/time the patch was installed on the instance. Note that not all operating systems provide this level of information.
public PatchComplianceData withInstalledTime(Date installedTime)
The date/time the patch was installed on the instance. Note that not all operating systems provide this level of information.
installedTime
- The date/time the patch was installed on the instance. Note that not all operating systems provide this
level of information.public String toString()
toString
in class Object
Object.toString()
public PatchComplianceData 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.