Interface DescribeDominantLanguageDetectionJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ComprehendResponse.Builder
,CopyableBuilder<DescribeDominantLanguageDetectionJobResponse.Builder,
,DescribeDominantLanguageDetectionJobResponse> SdkBuilder<DescribeDominantLanguageDetectionJobResponse.Builder,
,DescribeDominantLanguageDetectionJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeDominantLanguageDetectionJobResponse
@Mutable
@NotThreadSafe
public static interface DescribeDominantLanguageDetectionJobResponse.Builder
extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<DescribeDominantLanguageDetectionJobResponse.Builder,DescribeDominantLanguageDetectionJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondominantLanguageDetectionJobProperties
(Consumer<DominantLanguageDetectionJobProperties.Builder> dominantLanguageDetectionJobProperties) An object that contains the properties associated with a dominant language detection job.dominantLanguageDetectionJobProperties
(DominantLanguageDetectionJobProperties dominantLanguageDetectionJobProperties) An object that contains the properties associated with a dominant language detection job.Methods inherited from interface software.amazon.awssdk.services.comprehend.model.ComprehendResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dominantLanguageDetectionJobProperties
DescribeDominantLanguageDetectionJobResponse.Builder dominantLanguageDetectionJobProperties(DominantLanguageDetectionJobProperties dominantLanguageDetectionJobProperties) An object that contains the properties associated with a dominant language detection job.
- Parameters:
dominantLanguageDetectionJobProperties
- An object that contains the properties associated with a dominant language detection job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dominantLanguageDetectionJobProperties
default DescribeDominantLanguageDetectionJobResponse.Builder dominantLanguageDetectionJobProperties(Consumer<DominantLanguageDetectionJobProperties.Builder> dominantLanguageDetectionJobProperties) An object that contains the properties associated with a dominant language detection job.
This is a convenience method that creates an instance of theDominantLanguageDetectionJobProperties.Builder
avoiding the need to create one manually viaDominantLanguageDetectionJobProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todominantLanguageDetectionJobProperties(DominantLanguageDetectionJobProperties)
.- Parameters:
dominantLanguageDetectionJobProperties
- a consumer that will call methods onDominantLanguageDetectionJobProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-