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