@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VsamDetailAttributes extends Object implements Serializable, Cloneable, StructuredPojo
The attributes of a VSAM type data set.
Constructor and Description |
---|
VsamDetailAttributes() |
Modifier and Type | Method and Description |
---|---|
VsamDetailAttributes |
clone() |
boolean |
equals(Object obj) |
List<AlternateKey> |
getAlternateKeys()
The alternate key definitions, if any.
|
Boolean |
getCacheAtStartup()
If set to True, enforces loading the data set into cache before it’s used by the application.
|
Boolean |
getCompressed()
Indicates whether indexes for this dataset are stored as compressed values.
|
String |
getEncoding()
The character set used by the data set.
|
PrimaryKey |
getPrimaryKey()
The primary key of the data set.
|
String |
getRecordFormat()
The record format of the data set.
|
int |
hashCode() |
Boolean |
isCacheAtStartup()
If set to True, enforces loading the data set into cache before it’s used by the application.
|
Boolean |
isCompressed()
Indicates whether indexes for this dataset are stored as compressed values.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAlternateKeys(Collection<AlternateKey> alternateKeys)
The alternate key definitions, if any.
|
void |
setCacheAtStartup(Boolean cacheAtStartup)
If set to True, enforces loading the data set into cache before it’s used by the application.
|
void |
setCompressed(Boolean compressed)
Indicates whether indexes for this dataset are stored as compressed values.
|
void |
setEncoding(String encoding)
The character set used by the data set.
|
void |
setPrimaryKey(PrimaryKey primaryKey)
The primary key of the data set.
|
void |
setRecordFormat(String recordFormat)
The record format of the data set.
|
String |
toString()
Returns a string representation of this object.
|
VsamDetailAttributes |
withAlternateKeys(AlternateKey... alternateKeys)
The alternate key definitions, if any.
|
VsamDetailAttributes |
withAlternateKeys(Collection<AlternateKey> alternateKeys)
The alternate key definitions, if any.
|
VsamDetailAttributes |
withCacheAtStartup(Boolean cacheAtStartup)
If set to True, enforces loading the data set into cache before it’s used by the application.
|
VsamDetailAttributes |
withCompressed(Boolean compressed)
Indicates whether indexes for this dataset are stored as compressed values.
|
VsamDetailAttributes |
withEncoding(String encoding)
The character set used by the data set.
|
VsamDetailAttributes |
withPrimaryKey(PrimaryKey primaryKey)
The primary key of the data set.
|
VsamDetailAttributes |
withRecordFormat(String recordFormat)
The record format of the data set.
|
public List<AlternateKey> getAlternateKeys()
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.
public void setAlternateKeys(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.
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.public VsamDetailAttributes withAlternateKeys(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.
NOTE: This method appends the values to the existing list (if any). Use
setAlternateKeys(java.util.Collection)
or withAlternateKeys(java.util.Collection)
if you want
to override the existing values.
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.public VsamDetailAttributes withAlternateKeys(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.
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.public void setCacheAtStartup(Boolean cacheAtStartup)
If set to True, enforces loading the data set into cache before it’s used by the application.
cacheAtStartup
- If set to True, enforces loading the data set into cache before it’s used by the application.public Boolean getCacheAtStartup()
If set to True, enforces loading the data set into cache before it’s used by the application.
public VsamDetailAttributes withCacheAtStartup(Boolean cacheAtStartup)
If set to True, enforces loading the data set into cache before it’s used by the application.
cacheAtStartup
- If set to True, enforces loading the data set into cache before it’s used by the application.public Boolean isCacheAtStartup()
If set to True, enforces loading the data set into cache before it’s used by the application.
public void setCompressed(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.
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 Boolean getCompressed()
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 VsamDetailAttributes withCompressed(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.
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 Boolean isCompressed()
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 void setEncoding(String encoding)
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
encoding
- The character set used by the data set. Can be ASCII, EBCDIC, or unknown.public String getEncoding()
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
public VsamDetailAttributes withEncoding(String encoding)
The character set used by the data set. Can be ASCII, EBCDIC, or unknown.
encoding
- The character set used by the data set. Can be ASCII, EBCDIC, or unknown.public void setPrimaryKey(PrimaryKey primaryKey)
The primary key of the data set.
primaryKey
- The primary key of the data set.public PrimaryKey getPrimaryKey()
The primary key of the data set.
public VsamDetailAttributes withPrimaryKey(PrimaryKey primaryKey)
The primary key of the data set.
primaryKey
- The primary key of the data set.public void setRecordFormat(String recordFormat)
The record format of the data set.
recordFormat
- The record format of the data set.public String getRecordFormat()
The record format of the data set.
public VsamDetailAttributes withRecordFormat(String recordFormat)
The record format of the data set.
recordFormat
- The record format of the data set.public String toString()
toString
in class Object
Object.toString()
public VsamDetailAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.