Interface DatasetAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DatasetAction.Builder,DatasetAction>,SdkBuilder<DatasetAction.Builder,DatasetAction>,SdkPojo
- Enclosing class:
- DatasetAction
public static interface DatasetAction.Builder extends SdkPojo, CopyableBuilder<DatasetAction.Builder,DatasetAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DatasetAction.BuilderactionName(String actionName)The name of the dataset action by which dataset contents are automatically created.default DatasetAction.BuildercontainerAction(Consumer<ContainerDatasetAction.Builder> containerAction)Information that allows the system to run a containerized application to create the dataset contents.DatasetAction.BuildercontainerAction(ContainerDatasetAction containerAction)Information that allows the system to run a containerized application to create the dataset contents.default DatasetAction.BuilderqueryAction(Consumer<SqlQueryDatasetAction.Builder> queryAction)AnSqlQueryDatasetActionobject that uses an SQL query to automatically create dataset contents.DatasetAction.BuilderqueryAction(SqlQueryDatasetAction queryAction)AnSqlQueryDatasetActionobject that uses an SQL query to automatically create dataset contents.-
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
-
actionName
DatasetAction.Builder actionName(String actionName)
The name of the dataset action by which dataset contents are automatically created.
- Parameters:
actionName- The name of the dataset action by which dataset contents are automatically created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryAction
DatasetAction.Builder queryAction(SqlQueryDatasetAction queryAction)
An
SqlQueryDatasetActionobject that uses an SQL query to automatically create dataset contents.- Parameters:
queryAction- AnSqlQueryDatasetActionobject that uses an SQL query to automatically create dataset contents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryAction
default DatasetAction.Builder queryAction(Consumer<SqlQueryDatasetAction.Builder> queryAction)
An
This is a convenience method that creates an instance of theSqlQueryDatasetActionobject that uses an SQL query to automatically create dataset contents.SqlQueryDatasetAction.Builderavoiding the need to create one manually viaSqlQueryDatasetAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryAction(SqlQueryDatasetAction).- Parameters:
queryAction- a consumer that will call methods onSqlQueryDatasetAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
queryAction(SqlQueryDatasetAction)
-
containerAction
DatasetAction.Builder containerAction(ContainerDatasetAction containerAction)
Information that allows the system to run a containerized application to create the dataset contents. The application must be in a Docker container along with any required support libraries.
- Parameters:
containerAction- Information that allows the system to run a containerized application to create the dataset contents. The application must be in a Docker container along with any required support libraries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerAction
default DatasetAction.Builder containerAction(Consumer<ContainerDatasetAction.Builder> containerAction)
Information that allows the system to run a containerized application to create the dataset contents. The application must be in a Docker container along with any required support libraries.
This is a convenience method that creates an instance of theContainerDatasetAction.Builderavoiding the need to create one manually viaContainerDatasetAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerAction(ContainerDatasetAction).- Parameters:
containerAction- a consumer that will call methods onContainerDatasetAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
containerAction(ContainerDatasetAction)
-
-