@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PatchSummary extends Object implements Serializable, Cloneable, StructuredPojo
Provides an overview of the patch compliance status for an instance against a selected compliance standard.
Constructor and Description |
---|
PatchSummary() |
Modifier and Type | Method and Description |
---|---|
PatchSummary |
clone() |
boolean |
equals(Object obj) |
Integer |
getFailedCount()
The number of patches from the compliance standard that failed to install.
|
String |
getId()
The identifier of the compliance standard that was used to determine the patch compliance status.
|
Integer |
getInstalledCount()
The number of patches from the compliance standard that were installed successfully.
|
Integer |
getInstalledOtherCount()
The number of installed patches that are not part of the compliance standard.
|
Integer |
getInstalledPendingReboot()
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as
installed.
|
Integer |
getInstalledRejectedCount()
The number of patches that are installed but are also on a list of patches that the customer rejected.
|
Integer |
getMissingCount()
The number of patches that are part of the compliance standard but are not installed.
|
String |
getOperation()
The type of patch operation performed.
|
String |
getOperationEndTime()
Indicates when the operation completed.
|
String |
getOperationStartTime()
Indicates when the operation started.
|
String |
getRebootOption()
The reboot option specified for the instance.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailedCount(Integer failedCount)
The number of patches from the compliance standard that failed to install.
|
void |
setId(String id)
The identifier of the compliance standard that was used to determine the patch compliance status.
|
void |
setInstalledCount(Integer installedCount)
The number of patches from the compliance standard that were installed successfully.
|
void |
setInstalledOtherCount(Integer installedOtherCount)
The number of installed patches that are not part of the compliance standard.
|
void |
setInstalledPendingReboot(Integer installedPendingReboot)
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as
installed.
|
void |
setInstalledRejectedCount(Integer installedRejectedCount)
The number of patches that are installed but are also on a list of patches that the customer rejected.
|
void |
setMissingCount(Integer missingCount)
The number of patches that are part of the compliance standard but are not installed.
|
void |
setOperation(String operation)
The type of patch operation performed.
|
void |
setOperationEndTime(String operationEndTime)
Indicates when the operation completed.
|
void |
setOperationStartTime(String operationStartTime)
Indicates when the operation started.
|
void |
setRebootOption(String rebootOption)
The reboot option specified for the instance.
|
String |
toString()
Returns a string representation of this object.
|
PatchSummary |
withFailedCount(Integer failedCount)
The number of patches from the compliance standard that failed to install.
|
PatchSummary |
withId(String id)
The identifier of the compliance standard that was used to determine the patch compliance status.
|
PatchSummary |
withInstalledCount(Integer installedCount)
The number of patches from the compliance standard that were installed successfully.
|
PatchSummary |
withInstalledOtherCount(Integer installedOtherCount)
The number of installed patches that are not part of the compliance standard.
|
PatchSummary |
withInstalledPendingReboot(Integer installedPendingReboot)
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as
installed.
|
PatchSummary |
withInstalledRejectedCount(Integer installedRejectedCount)
The number of patches that are installed but are also on a list of patches that the customer rejected.
|
PatchSummary |
withMissingCount(Integer missingCount)
The number of patches that are part of the compliance standard but are not installed.
|
PatchSummary |
withOperation(String operation)
The type of patch operation performed.
|
PatchSummary |
withOperationEndTime(String operationEndTime)
Indicates when the operation completed.
|
PatchSummary |
withOperationStartTime(String operationStartTime)
Indicates when the operation started.
|
PatchSummary |
withRebootOption(String rebootOption)
The reboot option specified for the instance.
|
public void setId(String id)
The identifier of the compliance standard that was used to determine the patch compliance status.
id
- The identifier of the compliance standard that was used to determine the patch compliance status.public String getId()
The identifier of the compliance standard that was used to determine the patch compliance status.
public PatchSummary withId(String id)
The identifier of the compliance standard that was used to determine the patch compliance status.
id
- The identifier of the compliance standard that was used to determine the patch compliance status.public void setInstalledCount(Integer installedCount)
The number of patches from the compliance standard that were installed successfully.
installedCount
- The number of patches from the compliance standard that were installed successfully.public Integer getInstalledCount()
The number of patches from the compliance standard that were installed successfully.
public PatchSummary withInstalledCount(Integer installedCount)
The number of patches from the compliance standard that were installed successfully.
installedCount
- The number of patches from the compliance standard that were installed successfully.public void setMissingCount(Integer missingCount)
The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.
missingCount
- The number of patches that are part of the compliance standard but are not installed. The count includes
patches that failed to install.public Integer getMissingCount()
The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.
public PatchSummary withMissingCount(Integer missingCount)
The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.
missingCount
- The number of patches that are part of the compliance standard but are not installed. The count includes
patches that failed to install.public void setFailedCount(Integer failedCount)
The number of patches from the compliance standard that failed to install.
failedCount
- The number of patches from the compliance standard that failed to install.public Integer getFailedCount()
The number of patches from the compliance standard that failed to install.
public PatchSummary withFailedCount(Integer failedCount)
The number of patches from the compliance standard that failed to install.
failedCount
- The number of patches from the compliance standard that failed to install.public void setInstalledOtherCount(Integer installedOtherCount)
The number of installed patches that are not part of the compliance standard.
installedOtherCount
- The number of installed patches that are not part of the compliance standard.public Integer getInstalledOtherCount()
The number of installed patches that are not part of the compliance standard.
public PatchSummary withInstalledOtherCount(Integer installedOtherCount)
The number of installed patches that are not part of the compliance standard.
installedOtherCount
- The number of installed patches that are not part of the compliance standard.public void setInstalledRejectedCount(Integer installedRejectedCount)
The number of patches that are installed but are also on a list of patches that the customer rejected.
installedRejectedCount
- The number of patches that are installed but are also on a list of patches that the customer rejected.public Integer getInstalledRejectedCount()
The number of patches that are installed but are also on a list of patches that the customer rejected.
public PatchSummary withInstalledRejectedCount(Integer installedRejectedCount)
The number of patches that are installed but are also on a list of patches that the customer rejected.
installedRejectedCount
- The number of patches that are installed but are also on a list of patches that the customer rejected.public void setInstalledPendingReboot(Integer installedPendingReboot)
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.
installedPendingReboot
- The number of patches that were applied, but that require the instance to be rebooted in order to be
marked as installed.public Integer getInstalledPendingReboot()
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.
public PatchSummary withInstalledPendingReboot(Integer installedPendingReboot)
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.
installedPendingReboot
- The number of patches that were applied, but that require the instance to be rebooted in order to be
marked as installed.public void setOperationStartTime(String operationStartTime)
Indicates when the operation started.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
operationStartTime
- Indicates when the operation started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getOperationStartTime()
Indicates when the operation started.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public PatchSummary withOperationStartTime(String operationStartTime)
Indicates when the operation started.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
operationStartTime
- Indicates when the operation started.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public void setOperationEndTime(String operationEndTime)
Indicates when the operation completed.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
operationEndTime
- Indicates when the operation completed.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public String getOperationEndTime()
Indicates when the operation completed.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public PatchSummary withOperationEndTime(String operationEndTime)
Indicates when the operation completed.
Uses the date-time
format specified in RFC
3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example,
2020-03-22T13:22:13.933Z
.
operationEndTime
- Indicates when the operation completed.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
public void setRebootOption(String rebootOption)
The reboot option specified for the instance.
rebootOption
- The reboot option specified for the instance.public String getRebootOption()
The reboot option specified for the instance.
public PatchSummary withRebootOption(String rebootOption)
The reboot option specified for the instance.
rebootOption
- The reboot option specified for the instance.public void setOperation(String operation)
The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.
operation
- The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.public String getOperation()
The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.
SCAN
and
INSTALL
.public PatchSummary withOperation(String operation)
The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.
operation
- The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.public String toString()
toString
in class Object
Object.toString()
public PatchSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.