Interface ViewDefinitionInput.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ViewDefinitionInput.Builder,
,ViewDefinitionInput> SdkBuilder<ViewDefinitionInput.Builder,
,ViewDefinitionInput> SdkPojo
- Enclosing class:
ViewDefinitionInput
-
Method Summary
Modifier and TypeMethodDescriptionThe definer of a view in SQL.isProtected
(Boolean isProtected) You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning.representations
(Collection<ViewRepresentationInput> representations) A list of structures that contains the dialect of the view, and the query that defines the view.representations
(Consumer<ViewRepresentationInput.Builder>... representations) A list of structures that contains the dialect of the view, and the query that defines the view.representations
(ViewRepresentationInput... representations) A list of structures that contains the dialect of the view, and the query that defines the view.subObjects
(String... subObjects) A list of base table ARNs that make up the view.subObjects
(Collection<String> subObjects) A list of base table ARNs that make up the view.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
-
isProtected
You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.
- Parameters:
isProtected
- You can set this flag as true to instruct the engine not to push user-provided operations into the logical plan of the view during query planning. However, setting this flag does not guarantee that the engine will comply. Refer to the engine's documentation to understand the guarantees provided, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definer
The definer of a view in SQL.
- Parameters:
definer
- The definer of a view in SQL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
representations
A list of structures that contains the dialect of the view, and the query that defines the view.
- Parameters:
representations
- A list of structures that contains the dialect of the view, and the query that defines the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
representations
A list of structures that contains the dialect of the view, and the query that defines the view.
- Parameters:
representations
- A list of structures that contains the dialect of the view, and the query that defines the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
representations
ViewDefinitionInput.Builder representations(Consumer<ViewRepresentationInput.Builder>... representations) A list of structures that contains the dialect of the view, and the query that defines the view.
This is a convenience method that creates an instance of theViewRepresentationInput.Builder
avoiding the need to create one manually viaViewRepresentationInput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepresentations(List<ViewRepresentationInput>)
.- Parameters:
representations
- a consumer that will call methods onViewRepresentationInput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subObjects
A list of base table ARNs that make up the view.
- Parameters:
subObjects
- A list of base table ARNs that make up the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subObjects
A list of base table ARNs that make up the view.
- Parameters:
subObjects
- A list of base table ARNs that make up the view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-