Class FeatureMetadata
- java.lang.Object
-
- software.amazon.awssdk.services.pi.model.FeatureMetadata
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<FeatureMetadata.Builder,FeatureMetadata>
@Generated("software.amazon.awssdk:codegen") public final class FeatureMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FeatureMetadata.Builder,FeatureMetadata>
The metadata for a feature. For example, the metadata might indicate that a feature is turned on or off on a specific DB instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFeatureMetadata.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FeatureMetadata.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends FeatureMetadata.Builder>serializableBuilderClass()FeatureStatusstatus()The status of the feature on the DB instance.StringstatusAsString()The status of the feature on the DB instance.FeatureMetadata.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
-
status
public final FeatureStatus status()
The status of the feature on the DB instance. Possible values include the following:
-
ENABLED- The feature is enabled on the instance. -
DISABLED- The feature is disabled on the instance. -
UNSUPPORTED- The feature isn't supported on the instance. -
ENABLED_PENDING_REBOOT- The feature is enabled on the instance but requires a reboot to take effect. -
DISABLED_PENDING_REBOOT- The feature is disabled on the instance but requires a reboot to take effect. -
UNKNOWN- The feature status couldn't be determined.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the feature on the DB instance. Possible values include the following:
-
ENABLED- The feature is enabled on the instance. -
DISABLED- The feature is disabled on the instance. -
UNSUPPORTED- The feature isn't supported on the instance. -
ENABLED_PENDING_REBOOT- The feature is enabled on the instance but requires a reboot to take effect. -
DISABLED_PENDING_REBOOT- The feature is disabled on the instance but requires a reboot to take effect. -
UNKNOWN- The feature status couldn't be determined.
-
- See Also:
FeatureStatus
-
-
statusAsString
public final String statusAsString()
The status of the feature on the DB instance. Possible values include the following:
-
ENABLED- The feature is enabled on the instance. -
DISABLED- The feature is disabled on the instance. -
UNSUPPORTED- The feature isn't supported on the instance. -
ENABLED_PENDING_REBOOT- The feature is enabled on the instance but requires a reboot to take effect. -
DISABLED_PENDING_REBOOT- The feature is disabled on the instance but requires a reboot to take effect. -
UNKNOWN- The feature status couldn't be determined.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnFeatureStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the feature on the DB instance. Possible values include the following:
-
ENABLED- The feature is enabled on the instance. -
DISABLED- The feature is disabled on the instance. -
UNSUPPORTED- The feature isn't supported on the instance. -
ENABLED_PENDING_REBOOT- The feature is enabled on the instance but requires a reboot to take effect. -
DISABLED_PENDING_REBOOT- The feature is disabled on the instance but requires a reboot to take effect. -
UNKNOWN- The feature status couldn't be determined.
-
- See Also:
FeatureStatus
-
-
toBuilder
public FeatureMetadata.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<FeatureMetadata.Builder,FeatureMetadata>
-
builder
public static FeatureMetadata.Builder builder()
-
serializableBuilderClass
public static Class<? extends FeatureMetadata.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.
-
-