Interface DescribeDominantLanguageDetectionJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ComprehendResponse.Builder,CopyableBuilder<DescribeDominantLanguageDetectionJobResponse.Builder,,DescribeDominantLanguageDetectionJobResponse> SdkBuilder<DescribeDominantLanguageDetectionJobResponse.Builder,,DescribeDominantLanguageDetectionJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDominantLanguageDetectionJobResponse
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaDominantLanguageDetectionJobProperties.builder().When the
Consumercompletes,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:
-