@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ObjectTypeField extends Object implements Serializable, Cloneable, StructuredPojo
Represents a field in a ProfileObjectType.
Constructor and Description |
---|
ObjectTypeField() |
Modifier and Type | Method and Description |
---|---|
ObjectTypeField |
clone() |
boolean |
equals(Object obj) |
String |
getContentType()
The content type of the field.
|
String |
getSource()
A field of a ProfileObject.
|
String |
getTarget()
The location of the data in the standard ProfileObject model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContentType(String contentType)
The content type of the field.
|
void |
setSource(String source)
A field of a ProfileObject.
|
void |
setTarget(String target)
The location of the data in the standard ProfileObject model.
|
String |
toString()
Returns a string representation of this object.
|
ObjectTypeField |
withContentType(FieldContentType contentType)
The content type of the field.
|
ObjectTypeField |
withContentType(String contentType)
The content type of the field.
|
ObjectTypeField |
withSource(String source)
A field of a ProfileObject.
|
ObjectTypeField |
withTarget(String target)
The location of the data in the standard ProfileObject model.
|
public void setSource(String source)
A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.
source
- A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a
Zendesk user and “FirstName” is a field in that ObjectType.public String getSource()
A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.
public ObjectTypeField withSource(String source)
A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a Zendesk user and “FirstName” is a field in that ObjectType.
source
- A field of a ProfileObject. For example: _source.FirstName, where “_source” is a ProfileObjectType of a
Zendesk user and “FirstName” is a field in that ObjectType.public void setTarget(String target)
The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
target
- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.public String getTarget()
The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
public ObjectTypeField withTarget(String target)
The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
target
- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.public void setContentType(String contentType)
The content type of the field. Used for determining equality when searching.
contentType
- The content type of the field. Used for determining equality when searching.FieldContentType
public String getContentType()
The content type of the field. Used for determining equality when searching.
FieldContentType
public ObjectTypeField withContentType(String contentType)
The content type of the field. Used for determining equality when searching.
contentType
- The content type of the field. Used for determining equality when searching.FieldContentType
public ObjectTypeField withContentType(FieldContentType contentType)
The content type of the field. Used for determining equality when searching.
contentType
- The content type of the field. Used for determining equality when searching.FieldContentType
public String toString()
toString
in class Object
Object.toString()
public ObjectTypeField clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.