Interface GetSegmentMembershipResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetSegmentMembershipResponse.Builder,,GetSegmentMembershipResponse> CustomerProfilesResponse.Builder,SdkBuilder<GetSegmentMembershipResponse.Builder,,GetSegmentMembershipResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetSegmentMembershipResponse
-
Method Summary
Modifier and TypeMethodDescriptionfailures(Collection<ProfileQueryFailures> failures) An array of maps where each contains a response per profile failed for the request.failures(Consumer<ProfileQueryFailures.Builder>... failures) An array of maps where each contains a response per profile failed for the request.failures(ProfileQueryFailures... failures) An array of maps where each contains a response per profile failed for the request.profiles(Collection<ProfileQueryResult> profiles) An array of maps where each contains a response per profile requested.profiles(Consumer<ProfileQueryResult.Builder>... profiles) An array of maps where each contains a response per profile requested.profiles(ProfileQueryResult... profiles) An array of maps where each contains a response per profile requested.segmentDefinitionName(String segmentDefinitionName) The unique name of the segment definition.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.customerprofiles.model.CustomerProfilesResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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 toprofiles(List<ProfileQueryResult>).- 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:
-
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
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
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 tofailures(List<ProfileQueryFailures>).- 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:
-