@Generated(value="software.amazon.awssdk:codegen") public final class PatchStatus extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends PatchStatus.Builder> |
serializableBuilderClass() |
PatchStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
.
PatchDeploymentStatus
public 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()
.
PatchDeploymentStatus
public 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()
.
PatchComplianceLevel
public 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()
.
PatchComplianceLevel
public Instant approvalDate()
The date the patch was approved (or will be approved if the status is PENDING_APPROVAL).
public PatchStatus.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PatchStatus.Builder,PatchStatus>
public static PatchStatus.Builder builder()
public static Class<? extends PatchStatus.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.