Interface BatchGetIntentForProfileResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetIntentForProfileResponse.Builder,,BatchGetIntentForProfileResponse> CustomerProfilesResponse.Builder,SdkBuilder<BatchGetIntentForProfileResponse.Builder,,BatchGetIntentForProfileResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchGetIntentForProfileResponse
-
Method Summary
Modifier and TypeMethodDescriptionerrors(Collection<IntentError> errors) A list of errors for the requested intent types that couldn't be generated.errors(Consumer<IntentError.Builder>... errors) A list of errors for the requested intent types that couldn't be generated.errors(IntentError... errors) A list of errors for the requested intent types that couldn't be generated.intents(Collection<IntentResult> intents) A list of the intents that were generated.intents(Consumer<IntentResult.Builder>... intents) A list of the intents that were generated.intents(IntentResult... intents) A list of the intents that were generated.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
-
intents
A list of the intents that were generated. The list is empty if no intent could be generated.
- Parameters:
intents- A list of the intents that were generated. The list is empty if no intent could be generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
A list of the intents that were generated. The list is empty if no intent could be generated.
- Parameters:
intents- A list of the intents that were generated. The list is empty if no intent could be generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
A list of the intents that were generated. The list is empty if no intent could be generated.
This is a convenience method that creates an instance of theIntentResult.Builderavoiding the need to create one manually viaIntentResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tointents(List<IntentResult>).- Parameters:
intents- a consumer that will call methods onIntentResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
A list of errors for the requested intent types that couldn't be generated. The list is empty if every requested intent was generated.
- Parameters:
errors- A list of errors for the requested intent types that couldn't be generated. The list is empty if every requested intent was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors for the requested intent types that couldn't be generated. The list is empty if every requested intent was generated.
- Parameters:
errors- A list of errors for the requested intent types that couldn't be generated. The list is empty if every requested intent was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
A list of errors for the requested intent types that couldn't be generated. The list is empty if every requested intent was generated.
This is a convenience method that creates an instance of theIntentError.Builderavoiding the need to create one manually viaIntentError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerrors(List<IntentError>).- Parameters:
errors- a consumer that will call methods onIntentError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-