Class ObjectTypeField
- java.lang.Object
-
- software.amazon.awssdk.services.customerprofiles.model.ObjectTypeField
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ObjectTypeField.Builder,ObjectTypeField>
@Generated("software.amazon.awssdk:codegen") public final class ObjectTypeField extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ObjectTypeField.Builder,ObjectTypeField>
Represents a field in a ProfileObjectType.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceObjectTypeField.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectTypeField.Builderbuilder()FieldContentTypecontentType()The content type of the field.StringcontentTypeAsString()The content type of the field.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ObjectTypeField.Builder>serializableBuilderClass()Stringsource()A field of a ProfileObject.Stringtarget()The location of the data in the standard ProfileObject model.ObjectTypeField.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
source
public 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.
- Returns:
- 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.
-
target
public final String target()
The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
- Returns:
- The location of the data in the standard ProfileObject model. For example: _profile.Address.PostalCode.
-
contentType
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,
contentTypewill returnFieldContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentTypeAsString().- Returns:
- The content type of the field. Used for determining equality when searching.
- See Also:
FieldContentType
-
contentTypeAsString
public 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,
contentTypewill returnFieldContentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcontentTypeAsString().- Returns:
- The content type of the field. Used for determining equality when searching.
- See Also:
FieldContentType
-
toBuilder
public ObjectTypeField.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ObjectTypeField.Builder,ObjectTypeField>
-
builder
public static ObjectTypeField.Builder builder()
-
serializableBuilderClass
public static Class<? extends ObjectTypeField.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-