@Generated(value="software.amazon.awssdk:codegen") public final class VsamDetailAttributes extends Object implements SdkPojo, Serializable, ToCopyableBuilder<VsamDetailAttributes.Builder,VsamDetailAttributes>
The attributes of a VSAM type data set.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VsamDetailAttributes.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AlternateKey> |
alternateKeys()
The alternate key definitions, if any.
|
static VsamDetailAttributes.Builder |
builder() |
Boolean |
cacheAtStartup()
If set to True, enforces loading the data set into cache before it’s used by the application.
|
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) |
<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.
|
String |
recordFormat()
The record format of the data set.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends VsamDetailAttributes.Builder> |
serializableBuilderClass() |
VsamDetailAttributes.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 cacheAtStartup()
If set to True, enforces loading the data set into cache before it’s used by the application.
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 PrimaryKey primaryKey()
The primary key of the data set.
public final String recordFormat()
The record format of the data set.
public VsamDetailAttributes.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<VsamDetailAttributes.Builder,VsamDetailAttributes>public static VsamDetailAttributes.Builder builder()
public static Class<? extends VsamDetailAttributes.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.