Interface VsamAttributes.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VsamAttributes.Builder,VsamAttributes>,SdkBuilder<VsamAttributes.Builder,VsamAttributes>,SdkPojo
- Enclosing class:
- VsamAttributes
public static interface VsamAttributes.Builder extends SdkPojo, CopyableBuilder<VsamAttributes.Builder,VsamAttributes>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description VsamAttributes.BuilderalternateKeys(Collection<AlternateKey> alternateKeys)The alternate key definitions, if any.VsamAttributes.BuilderalternateKeys(Consumer<AlternateKey.Builder>... alternateKeys)The alternate key definitions, if any.VsamAttributes.BuilderalternateKeys(AlternateKey... alternateKeys)The alternate key definitions, if any.VsamAttributes.Buildercompressed(Boolean compressed)Indicates whether indexes for this dataset are stored as compressed values.VsamAttributes.Builderencoding(String encoding)The character set used by the data set.VsamAttributes.Builderformat(String format)The record format of the data set.default VsamAttributes.BuilderprimaryKey(Consumer<PrimaryKey.Builder> primaryKey)The primary key of the data set.VsamAttributes.BuilderprimaryKey(PrimaryKey primaryKey)The primary key of the data set.-
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 Detail
-
alternateKeys
VsamAttributes.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
VsamAttributes.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
VsamAttributes.Builder alternateKeys(Consumer<AlternateKey.Builder>... 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 theAlternateKey.Builderavoiding the need to create one manually viaAlternateKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#alternateKeys(List.) - Parameters:
alternateKeys- a consumer that will call methods onAlternateKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#alternateKeys(java.util.Collection)
-
compressed
VsamAttributes.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
VsamAttributes.Builder encoding(String 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.
-
format
VsamAttributes.Builder format(String format)
The record format of the data set.
- Parameters:
format- The record format of the data set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryKey
VsamAttributes.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 VsamAttributes.Builder primaryKey(Consumer<PrimaryKey.Builder> primaryKey)
The primary key of the data set.
This is a convenience method that creates an instance of thePrimaryKey.Builderavoiding the need to create one manually viaPrimaryKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprimaryKey(PrimaryKey).- Parameters:
primaryKey- a consumer that will call methods onPrimaryKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
primaryKey(PrimaryKey)
-
-