Interface VsamDetailAttributes.Builder

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

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

    • alternateKeys

      VsamDetailAttributes.Builder alternateKeys(Collection<AlternateKey> alternateKeys)

      The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.

      Parameters:
      alternateKeys - The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alternateKeys

      VsamDetailAttributes.Builder alternateKeys(AlternateKey... alternateKeys)

      The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.

      Parameters:
      alternateKeys - The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • alternateKeys

      The alternate key definitions, if any. A legacy dataset might not have any alternate key defined, but if those alternate keys definitions exist, provide them as some applications will make use of them.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to alternateKeys(List<AlternateKey>).

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

      VsamDetailAttributes.Builder cacheAtStartup(Boolean cacheAtStartup)

      If set to True, enforces loading the data set into cache before it’s used by the application.

      Parameters:
      cacheAtStartup - If set to True, enforces loading the data set into cache before it’s used by the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compressed

      VsamDetailAttributes.Builder compressed(Boolean compressed)

      Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.

      Parameters:
      compressed - Indicates whether indexes for this dataset are stored as compressed values. If you have a large data set (typically > 100 Mb), consider setting this flag to True.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encoding

      The character set used by the data set. Can be ASCII, EBCDIC, or unknown.

      Parameters:
      encoding - The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryKey

      VsamDetailAttributes.Builder primaryKey(PrimaryKey primaryKey)

      The primary key of the data set.

      Parameters:
      primaryKey - The primary key of the data set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • primaryKey

      default VsamDetailAttributes.Builder primaryKey(Consumer<PrimaryKey.Builder> primaryKey)

      The primary key of the data set.

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

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

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

      VsamDetailAttributes.Builder recordFormat(String recordFormat)

      The record format of the data set.

      Parameters:
      recordFormat - The record format of the data set.
      Returns:
      Returns a reference to this object so that method calls can be chained together.