@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodegenGenericDataField extends Object implements Serializable, Cloneable, StructuredPojo
Describes a field in a generic data schema.
Constructor and Description |
---|
CodegenGenericDataField() |
Modifier and Type | Method and Description |
---|---|
CodegenGenericDataField |
clone() |
boolean |
equals(Object obj) |
String |
getDataType()
The data type for the generic data field.
|
String |
getDataTypeValue()
The value of the data type for the generic data field.
|
Boolean |
getIsArray()
Specifies whether the generic data field is an array.
|
Boolean |
getReadOnly()
Specifies whether the generic data field is read-only.
|
CodegenGenericDataRelationshipType |
getRelationship()
The relationship of the generic data schema.
|
Boolean |
getRequired()
Specifies whether the generic data field is required.
|
int |
hashCode() |
Boolean |
isArray()
Specifies whether the generic data field is an array.
|
Boolean |
isReadOnly()
Specifies whether the generic data field is read-only.
|
Boolean |
isRequired()
Specifies whether the generic data field is required.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDataType(String dataType)
The data type for the generic data field.
|
void |
setDataTypeValue(String dataTypeValue)
The value of the data type for the generic data field.
|
void |
setIsArray(Boolean isArray)
Specifies whether the generic data field is an array.
|
void |
setReadOnly(Boolean readOnly)
Specifies whether the generic data field is read-only.
|
void |
setRelationship(CodegenGenericDataRelationshipType relationship)
The relationship of the generic data schema.
|
void |
setRequired(Boolean required)
Specifies whether the generic data field is required.
|
String |
toString()
Returns a string representation of this object.
|
CodegenGenericDataField |
withDataType(CodegenGenericDataFieldDataType dataType)
The data type for the generic data field.
|
CodegenGenericDataField |
withDataType(String dataType)
The data type for the generic data field.
|
CodegenGenericDataField |
withDataTypeValue(String dataTypeValue)
The value of the data type for the generic data field.
|
CodegenGenericDataField |
withIsArray(Boolean isArray)
Specifies whether the generic data field is an array.
|
CodegenGenericDataField |
withReadOnly(Boolean readOnly)
Specifies whether the generic data field is read-only.
|
CodegenGenericDataField |
withRelationship(CodegenGenericDataRelationshipType relationship)
The relationship of the generic data schema.
|
CodegenGenericDataField |
withRequired(Boolean required)
Specifies whether the generic data field is required.
|
public void setDataType(String dataType)
The data type for the generic data field.
dataType
- The data type for the generic data field.CodegenGenericDataFieldDataType
public String getDataType()
The data type for the generic data field.
CodegenGenericDataFieldDataType
public CodegenGenericDataField withDataType(String dataType)
The data type for the generic data field.
dataType
- The data type for the generic data field.CodegenGenericDataFieldDataType
public CodegenGenericDataField withDataType(CodegenGenericDataFieldDataType dataType)
The data type for the generic data field.
dataType
- The data type for the generic data field.CodegenGenericDataFieldDataType
public void setDataTypeValue(String dataTypeValue)
The value of the data type for the generic data field.
dataTypeValue
- The value of the data type for the generic data field.public String getDataTypeValue()
The value of the data type for the generic data field.
public CodegenGenericDataField withDataTypeValue(String dataTypeValue)
The value of the data type for the generic data field.
dataTypeValue
- The value of the data type for the generic data field.public void setRequired(Boolean required)
Specifies whether the generic data field is required.
required
- Specifies whether the generic data field is required.public Boolean getRequired()
Specifies whether the generic data field is required.
public CodegenGenericDataField withRequired(Boolean required)
Specifies whether the generic data field is required.
required
- Specifies whether the generic data field is required.public Boolean isRequired()
Specifies whether the generic data field is required.
public void setReadOnly(Boolean readOnly)
Specifies whether the generic data field is read-only.
readOnly
- Specifies whether the generic data field is read-only.public Boolean getReadOnly()
Specifies whether the generic data field is read-only.
public CodegenGenericDataField withReadOnly(Boolean readOnly)
Specifies whether the generic data field is read-only.
readOnly
- Specifies whether the generic data field is read-only.public Boolean isReadOnly()
Specifies whether the generic data field is read-only.
public void setIsArray(Boolean isArray)
Specifies whether the generic data field is an array.
isArray
- Specifies whether the generic data field is an array.public Boolean getIsArray()
Specifies whether the generic data field is an array.
public CodegenGenericDataField withIsArray(Boolean isArray)
Specifies whether the generic data field is an array.
isArray
- Specifies whether the generic data field is an array.public Boolean isArray()
Specifies whether the generic data field is an array.
public void setRelationship(CodegenGenericDataRelationshipType relationship)
The relationship of the generic data schema.
relationship
- The relationship of the generic data schema.public CodegenGenericDataRelationshipType getRelationship()
The relationship of the generic data schema.
public CodegenGenericDataField withRelationship(CodegenGenericDataRelationshipType relationship)
The relationship of the generic data schema.
relationship
- The relationship of the generic data schema.public String toString()
toString
in class Object
Object.toString()
public CodegenGenericDataField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.