Interface DataSet.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DataSet.Builder,DataSet>, SdkBuilder<DataSet.Builder,DataSet>, SdkPojo
Enclosing class:
DataSet

public static interface DataSet.Builder extends SdkPojo, CopyableBuilder<DataSet.Builder,DataSet>
  • Method Details

    • datasetName

      DataSet.Builder datasetName(String 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

      DataSet.Builder datasetOrg(DatasetOrgAttributes 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

      default DataSet.Builder datasetOrg(Consumer<DatasetOrgAttributes.Builder> datasetOrg)

      The type of dataset. The only supported value is VSAM.

      This is a convenience method that creates an instance of the DatasetOrgAttributes.Builder avoiding the need to create one manually via DatasetOrgAttributes.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to datasetOrg(DatasetOrgAttributes).

      Parameters:
      datasetOrg - a consumer that will call methods on DatasetOrgAttributes.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • recordLength

      DataSet.Builder recordLength(RecordLength 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

      default DataSet.Builder recordLength(Consumer<RecordLength.Builder> recordLength)

      The length of a record.

      This is a convenience method that creates an instance of the RecordLength.Builder avoiding the need to create one manually via RecordLength.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to recordLength(RecordLength).

      Parameters:
      recordLength - a consumer that will call methods on RecordLength.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • relativePath

      DataSet.Builder relativePath(String 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

      DataSet.Builder storageType(String 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.