@Generated(value="software.amazon.awssdk:codegen") public final class PatchStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PatchStatus.Builder,PatchStatus>
Information about the approval status of a patch.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PatchStatus.Builder |
| Modifier and Type | Method and Description |
|---|---|
Instant |
approvalDate()
The date the patch was approved (or will be approved if the status is PENDING_APPROVAL).
|
static PatchStatus.Builder |
builder() |
PatchComplianceLevel |
complianceLevel()
The compliance severity level for a patch.
|
String |
complianceLevelAsString()
The compliance severity level for a patch.
|
PatchDeploymentStatus |
deploymentStatus()
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
|
String |
deploymentStatusAsString()
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends PatchStatus.Builder> |
serializableBuilderClass() |
PatchStatus.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final PatchDeploymentStatus deploymentStatus()
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
If the service returns an enum value that is not available in the current SDK version, deploymentStatus
will return PatchDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from deploymentStatusAsString().
PatchDeploymentStatuspublic final String deploymentStatusAsString()
The approval status of a patch (APPROVED, PENDING_APPROVAL, EXPLICIT_APPROVED, EXPLICIT_REJECTED).
If the service returns an enum value that is not available in the current SDK version, deploymentStatus
will return PatchDeploymentStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from deploymentStatusAsString().
PatchDeploymentStatuspublic final PatchComplianceLevel complianceLevel()
The compliance severity level for a patch.
If the service returns an enum value that is not available in the current SDK version, complianceLevel
will return PatchComplianceLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from complianceLevelAsString().
PatchComplianceLevelpublic final String complianceLevelAsString()
The compliance severity level for a patch.
If the service returns an enum value that is not available in the current SDK version, complianceLevel
will return PatchComplianceLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from complianceLevelAsString().
PatchComplianceLevelpublic final Instant approvalDate()
The date the patch was approved (or will be approved if the status is PENDING_APPROVAL).
public PatchStatus.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PatchStatus.Builder,PatchStatus>public static PatchStatus.Builder builder()
public static Class<? extends PatchStatus.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.