Interface DataSet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DataSet.Builder,
,DataSet> SdkBuilder<DataSet.Builder,
,DataSet> SdkPojo
- Enclosing class:
DataSet
-
Method Summary
Modifier and TypeMethodDescriptiondatasetName
(String datasetName) The logical identifier for a specific data set (in mainframe format).default DataSet.Builder
datasetOrg
(Consumer<DatasetOrgAttributes.Builder> datasetOrg) The type of dataset.datasetOrg
(DatasetOrgAttributes datasetOrg) The type of dataset.default DataSet.Builder
recordLength
(Consumer<RecordLength.Builder> recordLength) The length of a record.recordLength
(RecordLength recordLength) The length of a record.relativePath
(String relativePath) The relative location of the data set in the database or file system.storageType
(String storageType) The storage type of the data set: database or file system.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, sdkFields
-
Method Details
-
datasetName
The logical identifier for a specific data set (in mainframe format).
- Parameters:
datasetName
- The logical identifier for a specific data set (in mainframe format).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetOrg
The type of dataset. The only supported value is VSAM.
- Parameters:
datasetOrg
- The type of dataset. The only supported value is VSAM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetOrg
The type of dataset. The only supported value is VSAM.
This is a convenience method that creates an instance of theDatasetOrgAttributes.Builder
avoiding the need to create one manually viaDatasetOrgAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatasetOrg(DatasetOrgAttributes)
.- Parameters:
datasetOrg
- a consumer that will call methods onDatasetOrgAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recordLength
The length of a record.
- Parameters:
recordLength
- The length of a record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordLength
The length of a record.
This is a convenience method that creates an instance of theRecordLength.Builder
avoiding the need to create one manually viaRecordLength.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecordLength(RecordLength)
.- Parameters:
recordLength
- a consumer that will call methods onRecordLength.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
relativePath
The relative location of the data set in the database or file system.
- Parameters:
relativePath
- The relative location of the data set in the database or file system.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageType
The storage type of the data set: database or file system. For Micro Focus, database corresponds to datastore and file system corresponds to EFS/FSX. For Blu Age, there is no support of file system and database corresponds to Blusam.
- Parameters:
storageType
- The storage type of the data set: database or file system. For Micro Focus, database corresponds to datastore and file system corresponds to EFS/FSX. For Blu Age, there is no support of file system and database corresponds to Blusam.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-