Interface DescribeSentimentDetectionJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ComprehendResponse.Builder,CopyableBuilder<DescribeSentimentDetectionJobResponse.Builder,,DescribeSentimentDetectionJobResponse> SdkBuilder<DescribeSentimentDetectionJobResponse.Builder,,DescribeSentimentDetectionJobResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeSentimentDetectionJobResponse
public static interface DescribeSentimentDetectionJobResponse.Builder
extends ComprehendResponse.Builder, SdkPojo, CopyableBuilder<DescribeSentimentDetectionJobResponse.Builder,DescribeSentimentDetectionJobResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsentimentDetectionJobProperties(Consumer<SentimentDetectionJobProperties.Builder> sentimentDetectionJobProperties) An object that contains the properties associated with a sentiment detection job.sentimentDetectionJobProperties(SentimentDetectionJobProperties sentimentDetectionJobProperties) An object that contains the properties associated with a sentiment 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
-
sentimentDetectionJobProperties
DescribeSentimentDetectionJobResponse.Builder sentimentDetectionJobProperties(SentimentDetectionJobProperties sentimentDetectionJobProperties) An object that contains the properties associated with a sentiment detection job.
- Parameters:
sentimentDetectionJobProperties- An object that contains the properties associated with a sentiment detection job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sentimentDetectionJobProperties
default DescribeSentimentDetectionJobResponse.Builder sentimentDetectionJobProperties(Consumer<SentimentDetectionJobProperties.Builder> sentimentDetectionJobProperties) An object that contains the properties associated with a sentiment detection job.
This is a convenience method that creates an instance of theSentimentDetectionJobProperties.Builderavoiding the need to create one manually viaSentimentDetectionJobProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosentimentDetectionJobProperties(SentimentDetectionJobProperties).- Parameters:
sentimentDetectionJobProperties- a consumer that will call methods onSentimentDetectionJobProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-