Class ProfileQueryResult
- java.lang.Object
-
- software.amazon.awssdk.services.customerprofiles.model.ProfileQueryResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ProfileQueryResult.Builder,ProfileQueryResult>
@Generated("software.amazon.awssdk:codegen") public final class ProfileQueryResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProfileQueryResult.Builder,ProfileQueryResult>
Object that holds the results for membership.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceProfileQueryResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProfileQueryResult.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Profileprofile()Returns the value of the Profile property for this object.StringprofileId()The profile id the result belongs to.QueryResultqueryResult()Describes whether the profile was absent or present in the segment.StringqueryResultAsString()Describes whether the profile was absent or present in the segment.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ProfileQueryResult.Builder>serializableBuilderClass()ProfileQueryResult.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
-
profileId
public final String profileId()
The profile id the result belongs to.
- Returns:
- The profile id the result belongs to.
-
queryResult
public final QueryResult queryResult()
Describes whether the profile was absent or present in the segment.
If the service returns an enum value that is not available in the current SDK version,
queryResultwill returnQueryResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryResultAsString().- Returns:
- Describes whether the profile was absent or present in the segment.
- See Also:
QueryResult
-
queryResultAsString
public final String queryResultAsString()
Describes whether the profile was absent or present in the segment.
If the service returns an enum value that is not available in the current SDK version,
queryResultwill returnQueryResult.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromqueryResultAsString().- Returns:
- Describes whether the profile was absent or present in the segment.
- See Also:
QueryResult
-
profile
public final Profile profile()
Returns the value of the Profile property for this object.- Returns:
- The value of the Profile property for this object.
-
toBuilder
public ProfileQueryResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ProfileQueryResult.Builder,ProfileQueryResult>
-
builder
public static ProfileQueryResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProfileQueryResult.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-