@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
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()
Returns a string representation of this object.
|
copy
public 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()
.
PatchDeploymentStatus
public 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()
.
PatchDeploymentStatus
public 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()
.
PatchComplianceLevel
public 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()
.
PatchComplianceLevel
public final 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 final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.