@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 (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
|
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 (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
|
void |
setDeploymentStatus(String deploymentStatus)
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
|
PatchStatus |
withDeploymentStatus(String deploymentStatus)
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
|
public void setDeploymentStatus(String deploymentStatus)
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
deploymentStatus
- The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).PatchDeploymentStatus
public String getDeploymentStatus()
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
PatchDeploymentStatus
public PatchStatus withDeploymentStatus(String deploymentStatus)
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
deploymentStatus
- The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).PatchDeploymentStatus
public void setDeploymentStatus(PatchDeploymentStatus deploymentStatus)
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
deploymentStatus
- The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).PatchDeploymentStatus
public PatchStatus withDeploymentStatus(PatchDeploymentStatus deploymentStatus)
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
deploymentStatus
- The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).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).
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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.