Interface ViewDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ViewDefinition.Builder,ViewDefinition>,SdkBuilder<ViewDefinition.Builder,ViewDefinition>,SdkPojo
- Enclosing class:
- ViewDefinition
public static interface ViewDefinition.Builder extends SdkPojo, CopyableBuilder<ViewDefinition.Builder,ViewDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ViewDefinition.Builderdefiner(String definer)The definer of a view in SQL.ViewDefinition.BuilderisProtected(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.ViewDefinition.Builderrepresentations(Collection<ViewRepresentation> representations)A list of representations.ViewDefinition.Builderrepresentations(Consumer<ViewRepresentation.Builder>... representations)A list of representations.ViewDefinition.Builderrepresentations(ViewRepresentation... representations)A list of representations.ViewDefinition.BuildersubObjects(String... subObjects)A list of table Amazon Resource Names (ARNs).ViewDefinition.BuildersubObjects(Collection<String> subObjects)A list of table Amazon Resource Names (ARNs).-
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 Detail
-
isProtected
ViewDefinition.Builder 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. 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
ViewDefinition.Builder definer(String 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.
-
subObjects
ViewDefinition.Builder subObjects(Collection<String> subObjects)
A list of table Amazon Resource Names (ARNs).
- Parameters:
subObjects- A list of table Amazon Resource Names (ARNs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subObjects
ViewDefinition.Builder subObjects(String... subObjects)
A list of table Amazon Resource Names (ARNs).
- Parameters:
subObjects- A list of table Amazon Resource Names (ARNs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
representations
ViewDefinition.Builder representations(Collection<ViewRepresentation> representations)
A list of representations.
- Parameters:
representations- A list of representations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
representations
ViewDefinition.Builder representations(ViewRepresentation... representations)
A list of representations.
- Parameters:
representations- A list of representations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
representations
ViewDefinition.Builder representations(Consumer<ViewRepresentation.Builder>... representations)
A list of representations.
This is a convenience method that creates an instance of theViewRepresentation.Builderavoiding the need to create one manually viaViewRepresentation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#representations(List.) - Parameters:
representations- a consumer that will call methods onViewRepresentation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#representations(java.util.Collection)
-
-