Enum CustomMetadataSchemaComplianceStatus
java.lang.Object
java.lang.Enum<CustomMetadataSchemaComplianceStatus>
software.amazon.awssdk.services.agentregistrycontrol.model.CustomMetadataSchemaComplianceStatus
- All Implemented Interfaces:
Serializable,Comparable<CustomMetadataSchemaComplianceStatus>
@Generated("software.amazon.awssdk:codegen")
public enum CustomMetadataSchemaComplianceStatus
extends Enum<CustomMetadataSchemaComplianceStatus>
Indicates whether a registry record's custom metadata conforms to the registry's current schema.
COMPLIANT means all required fields are present and all values match their declared types.
NON_COMPLIANT means the metadata does not satisfy the current schema, for example because the schema was
updated after the record was last modified.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionUse this in place of valueOf to convert the raw string returned by the service into the enum value.toString()Returns the enum constant of this type with the specified name.static CustomMetadataSchemaComplianceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
COMPLIANT
-
NON_COMPLIANT
-
UNKNOWN_TO_SDK_VERSION
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<CustomMetadataSchemaComplianceStatus>
-
fromValue
Use this in place of valueOf to convert the raw string returned by the service into the enum value.- Parameters:
value- real value- Returns:
- CustomMetadataSchemaComplianceStatus corresponding to the value
-
knownValues
Use this in place ofvalues()to return aSetof all values known to the SDK. This will return all known enum values exceptUNKNOWN_TO_SDK_VERSION.- Returns:
- a
Setof knownCustomMetadataSchemaComplianceStatuss
-