Interface ViewValidation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ViewValidation.Builder,ViewValidation>,SdkBuilder<ViewValidation.Builder,ViewValidation>,SdkPojo
- Enclosing class:
- ViewValidation
public static interface ViewValidation.Builder extends SdkPojo, CopyableBuilder<ViewValidation.Builder,ViewValidation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ViewValidation.Builderdialect(String dialect)The dialect of the query engine.ViewValidation.Builderdialect(ViewDialect dialect)The dialect of the query engine.ViewValidation.BuilderdialectVersion(String dialectVersion)The version of the dialect of the query engine.default ViewValidation.Buildererror(Consumer<ErrorDetail.Builder> error)An error associated with the validation.ViewValidation.Buildererror(ErrorDetail error)An error associated with the validation.ViewValidation.Builderstate(String state)The state of the validation.ViewValidation.Builderstate(ResourceState state)The state of the validation.ViewValidation.BuilderupdateTime(Instant updateTime)The time of the last update.ViewValidation.BuilderviewValidationText(String viewValidationText)TheSELECTquery that defines the view, as provided by the customer.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
dialect
ViewValidation.Builder dialect(String dialect)
The dialect of the query engine.
- Parameters:
dialect- The dialect of the query engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ViewDialect,ViewDialect
-
dialect
ViewValidation.Builder dialect(ViewDialect dialect)
The dialect of the query engine.
- Parameters:
dialect- The dialect of the query engine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ViewDialect,ViewDialect
-
dialectVersion
ViewValidation.Builder dialectVersion(String dialectVersion)
The version of the dialect of the query engine. For example, 3.0.0.
- Parameters:
dialectVersion- The version of the dialect of the query engine. For example, 3.0.0.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewValidationText
ViewValidation.Builder viewValidationText(String viewValidationText)
The
SELECTquery that defines the view, as provided by the customer.- Parameters:
viewValidationText- TheSELECTquery that defines the view, as provided by the customer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updateTime
ViewValidation.Builder updateTime(Instant updateTime)
The time of the last update.
- Parameters:
updateTime- The time of the last update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
ViewValidation.Builder state(String state)
The state of the validation.
- Parameters:
state- The state of the validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceState,ResourceState
-
state
ViewValidation.Builder state(ResourceState state)
The state of the validation.
- Parameters:
state- The state of the validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ResourceState,ResourceState
-
error
ViewValidation.Builder error(ErrorDetail error)
An error associated with the validation.
- Parameters:
error- An error associated with the validation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default ViewValidation.Builder error(Consumer<ErrorDetail.Builder> error)
An error associated with the validation.
This is a convenience method that creates an instance of theErrorDetail.Builderavoiding the need to create one manually viaErrorDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorDetail).- Parameters:
error- a consumer that will call methods onErrorDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(ErrorDetail)
-
-