@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PatchStatus extends Object implements Serializable, Cloneable, StructuredPojo
Information about the approval status of a patch.
Constructor and Description |
---|
PatchStatus() |
Modifier and Type | Method and Description |
---|---|
PatchStatus |
clone() |
boolean |
equals(Object obj) |
Date |
getApprovalDate()
The date the patch was approved (or will be approved if the status is
PENDING_APPROVAL ). |
String |
getComplianceLevel()
The compliance severity level for a patch.
|
String |
getDeploymentStatus()
The approval status of a patch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApprovalDate(Date approvalDate)
The date the patch was approved (or will be approved if the status is
PENDING_APPROVAL ). |
void |
setComplianceLevel(PatchComplianceLevel complianceLevel)
The compliance severity level for a patch.
|
void |
setComplianceLevel(String complianceLevel)
The compliance severity level for a patch.
|
void |
setDeploymentStatus(PatchDeploymentStatus deploymentStatus)
The approval status of a patch.
|
void |
setDeploymentStatus(String deploymentStatus)
The approval status of a patch.
|
String |
toString()
Returns a string representation of this object.
|
PatchStatus |
withApprovalDate(Date approvalDate)
The date the patch was approved (or will be approved if the status is
PENDING_APPROVAL ). |
PatchStatus |
withComplianceLevel(PatchComplianceLevel complianceLevel)
The compliance severity level for a patch.
|
PatchStatus |
withComplianceLevel(String complianceLevel)
The compliance severity level for a patch.
|
PatchStatus |
withDeploymentStatus(PatchDeploymentStatus deploymentStatus)
The approval status of a patch.
|
PatchStatus |
withDeploymentStatus(String deploymentStatus)
The approval status of a patch.
|
public void setDeploymentStatus(String deploymentStatus)
The approval status of a patch.
deploymentStatus
- The approval status of a patch.PatchDeploymentStatus
public String getDeploymentStatus()
The approval status of a patch.
PatchDeploymentStatus
public PatchStatus withDeploymentStatus(String deploymentStatus)
The approval status of a patch.
deploymentStatus
- The approval status of a patch.PatchDeploymentStatus
public void setDeploymentStatus(PatchDeploymentStatus deploymentStatus)
The approval status of a patch.
deploymentStatus
- The approval status of a patch.PatchDeploymentStatus
public PatchStatus withDeploymentStatus(PatchDeploymentStatus deploymentStatus)
The approval status of a patch.
deploymentStatus
- The approval status of a patch.PatchDeploymentStatus
public void setComplianceLevel(String complianceLevel)
The compliance severity level for a patch.
complianceLevel
- The compliance severity level for a patch.PatchComplianceLevel
public String getComplianceLevel()
The compliance severity level for a patch.
PatchComplianceLevel
public PatchStatus withComplianceLevel(String complianceLevel)
The compliance severity level for a patch.
complianceLevel
- The compliance severity level for a patch.PatchComplianceLevel
public void setComplianceLevel(PatchComplianceLevel complianceLevel)
The compliance severity level for a patch.
complianceLevel
- The compliance severity level for a patch.PatchComplianceLevel
public PatchStatus withComplianceLevel(PatchComplianceLevel complianceLevel)
The compliance severity level for a patch.
complianceLevel
- The compliance severity level for a patch.PatchComplianceLevel
public void setApprovalDate(Date approvalDate)
The date the patch was approved (or will be approved if the status is PENDING_APPROVAL
).
approvalDate
- The date the patch was approved (or will be approved if the status is PENDING_APPROVAL
).public Date getApprovalDate()
The date the patch was approved (or will be approved if the status is PENDING_APPROVAL
).
PENDING_APPROVAL
).public PatchStatus withApprovalDate(Date approvalDate)
The date the patch was approved (or will be approved if the status is PENDING_APPROVAL
).
approvalDate
- The date the patch was approved (or will be approved if the status is PENDING_APPROVAL
).public String toString()
toString
in class Object
Object.toString()
public PatchStatus clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.