@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstancePatchState extends Object implements Serializable, Cloneable, StructuredPojo
Defines the high-level patch compliance state for a managed instance, providing information about the number of installed, missing, not applicable, and failed patches along with metadata about the operation when this information was gathered for the instance.
Constructor and Description |
---|
InstancePatchState() |
Modifier and Type | Method and Description |
---|---|
InstancePatchState |
clone() |
boolean |
equals(Object obj) |
String |
getBaselineId()
The ID of the patch baseline used to patch the instance.
|
Integer |
getFailedCount()
The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.
|
Integer |
getInstalledCount()
The number of patches from the patch baseline that are installed on the instance.
|
Integer |
getInstalledOtherCount()
The number of patches not specified in the patch baseline that are installed on the instance.
|
String |
getInstanceId()
The ID of the managed instance the high-level patch compliance information was collected for.
|
Integer |
getMissingCount()
The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.
|
Integer |
getNotApplicableCount()
The number of patches from the patch baseline that aren't applicable for the instance and hence aren't installed
on the instance.
|
String |
getOperation()
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install
missing patches).
|
Date |
getOperationEndTime()
The time the most recent patching operation completed on the instance.
|
Date |
getOperationStartTime()
The time the most recent patching operation was started on the instance.
|
String |
getOwnerInformation()
Placeholder information, this field will always be empty in the current release of the service.
|
String |
getPatchGroup()
The name of the patch group the managed instance belongs to.
|
String |
getSnapshotId()
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBaselineId(String baselineId)
The ID of the patch baseline used to patch the instance.
|
void |
setFailedCount(Integer failedCount)
The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.
|
void |
setInstalledCount(Integer installedCount)
The number of patches from the patch baseline that are installed on the instance.
|
void |
setInstalledOtherCount(Integer installedOtherCount)
The number of patches not specified in the patch baseline that are installed on the instance.
|
void |
setInstanceId(String instanceId)
The ID of the managed instance the high-level patch compliance information was collected for.
|
void |
setMissingCount(Integer missingCount)
The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.
|
void |
setNotApplicableCount(Integer notApplicableCount)
The number of patches from the patch baseline that aren't applicable for the instance and hence aren't installed
on the instance.
|
void |
setOperation(PatchOperationType operation)
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install
missing patches).
|
void |
setOperation(String operation)
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install
missing patches).
|
void |
setOperationEndTime(Date operationEndTime)
The time the most recent patching operation completed on the instance.
|
void |
setOperationStartTime(Date operationStartTime)
The time the most recent patching operation was started on the instance.
|
void |
setOwnerInformation(String ownerInformation)
Placeholder information, this field will always be empty in the current release of the service.
|
void |
setPatchGroup(String patchGroup)
The name of the patch group the managed instance belongs to.
|
void |
setSnapshotId(String snapshotId)
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstancePatchState |
withBaselineId(String baselineId)
The ID of the patch baseline used to patch the instance.
|
InstancePatchState |
withFailedCount(Integer failedCount)
The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.
|
InstancePatchState |
withInstalledCount(Integer installedCount)
The number of patches from the patch baseline that are installed on the instance.
|
InstancePatchState |
withInstalledOtherCount(Integer installedOtherCount)
The number of patches not specified in the patch baseline that are installed on the instance.
|
InstancePatchState |
withInstanceId(String instanceId)
The ID of the managed instance the high-level patch compliance information was collected for.
|
InstancePatchState |
withMissingCount(Integer missingCount)
The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.
|
InstancePatchState |
withNotApplicableCount(Integer notApplicableCount)
The number of patches from the patch baseline that aren't applicable for the instance and hence aren't installed
on the instance.
|
InstancePatchState |
withOperation(PatchOperationType operation)
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install
missing patches).
|
InstancePatchState |
withOperation(String operation)
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install
missing patches).
|
InstancePatchState |
withOperationEndTime(Date operationEndTime)
The time the most recent patching operation completed on the instance.
|
InstancePatchState |
withOperationStartTime(Date operationStartTime)
The time the most recent patching operation was started on the instance.
|
InstancePatchState |
withOwnerInformation(String ownerInformation)
Placeholder information, this field will always be empty in the current release of the service.
|
InstancePatchState |
withPatchGroup(String patchGroup)
The name of the patch group the managed instance belongs to.
|
InstancePatchState |
withSnapshotId(String snapshotId)
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
|
public void setInstanceId(String instanceId)
The ID of the managed instance the high-level patch compliance information was collected for.
instanceId
- The ID of the managed instance the high-level patch compliance information was collected for.public String getInstanceId()
The ID of the managed instance the high-level patch compliance information was collected for.
public InstancePatchState withInstanceId(String instanceId)
The ID of the managed instance the high-level patch compliance information was collected for.
instanceId
- The ID of the managed instance the high-level patch compliance information was collected for.public void setPatchGroup(String patchGroup)
The name of the patch group the managed instance belongs to.
patchGroup
- The name of the patch group the managed instance belongs to.public String getPatchGroup()
The name of the patch group the managed instance belongs to.
public InstancePatchState withPatchGroup(String patchGroup)
The name of the patch group the managed instance belongs to.
patchGroup
- The name of the patch group the managed instance belongs to.public void setBaselineId(String baselineId)
The ID of the patch baseline used to patch the instance.
baselineId
- The ID of the patch baseline used to patch the instance.public String getBaselineId()
The ID of the patch baseline used to patch the instance.
public InstancePatchState withBaselineId(String baselineId)
The ID of the patch baseline used to patch the instance.
baselineId
- The ID of the patch baseline used to patch the instance.public void setSnapshotId(String snapshotId)
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
snapshotId
- The ID of the patch baseline snapshot used during the patching operation when this compliance data was
collected.public String getSnapshotId()
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
public InstancePatchState withSnapshotId(String snapshotId)
The ID of the patch baseline snapshot used during the patching operation when this compliance data was collected.
snapshotId
- The ID of the patch baseline snapshot used during the patching operation when this compliance data was
collected.public void setOwnerInformation(String ownerInformation)
Placeholder information, this field will always be empty in the current release of the service.
ownerInformation
- Placeholder information, this field will always be empty in the current release of the service.public String getOwnerInformation()
Placeholder information, this field will always be empty in the current release of the service.
public InstancePatchState withOwnerInformation(String ownerInformation)
Placeholder information, this field will always be empty in the current release of the service.
ownerInformation
- Placeholder information, this field will always be empty in the current release of the service.public void setInstalledCount(Integer installedCount)
The number of patches from the patch baseline that are installed on the instance.
installedCount
- The number of patches from the patch baseline that are installed on the instance.public Integer getInstalledCount()
The number of patches from the patch baseline that are installed on the instance.
public InstancePatchState withInstalledCount(Integer installedCount)
The number of patches from the patch baseline that are installed on the instance.
installedCount
- The number of patches from the patch baseline that are installed on the instance.public void setInstalledOtherCount(Integer installedOtherCount)
The number of patches not specified in the patch baseline that are installed on the instance.
installedOtherCount
- The number of patches not specified in the patch baseline that are installed on the instance.public Integer getInstalledOtherCount()
The number of patches not specified in the patch baseline that are installed on the instance.
public InstancePatchState withInstalledOtherCount(Integer installedOtherCount)
The number of patches not specified in the patch baseline that are installed on the instance.
installedOtherCount
- The number of patches not specified in the patch baseline that are installed on the instance.public void setMissingCount(Integer missingCount)
The number of patches from the patch baseline that are applicable for the instance but aren't currently installed.
missingCount
- The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.public Integer getMissingCount()
The number of patches from the patch baseline that are applicable for the instance but aren't currently installed.
public InstancePatchState withMissingCount(Integer missingCount)
The number of patches from the patch baseline that are applicable for the instance but aren't currently installed.
missingCount
- The number of patches from the patch baseline that are applicable for the instance but aren't currently
installed.public void setFailedCount(Integer failedCount)
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
failedCount
- The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.public Integer getFailedCount()
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
public InstancePatchState withFailedCount(Integer failedCount)
The number of patches from the patch baseline that were attempted to be installed during the last patching operation, but failed to install.
failedCount
- The number of patches from the patch baseline that were attempted to be installed during the last patching
operation, but failed to install.public void setNotApplicableCount(Integer notApplicableCount)
The number of patches from the patch baseline that aren't applicable for the instance and hence aren't installed on the instance.
notApplicableCount
- The number of patches from the patch baseline that aren't applicable for the instance and hence aren't
installed on the instance.public Integer getNotApplicableCount()
The number of patches from the patch baseline that aren't applicable for the instance and hence aren't installed on the instance.
public InstancePatchState withNotApplicableCount(Integer notApplicableCount)
The number of patches from the patch baseline that aren't applicable for the instance and hence aren't installed on the instance.
notApplicableCount
- The number of patches from the patch baseline that aren't applicable for the instance and hence aren't
installed on the instance.public void setOperationStartTime(Date operationStartTime)
The time the most recent patching operation was started on the instance.
operationStartTime
- The time the most recent patching operation was started on the instance.public Date getOperationStartTime()
The time the most recent patching operation was started on the instance.
public InstancePatchState withOperationStartTime(Date operationStartTime)
The time the most recent patching operation was started on the instance.
operationStartTime
- The time the most recent patching operation was started on the instance.public void setOperationEndTime(Date operationEndTime)
The time the most recent patching operation completed on the instance.
operationEndTime
- The time the most recent patching operation completed on the instance.public Date getOperationEndTime()
The time the most recent patching operation completed on the instance.
public InstancePatchState withOperationEndTime(Date operationEndTime)
The time the most recent patching operation completed on the instance.
operationEndTime
- The time the most recent patching operation completed on the instance.public void setOperation(String operation)
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install missing patches).
operation
- The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL
(install missing patches).PatchOperationType
public String getOperation()
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install missing patches).
PatchOperationType
public InstancePatchState withOperation(String operation)
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install missing patches).
operation
- The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL
(install missing patches).PatchOperationType
public void setOperation(PatchOperationType operation)
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install missing patches).
operation
- The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL
(install missing patches).PatchOperationType
public InstancePatchState withOperation(PatchOperationType operation)
The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL (install missing patches).
operation
- The type of patching operation that was performed: SCAN (assess patch compliance state) or INSTALL
(install missing patches).PatchOperationType
public String toString()
toString
in class Object
Object.toString()
public InstancePatchState 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.