Interface GetSegmentMembershipResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSegmentMembershipResponse.Builder,GetSegmentMembershipResponse>,CustomerProfilesResponse.Builder,SdkBuilder<GetSegmentMembershipResponse.Builder,GetSegmentMembershipResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetSegmentMembershipResponse
public static interface GetSegmentMembershipResponse.Builder extends CustomerProfilesResponse.Builder, SdkPojo, CopyableBuilder<GetSegmentMembershipResponse.Builder,GetSegmentMembershipResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetSegmentMembershipResponse.Builderfailures(Collection<ProfileQueryFailures> failures)An array of maps where each contains a response per profile failed for the request.GetSegmentMembershipResponse.Builderfailures(Consumer<ProfileQueryFailures.Builder>... failures)An array of maps where each contains a response per profile failed for the request.GetSegmentMembershipResponse.Builderfailures(ProfileQueryFailures... failures)An array of maps where each contains a response per profile failed for the request.GetSegmentMembershipResponse.Builderprofiles(Collection<ProfileQueryResult> profiles)An array of maps where each contains a response per profile requested.GetSegmentMembershipResponse.Builderprofiles(Consumer<ProfileQueryResult.Builder>... profiles)An array of maps where each contains a response per profile requested.GetSegmentMembershipResponse.Builderprofiles(ProfileQueryResult... profiles)An array of maps where each contains a response per profile requested.GetSegmentMembershipResponse.BuildersegmentDefinitionName(String segmentDefinitionName)The unique name of the segment definition.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
segmentDefinitionName
GetSegmentMembershipResponse.Builder segmentDefinitionName(String segmentDefinitionName)
The unique name of the segment definition.
- Parameters:
segmentDefinitionName- The unique name of the segment definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
GetSegmentMembershipResponse.Builder profiles(Collection<ProfileQueryResult> profiles)
An array of maps where each contains a response per profile requested.
- Parameters:
profiles- An array of maps where each contains a response per profile requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
GetSegmentMembershipResponse.Builder profiles(ProfileQueryResult... profiles)
An array of maps where each contains a response per profile requested.
- Parameters:
profiles- An array of maps where each contains a response per profile requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profiles
GetSegmentMembershipResponse.Builder profiles(Consumer<ProfileQueryResult.Builder>... profiles)
An array of maps where each contains a response per profile requested.
This is a convenience method that creates an instance of theProfileQueryResult.Builderavoiding the need to create one manually viaProfileQueryResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#profiles(List.) - Parameters:
profiles- a consumer that will call methods onProfileQueryResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#profiles(java.util.Collection)
-
failures
GetSegmentMembershipResponse.Builder failures(Collection<ProfileQueryFailures> failures)
An array of maps where each contains a response per profile failed for the request.
- Parameters:
failures- An array of maps where each contains a response per profile failed for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
GetSegmentMembershipResponse.Builder failures(ProfileQueryFailures... failures)
An array of maps where each contains a response per profile failed for the request.
- Parameters:
failures- An array of maps where each contains a response per profile failed for the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failures
GetSegmentMembershipResponse.Builder failures(Consumer<ProfileQueryFailures.Builder>... failures)
An array of maps where each contains a response per profile failed for the request.
This is a convenience method that creates an instance of theProfileQueryFailures.Builderavoiding the need to create one manually viaProfileQueryFailures.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failures(List.) - Parameters:
failures- a consumer that will call methods onProfileQueryFailures.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#failures(java.util.Collection)
-
-