@Generated(value="software.amazon.awssdk:codegen") public final class ObjectTypeField extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ObjectTypeField.Builder,ObjectTypeField>
Represents a field in a ProfileObjectType.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ObjectTypeField.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ObjectTypeField.Builder |
builder() |
FieldContentType |
contentType()
The content type of the field.
|
String |
contentTypeAsString()
The content type of the field.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ObjectTypeField.Builder> |
serializableBuilderClass() |
String |
source()
A field of a ProfileObject.
|
String |
target()
The location of the data in the standard ProfileObject model.
|
ObjectTypeField.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final String target()
The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
public final FieldContentType contentType()
The content type of the field. Used for determining equality when searching.
If the service returns an enum value that is not available in the current SDK version, contentType will
return FieldContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
contentTypeAsString().
FieldContentTypepublic final String contentTypeAsString()
The content type of the field. Used for determining equality when searching.
If the service returns an enum value that is not available in the current SDK version, contentType will
return FieldContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
contentTypeAsString().
FieldContentTypepublic ObjectTypeField.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ObjectTypeField.Builder,ObjectTypeField>public static ObjectTypeField.Builder builder()
public static Class<? extends ObjectTypeField.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.