@Generated(value="software.amazon.awssdk:codegen") public final class DriftStatusSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DriftStatusSummary.Builder,DriftStatusSummary>
The drift summary of the enabled control.
AWS Control Tower expects the enabled control configuration to include all supported and governed Regions. If the enabled control differs from the expected configuration, it is defined to be in a state of drift. You can repair this drift by resetting the enabled control.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DriftStatusSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DriftStatusSummary.Builder |
builder() |
DriftStatus |
driftStatus()
The drift status of the enabled control.
|
String |
driftStatusAsString()
The drift status of the enabled control.
|
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 DriftStatusSummary.Builder> |
serializableBuilderClass() |
DriftStatusSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final DriftStatus driftStatus()
The drift status of the enabled control.
Valid values:
DRIFTED: The enabledControl deployed in this configuration doesn’t match the
configuration that AWS Control Tower expected.
IN_SYNC: The enabledControl deployed in this configuration matches the configuration
that AWS Control Tower expected.
NOT_CHECKING: AWS Control Tower does not check drift for this enabled control. Drift is not
supported for the control type.
UNKNOWN: AWS Control Tower is not able to check the drift status for the enabled control.
If the service returns an enum value that is not available in the current SDK version, driftStatus will
return DriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
driftStatusAsString().
Valid values:
DRIFTED: The enabledControl deployed in this configuration doesn’t match the
configuration that AWS Control Tower expected.
IN_SYNC: The enabledControl deployed in this configuration matches the
configuration that AWS Control Tower expected.
NOT_CHECKING: AWS Control Tower does not check drift for this enabled control. Drift is not
supported for the control type.
UNKNOWN: AWS Control Tower is not able to check the drift status for the enabled control.
DriftStatuspublic final String driftStatusAsString()
The drift status of the enabled control.
Valid values:
DRIFTED: The enabledControl deployed in this configuration doesn’t match the
configuration that AWS Control Tower expected.
IN_SYNC: The enabledControl deployed in this configuration matches the configuration
that AWS Control Tower expected.
NOT_CHECKING: AWS Control Tower does not check drift for this enabled control. Drift is not
supported for the control type.
UNKNOWN: AWS Control Tower is not able to check the drift status for the enabled control.
If the service returns an enum value that is not available in the current SDK version, driftStatus will
return DriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
driftStatusAsString().
Valid values:
DRIFTED: The enabledControl deployed in this configuration doesn’t match the
configuration that AWS Control Tower expected.
IN_SYNC: The enabledControl deployed in this configuration matches the
configuration that AWS Control Tower expected.
NOT_CHECKING: AWS Control Tower does not check drift for this enabled control. Drift is not
supported for the control type.
UNKNOWN: AWS Control Tower is not able to check the drift status for the enabled control.
DriftStatuspublic DriftStatusSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DriftStatusSummary.Builder,DriftStatusSummary>public static DriftStatusSummary.Builder builder()
public static Class<? extends DriftStatusSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.