Interface ViewDefinitionInput.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ViewDefinitionInput.Builder,ViewDefinitionInput>,SdkBuilder<ViewDefinitionInput.Builder,ViewDefinitionInput>,SdkPojo
- Enclosing class:
- ViewDefinitionInput
@Mutable @NotThreadSafe public static interface ViewDefinitionInput.Builder extends SdkPojo, CopyableBuilder<ViewDefinitionInput.Builder,ViewDefinitionInput>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ViewDefinitionInput.Builderdefiner(String definer)The definer of a view in SQL.ViewDefinitionInput.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.ViewDefinitionInput.BuilderlastRefreshType(String lastRefreshType)The type of the materialized view's last refresh.ViewDefinitionInput.BuilderlastRefreshType(LastRefreshType lastRefreshType)The type of the materialized view's last refresh.ViewDefinitionInput.BuilderrefreshSeconds(Long refreshSeconds)Auto refresh interval in seconds for the materialized view.ViewDefinitionInput.Builderrepresentations(Collection<ViewRepresentationInput> representations)A list of structures that contains the dialect of the view, and the query that defines the view.ViewDefinitionInput.Builderrepresentations(Consumer<ViewRepresentationInput.Builder>... representations)A list of structures that contains the dialect of the view, and the query that defines the view.ViewDefinitionInput.Builderrepresentations(ViewRepresentationInput... representations)A list of structures that contains the dialect of the view, and the query that defines the view.ViewDefinitionInput.BuildersubObjects(String... subObjects)A list of base table ARNs that make up the view.ViewDefinitionInput.BuildersubObjects(Collection<String> subObjects)A list of base table ARNs that make up the view.ViewDefinitionInput.BuildersubObjectVersionIds(Long... subObjectVersionIds)List of the Apache Iceberg table versions referenced by the materialized view.ViewDefinitionInput.BuildersubObjectVersionIds(Collection<Long> subObjectVersionIds)List of the Apache Iceberg table versions referenced by the materialized view.ViewDefinitionInput.BuilderviewVersionId(Long viewVersionId)The ID value that identifies this view's version.ViewDefinitionInput.BuilderviewVersionToken(String viewVersionToken)The version ID of the Apache Iceberg table.-
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
ViewDefinitionInput.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
ViewDefinitionInput.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.
-
representations
ViewDefinitionInput.Builder representations(Collection<ViewRepresentationInput> 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(ViewRepresentationInput... 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.Builderavoiding the need to create one manually viaViewRepresentationInput.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 onViewRepresentationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#representations(java.util.Collection)
-
viewVersionId
ViewDefinitionInput.Builder viewVersionId(Long viewVersionId)
The ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.
- Parameters:
viewVersionId- The ID value that identifies this view's version. For materialized views, the version ID is the Apache Iceberg table's snapshot ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
viewVersionToken
ViewDefinitionInput.Builder viewVersionToken(String viewVersionToken)
The version ID of the Apache Iceberg table.
- Parameters:
viewVersionToken- The version ID of the Apache Iceberg table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
refreshSeconds
ViewDefinitionInput.Builder refreshSeconds(Long refreshSeconds)
Auto refresh interval in seconds for the materialized view. If not specified, the view will not automatically refresh.
- Parameters:
refreshSeconds- Auto refresh interval in seconds for the materialized view. If not specified, the view will not automatically refresh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRefreshType
ViewDefinitionInput.Builder lastRefreshType(String lastRefreshType)
The type of the materialized view's last refresh. Valid values:
Full,Incremental.- Parameters:
lastRefreshType- The type of the materialized view's last refresh. Valid values:Full,Incremental.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LastRefreshType,LastRefreshType
-
lastRefreshType
ViewDefinitionInput.Builder lastRefreshType(LastRefreshType lastRefreshType)
The type of the materialized view's last refresh. Valid values:
Full,Incremental.- Parameters:
lastRefreshType- The type of the materialized view's last refresh. Valid values:Full,Incremental.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LastRefreshType,LastRefreshType
-
subObjects
ViewDefinitionInput.Builder subObjects(Collection<String> 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
ViewDefinitionInput.Builder subObjects(String... 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.
-
subObjectVersionIds
ViewDefinitionInput.Builder subObjectVersionIds(Collection<Long> subObjectVersionIds)
List of the Apache Iceberg table versions referenced by the materialized view.
- Parameters:
subObjectVersionIds- List of the Apache Iceberg table versions referenced by the materialized view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subObjectVersionIds
ViewDefinitionInput.Builder subObjectVersionIds(Long... subObjectVersionIds)
List of the Apache Iceberg table versions referenced by the materialized view.
- Parameters:
subObjectVersionIds- List of the Apache Iceberg table versions referenced by the materialized view.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-