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, 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, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaSentimentDetectionJobProperties.builder()
.When the
Consumer
completes,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:
-