Class ViewValidation
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.ViewValidation
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ViewValidation.Builder,ViewValidation>
@Generated("software.amazon.awssdk:codegen") public final class ViewValidation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ViewValidation.Builder,ViewValidation>
A structure that contains information for an analytical engine to validate a view, prior to persisting the view metadata. Used in the case of direct
UpdateTableorCreateTableAPI calls.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceViewValidation.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ViewValidation.Builderbuilder()ViewDialectdialect()The dialect of the query engine.StringdialectAsString()The dialect of the query engine.StringdialectVersion()The version of the dialect of the query engine.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)ErrorDetailerror()An error associated with the validation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ViewValidation.Builder>serializableBuilderClass()ResourceStatestate()The state of the validation.StringstateAsString()The state of the validation.ViewValidation.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateTime()The time of the last update.StringviewValidationText()TheSELECTquery that defines the view, as provided by the customer.-
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
-
dialect
public final ViewDialect dialect()
The dialect of the query engine.
If the service returns an enum value that is not available in the current SDK version,
dialectwill returnViewDialect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdialectAsString().- Returns:
- The dialect of the query engine.
- See Also:
ViewDialect
-
dialectAsString
public final String dialectAsString()
The dialect of the query engine.
If the service returns an enum value that is not available in the current SDK version,
dialectwill returnViewDialect.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdialectAsString().- Returns:
- The dialect of the query engine.
- See Also:
ViewDialect
-
dialectVersion
public final String dialectVersion()
The version of the dialect of the query engine. For example, 3.0.0.
- Returns:
- The version of the dialect of the query engine. For example, 3.0.0.
-
viewValidationText
public final String viewValidationText()
The
SELECTquery that defines the view, as provided by the customer.- Returns:
- The
SELECTquery that defines the view, as provided by the customer.
-
updateTime
public final Instant updateTime()
The time of the last update.
- Returns:
- The time of the last update.
-
state
public final ResourceState state()
The state of the validation.
If the service returns an enum value that is not available in the current SDK version,
statewill returnResourceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the validation.
- See Also:
ResourceState
-
stateAsString
public final String stateAsString()
The state of the validation.
If the service returns an enum value that is not available in the current SDK version,
statewill returnResourceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of the validation.
- See Also:
ResourceState
-
error
public final ErrorDetail error()
An error associated with the validation.
- Returns:
- An error associated with the validation.
-
toBuilder
public ViewValidation.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ViewValidation.Builder,ViewValidation>
-
builder
public static ViewValidation.Builder builder()
-
serializableBuilderClass
public static Class<? extends ViewValidation.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.
-
-