Class Validator
- java.lang.Object
-
- software.amazon.awssdk.services.appconfig.model.Validator
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Validator.Builder,Validator>
@Generated("software.amazon.awssdk:codegen") public final class Validator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Validator.Builder,Validator>
A validator provides a syntactic or semantic check to ensure the configuration that you want to deploy functions as intended. To validate your application configuration data, you provide a schema or an Amazon Web Services Lambda function that runs against the configuration. The configuration deployment or update can only proceed when the configuration data is valid.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceValidator.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Validator.Builderbuilder()Stringcontent()Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends Validator.Builder>serializableBuilderClass()Validator.BuildertoBuilder()StringtoString()Returns a string representation of this object.ValidatorTypetype()AppConfig supports validators of typeJSON_SCHEMAandLAMBDAStringtypeAsString()AppConfig supports validators of typeJSON_SCHEMAandLAMBDA-
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
-
type
public final ValidatorType type()
AppConfig supports validators of type
JSON_SCHEMAandLAMBDAIf the service returns an enum value that is not available in the current SDK version,
typewill returnValidatorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- AppConfig supports validators of type
JSON_SCHEMAandLAMBDA - See Also:
ValidatorType
-
typeAsString
public final String typeAsString()
AppConfig supports validators of type
JSON_SCHEMAandLAMBDAIf the service returns an enum value that is not available in the current SDK version,
typewill returnValidatorType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- AppConfig supports validators of type
JSON_SCHEMAandLAMBDA - See Also:
ValidatorType
-
content
public final String content()
Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
- Returns:
- Either the JSON Schema content or the Amazon Resource Name (ARN) of an Lambda function.
-
toBuilder
public Validator.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Validator.Builder,Validator>
-
builder
public static Validator.Builder builder()
-
serializableBuilderClass
public static Class<? extends Validator.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.
-
-