Interface ViewValidation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ViewValidation.Builder,
,ViewValidation> SdkBuilder<ViewValidation.Builder,
,ViewValidation> SdkPojo
- Enclosing class:
ViewValidation
@Mutable
@NotThreadSafe
public static interface ViewValidation.Builder
extends SdkPojo, CopyableBuilder<ViewValidation.Builder,ViewValidation>
-
Method Summary
Modifier and TypeMethodDescriptionThe dialect of the query engine.dialect
(ViewDialect dialect) The dialect of the query engine.dialectVersion
(String dialectVersion) The version of the dialect of the query engine.default ViewValidation.Builder
error
(Consumer<ErrorDetail.Builder> error) An error associated with the validation.error
(ErrorDetail error) An error associated with the validation.The state of the validation.state
(ResourceState state) The state of the validation.updateTime
(Instant updateTime) The time of the last update.viewValidationText
(String viewValidationText) TheSELECT
query 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, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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:
-
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
The
SELECT
query that defines the view, as provided by the customer.- Parameters:
viewValidationText
- TheSELECT
query 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
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
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:
-
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:
-
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
An error associated with the validation.
This is a convenience method that creates an instance of theErrorDetail.Builder
avoiding the need to create one manually viaErrorDetail.builder()
.When the
Consumer
completes,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:
-