Interface ProfileQueryResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProfileQueryResult.Builder,
,ProfileQueryResult> SdkBuilder<ProfileQueryResult.Builder,
,ProfileQueryResult> SdkPojo
- Enclosing class:
ProfileQueryResult
@Mutable
@NotThreadSafe
public static interface ProfileQueryResult.Builder
extends SdkPojo, CopyableBuilder<ProfileQueryResult.Builder,ProfileQueryResult>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ProfileQueryResult.Builder
profile
(Consumer<Profile.Builder> profile) Sets the value of the Profile property for this object.Sets the value of the Profile property for this object.The profile id the result belongs to.queryResult
(String queryResult) Describes whether the profile was absent or present in the segment.queryResult
(QueryResult queryResult) Describes whether the profile was absent or present in the segment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
profileId
The profile id the result belongs to.
- Parameters:
profileId
- The profile id the result belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryResult
Describes whether the profile was absent or present in the segment.
- Parameters:
queryResult
- Describes whether the profile was absent or present in the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queryResult
Describes whether the profile was absent or present in the segment.
- Parameters:
queryResult
- Describes whether the profile was absent or present in the segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
profile
Sets the value of the Profile property for this object.- Parameters:
profile
- The new value for the Profile property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profile
Sets the value of the Profile property for this object. This is a convenience method that creates an instance of theProfile.Builder
avoiding the need to create one manually viaProfile.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprofile(Profile)
.- Parameters:
profile
- a consumer that will call methods onProfile.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-