@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.
Length Constraints: Minimum length of 1. Maximum length of 256.
id
- The identifier of the compliance standard that was used to determine the patch compliance status.
Length Constraints: Minimum length of 1. Maximum length of 256.
public String getId()
The identifier of the compliance standard that was used to determine the patch compliance status.
Length Constraints: Minimum length of 1. Maximum length of 256.
Length Constraints: Minimum length of 1. Maximum length of 256.
public PatchSummary withId(String id)
The identifier of the compliance standard that was used to determine the patch compliance status.
Length Constraints: Minimum length of 1. Maximum length of 256.
id
- The identifier of the compliance standard that was used to determine the patch compliance status.
Length Constraints: Minimum length of 1. Maximum length of 256.
public void setInstalledCount(Integer installedCount)
The number of patches from the compliance standard that were installed successfully.
The value can be an integer from 0
to 100000
.
installedCount
- The number of patches from the compliance standard that were installed successfully.
The value can be an integer from 0
to 100000
.
public Integer getInstalledCount()
The number of patches from the compliance standard that were installed successfully.
The value can be an integer from 0
to 100000
.
The value can be an integer from 0
to 100000
.
public PatchSummary withInstalledCount(Integer installedCount)
The number of patches from the compliance standard that were installed successfully.
The value can be an integer from 0
to 100000
.
installedCount
- The number of patches from the compliance standard that were installed successfully.
The value can be an integer from 0
to 100000
.
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.
The value can be an integer from 0
to 100000
.
missingCount
- The number of patches that are part of the compliance standard but are not installed. The count includes
patches that failed to install.
The value can be an integer from 0
to 100000
.
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.
The value can be an integer from 0
to 100000
.
The value can be an integer from 0
to 100000
.
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.
The value can be an integer from 0
to 100000
.
missingCount
- The number of patches that are part of the compliance standard but are not installed. The count includes
patches that failed to install.
The value can be an integer from 0
to 100000
.
public void setFailedCount(Integer failedCount)
The number of patches from the compliance standard that failed to install.
The value can be an integer from 0
to 100000
.
failedCount
- The number of patches from the compliance standard that failed to install.
The value can be an integer from 0
to 100000
.
public Integer getFailedCount()
The number of patches from the compliance standard that failed to install.
The value can be an integer from 0
to 100000
.
The value can be an integer from 0
to 100000
.
public PatchSummary withFailedCount(Integer failedCount)
The number of patches from the compliance standard that failed to install.
The value can be an integer from 0
to 100000
.
failedCount
- The number of patches from the compliance standard that failed to install.
The value can be an integer from 0
to 100000
.
public void setInstalledOtherCount(Integer installedOtherCount)
The number of installed patches that are not part of the compliance standard.
The value can be an integer from 0
to 100000
.
installedOtherCount
- The number of installed patches that are not part of the compliance standard.
The value can be an integer from 0
to 100000
.
public Integer getInstalledOtherCount()
The number of installed patches that are not part of the compliance standard.
The value can be an integer from 0
to 100000
.
The value can be an integer from 0
to 100000
.
public PatchSummary withInstalledOtherCount(Integer installedOtherCount)
The number of installed patches that are not part of the compliance standard.
The value can be an integer from 0
to 100000
.
installedOtherCount
- The number of installed patches that are not part of the compliance standard.
The value can be an integer from 0
to 100000
.
public void setInstalledRejectedCount(Integer installedRejectedCount)
The number of patches that are installed but are also on a list of patches that the customer rejected.
The value can be an integer from 0
to 100000
.
installedRejectedCount
- The number of patches that are installed but are also on a list of patches that the customer rejected.
The value can be an integer from 0
to 100000
.
public Integer getInstalledRejectedCount()
The number of patches that are installed but are also on a list of patches that the customer rejected.
The value can be an integer from 0
to 100000
.
The value can be an integer from 0
to 100000
.
public PatchSummary withInstalledRejectedCount(Integer installedRejectedCount)
The number of patches that are installed but are also on a list of patches that the customer rejected.
The value can be an integer from 0
to 100000
.
installedRejectedCount
- The number of patches that are installed but are also on a list of patches that the customer rejected.
The value can be an integer from 0
to 100000
.
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.
The value can be an integer from 0
to 100000
.
installedPendingReboot
- The number of patches that were applied, but that require the instance to be rebooted in order to be
marked as installed.
The value can be an integer from 0
to 100000
.
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.
The value can be an integer from 0
to 100000
.
The value can be an integer from 0
to 100000
.
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.
The value can be an integer from 0
to 100000
.
installedPendingReboot
- The number of patches that were applied, but that require the instance to be rebooted in order to be
marked as installed.
The value can be an integer from 0
to 100000
.
public void setOperationStartTime(String operationStartTime)
Indicates when the operation started.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
operationStartTime
- Indicates when the operation started.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public String getOperationStartTime()
Indicates when the operation started.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public PatchSummary withOperationStartTime(String operationStartTime)
Indicates when the operation started.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
operationStartTime
- Indicates when the operation started.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public void setOperationEndTime(String operationEndTime)
Indicates when the operation completed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
operationEndTime
- Indicates when the operation completed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public String getOperationEndTime()
Indicates when the operation completed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public PatchSummary withOperationEndTime(String operationEndTime)
Indicates when the operation completed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9
digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example, 2024-01-04T15:25:10.123456789+17:59
)
operationEndTime
- Indicates when the operation completed.
This field accepts only the specified formats. Timestamps can end with Z
or
("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a
maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:
YYYY-MM-DDTHH:MM:SSZ
(for example, 2019-01-31T23:00:00Z
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example, 2019-01-31T23:00:00.123456789Z
)
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example, 2024-01-04T15:25:10+17:59
)
YYYY-MM-DDTHH:MM:SS-HHMM
(for example, 2024-01-04T15:25:10-1759
)
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,
2024-01-04T15:25:10.123456789+17:59
)
public void setRebootOption(String rebootOption)
The reboot option specified for the instance.
Length Constraints: Minimum length of 1. Maximum length of 256.
rebootOption
- The reboot option specified for the instance.
Length Constraints: Minimum length of 1. Maximum length of 256.
public String getRebootOption()
The reboot option specified for the instance.
Length Constraints: Minimum length of 1. Maximum length of 256.
Length Constraints: Minimum length of 1. Maximum length of 256.
public PatchSummary withRebootOption(String rebootOption)
The reboot option specified for the instance.
Length Constraints: Minimum length of 1. Maximum length of 256.
rebootOption
- The reboot option specified for the instance.
Length Constraints: Minimum length of 1. Maximum length of 256.
public void setOperation(String operation)
The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.
Length Constraints: Minimum length of 1. Maximum length of 256.
operation
- The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.
Length Constraints: Minimum length of 1. Maximum length of 256.
public String getOperation()
The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.
Length Constraints: Minimum length of 1. Maximum length of 256.
SCAN
and
INSTALL
.
Length Constraints: Minimum length of 1. Maximum length of 256.
public PatchSummary withOperation(String operation)
The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.
Length Constraints: Minimum length of 1. Maximum length of 256.
operation
- The type of patch operation performed. For Patch Manager, the values are SCAN
and
INSTALL
.
Length Constraints: Minimum length of 1. Maximum length of 256.
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.