@Generated(value="software.amazon.awssdk:codegen") public final class VsamAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VsamAttributes.Builder,VsamAttributes>
The attributes of a VSAM type data set.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VsamAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AlternateKey> |
alternateKeys()
The alternate key definitions, if any.
|
static VsamAttributes.Builder |
builder() |
Boolean |
compressed()
Indicates whether indexes for this dataset are stored as compressed values.
|
String |
encoding()
The character set used by the data set.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
format()
The record format of the data set.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAlternateKeys()
For responses, this returns true if the service returned a value for the AlternateKeys property.
|
int |
hashCode() |
PrimaryKey |
primaryKey()
The primary key of the data set.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VsamAttributes.Builder> |
serializableBuilderClass() |
VsamAttributes.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAlternateKeys()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAlternateKeys() method.
public final 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.
public final String encoding()
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
public final String format()
The record format of the data set.
public final PrimaryKey primaryKey()
The primary key of the data set.
public VsamAttributes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VsamAttributes.Builder,VsamAttributes>public static VsamAttributes.Builder builder()
public static Class<? extends VsamAttributes.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.