Interface CreateBulkImportJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateBulkImportJobRequest.Builder,,CreateBulkImportJobRequest> IoTSiteWiseRequest.Builder,SdkBuilder<CreateBulkImportJobRequest.Builder,,CreateBulkImportJobRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateBulkImportJobRequest
-
Method Summary
Modifier and TypeMethodDescriptionadaptiveIngestion(Boolean adaptiveIngestion) If set to true, ingest new data into IoT SiteWise storage.The ID of the session dataset to ingest data into.deleteFilesAfterImport(Boolean deleteFilesAfterImport) If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.errorReportLocation(Consumer<ErrorReportLocation.Builder> errorReportLocation) The Amazon S3 destination where errors associated with the job creation request are saved.errorReportLocation(ErrorReportLocation errorReportLocation) The Amazon S3 destination where errors associated with the job creation request are saved.files(Collection<File> files) The files in the specified Amazon S3 bucket that contain your data.files(Consumer<File.Builder>... files) The files in the specified Amazon S3 bucket that contain your data.The files in the specified Amazon S3 bucket that contain your data.jobConfiguration(Consumer<JobConfiguration.Builder> jobConfiguration) Contains the configuration information of a job, such as the file format used to save data in Amazon S3.jobConfiguration(JobConfiguration jobConfiguration) Contains the configuration information of a job, such as the file format used to save data in Amazon S3.The unique name that helps identify the job request.jobRoleArn(String jobRoleArn) The ARN of the IAM role that allows IoT SiteWise to read Amazon S3 data.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workspaceName(String workspaceName) The name of the workspace that contains the session dataset.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotsitewise.model.IoTSiteWiseRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
jobName
The unique name that helps identify the job request.
- Parameters:
jobName- The unique name that helps identify the job request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobRoleArn
-
files
The files in the specified Amazon S3 bucket that contain your data. You can specify up to 100 files for each bulk import job. Each file supports the following size limits:
-
Parquet files – Up to 256 MiB.
-
Other file formats – Up to 5 GiB.
- Parameters:
files- The files in the specified Amazon S3 bucket that contain your data. You can specify up to 100 files for each bulk import job. Each file supports the following size limits:-
Parquet files – Up to 256 MiB.
-
Other file formats – Up to 5 GiB.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
files
The files in the specified Amazon S3 bucket that contain your data. You can specify up to 100 files for each bulk import job. Each file supports the following size limits:
-
Parquet files – Up to 256 MiB.
-
Other file formats – Up to 5 GiB.
- Parameters:
files- The files in the specified Amazon S3 bucket that contain your data. You can specify up to 100 files for each bulk import job. Each file supports the following size limits:-
Parquet files – Up to 256 MiB.
-
Other file formats – Up to 5 GiB.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
files
The files in the specified Amazon S3 bucket that contain your data. You can specify up to 100 files for each bulk import job. Each file supports the following size limits:
-
Parquet files – Up to 256 MiB.
-
Other file formats – Up to 5 GiB.
File.Builderavoiding the need to create one manually viaFile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofiles(List<File>).- Parameters:
files- a consumer that will call methods onFile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
errorReportLocation
The Amazon S3 destination where errors associated with the job creation request are saved.
- Parameters:
errorReportLocation- The Amazon S3 destination where errors associated with the job creation request are saved.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorReportLocation
default CreateBulkImportJobRequest.Builder errorReportLocation(Consumer<ErrorReportLocation.Builder> errorReportLocation) The Amazon S3 destination where errors associated with the job creation request are saved.
This is a convenience method that creates an instance of theErrorReportLocation.Builderavoiding the need to create one manually viaErrorReportLocation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrorReportLocation(ErrorReportLocation).- Parameters:
errorReportLocation- a consumer that will call methods onErrorReportLocation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobConfiguration
Contains the configuration information of a job, such as the file format used to save data in Amazon S3.
- Parameters:
jobConfiguration- Contains the configuration information of a job, such as the file format used to save data in Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobConfiguration
default CreateBulkImportJobRequest.Builder jobConfiguration(Consumer<JobConfiguration.Builder> jobConfiguration) Contains the configuration information of a job, such as the file format used to save data in Amazon S3.
This is a convenience method that creates an instance of theJobConfiguration.Builderavoiding the need to create one manually viaJobConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobConfiguration(JobConfiguration).- Parameters:
jobConfiguration- a consumer that will call methods onJobConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
adaptiveIngestion
If set to true, ingest new data into IoT SiteWise storage. Measurements with notifications, metrics and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as is.
- Parameters:
adaptiveIngestion- If set to true, ingest new data into IoT SiteWise storage. Measurements with notifications, metrics and transforms are computed. If set to false, historical data is ingested into IoT SiteWise as is.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteFilesAfterImport
If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.
- Parameters:
deleteFilesAfterImport- If set to true, your data files is deleted from S3, after ingestion into IoT SiteWise storage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetId
The ID of the session dataset to ingest data into. Specify this field, together with
workspaceName, to ingest data into a session dataset in a workspace.- Parameters:
datasetId- The ID of the session dataset to ingest data into. Specify this field, together withworkspaceName, to ingest data into a session dataset in a workspace.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workspaceName
The name of the workspace that contains the session dataset. Specify this field together with
datasetId.- Parameters:
workspaceName- The name of the workspace that contains the session dataset. Specify this field together withdatasetId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateBulkImportJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateBulkImportJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-