@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VsamAttributes extends Object implements Serializable, Cloneable, StructuredPojo
The attributes of a VSAM type data set.
Constructor and Description |
---|
VsamAttributes() |
Modifier and Type | Method and Description |
---|---|
VsamAttributes |
clone() |
boolean |
equals(Object obj) |
List<AlternateKey> |
getAlternateKeys()
The alternate key definitions, if any.
|
Boolean |
getCompressed()
Indicates whether indexes for this dataset are stored as compressed values.
|
String |
getEncoding()
The character set used by the data set.
|
String |
getFormat()
The record format of the data set.
|
PrimaryKey |
getPrimaryKey()
The primary key of the data set.
|
int |
hashCode() |
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 |
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 |
setFormat(String format)
The record format of the data set.
|
void |
setPrimaryKey(PrimaryKey primaryKey)
The primary key of the data set.
|
String |
toString()
Returns a string representation of this object.
|
VsamAttributes |
withAlternateKeys(AlternateKey... alternateKeys)
The alternate key definitions, if any.
|
VsamAttributes |
withAlternateKeys(Collection<AlternateKey> alternateKeys)
The alternate key definitions, if any.
|
VsamAttributes |
withCompressed(Boolean compressed)
Indicates whether indexes for this dataset are stored as compressed values.
|
VsamAttributes |
withEncoding(String encoding)
The character set used by the data set.
|
VsamAttributes |
withFormat(String format)
The record format of the data set.
|
VsamAttributes |
withPrimaryKey(PrimaryKey primaryKey)
The primary key 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 VsamAttributes 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 VsamAttributes 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 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 VsamAttributes 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 VsamAttributes 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 setFormat(String format)
The record format of the data set.
format
- The record format of the data set.public String getFormat()
The record format of the data set.
public VsamAttributes withFormat(String format)
The record format of the data set.
format
- The record format of the data set.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 VsamAttributes withPrimaryKey(PrimaryKey primaryKey)
The primary key of the data set.
primaryKey
- The primary key of the data set.public String toString()
toString
in class Object
Object.toString()
public VsamAttributes clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.