Class DriftStatusSummary
- java.lang.Object
-
- software.amazon.awssdk.services.controltower.model.DriftStatusSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DriftStatusSummary.Builder,DriftStatusSummary>
@Generated("software.amazon.awssdk:codegen") public final class DriftStatusSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DriftStatusSummary.Builder,DriftStatusSummary>
The drift summary of the enabled control.
Amazon Web Services 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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDriftStatusSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DriftStatusSummary.Builderbuilder()DriftStatusdriftStatus()The drift status of the enabled control.StringdriftStatusAsString()The drift status of the enabled control.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DriftStatusSummary.Builder>serializableBuilderClass()DriftStatusSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
driftStatus
public final DriftStatus driftStatus()
The drift status of the enabled control.
Valid values:
-
DRIFTED: TheenabledControldeployed in this configuration doesn’t match the configuration that Amazon Web Services Control Tower expected. -
IN_SYNC: TheenabledControldeployed in this configuration matches the configuration that Amazon Web Services Control Tower expected. -
NOT_CHECKING: Amazon Web Services Control Tower does not check drift for this enabled control. Drift is not supported for the control type. -
UNKNOWN: Amazon Web Services 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,
driftStatuswill returnDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdriftStatusAsString().- Returns:
- The drift status of the enabled control.
Valid values:
-
DRIFTED: TheenabledControldeployed in this configuration doesn’t match the configuration that Amazon Web Services Control Tower expected. -
IN_SYNC: TheenabledControldeployed in this configuration matches the configuration that Amazon Web Services Control Tower expected. -
NOT_CHECKING: Amazon Web Services Control Tower does not check drift for this enabled control. Drift is not supported for the control type. -
UNKNOWN: Amazon Web Services Control Tower is not able to check the drift status for the enabled control.
-
- See Also:
DriftStatus
-
-
driftStatusAsString
public final String driftStatusAsString()
The drift status of the enabled control.
Valid values:
-
DRIFTED: TheenabledControldeployed in this configuration doesn’t match the configuration that Amazon Web Services Control Tower expected. -
IN_SYNC: TheenabledControldeployed in this configuration matches the configuration that Amazon Web Services Control Tower expected. -
NOT_CHECKING: Amazon Web Services Control Tower does not check drift for this enabled control. Drift is not supported for the control type. -
UNKNOWN: Amazon Web Services 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,
driftStatuswill returnDriftStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdriftStatusAsString().- Returns:
- The drift status of the enabled control.
Valid values:
-
DRIFTED: TheenabledControldeployed in this configuration doesn’t match the configuration that Amazon Web Services Control Tower expected. -
IN_SYNC: TheenabledControldeployed in this configuration matches the configuration that Amazon Web Services Control Tower expected. -
NOT_CHECKING: Amazon Web Services Control Tower does not check drift for this enabled control. Drift is not supported for the control type. -
UNKNOWN: Amazon Web Services Control Tower is not able to check the drift status for the enabled control.
-
- See Also:
DriftStatus
-
-
toBuilder
public DriftStatusSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DriftStatusSummary.Builder,DriftStatusSummary>
-
builder
public static DriftStatusSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DriftStatusSummary.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-