Interface SentimentConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SentimentConfiguration.Builder,,SentimentConfiguration> SdkBuilder<SentimentConfiguration.Builder,,SentimentConfiguration> SdkPojo
- Enclosing class:
SentimentConfiguration
@Mutable
@NotThreadSafe
public static interface SentimentConfiguration.Builder
extends SdkPojo, CopyableBuilder<SentimentConfiguration.Builder,SentimentConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the rule in the sentiment configuration.sentimentType(String sentimentType) The type of sentiment,POSITIVE,NEGATIVE, orNEUTRAL.sentimentType(SentimentType sentimentType) The type of sentiment,POSITIVE,NEGATIVE, orNEUTRAL.timePeriod(Integer timePeriod) Specifies the analysis interval.Methods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
ruleName
The name of the rule in the sentiment configuration.
- Parameters:
ruleName- The name of the rule in the sentiment configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sentimentType
The type of sentiment,
POSITIVE,NEGATIVE, orNEUTRAL.- Parameters:
sentimentType- The type of sentiment,POSITIVE,NEGATIVE, orNEUTRAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sentimentType
The type of sentiment,
POSITIVE,NEGATIVE, orNEUTRAL.- Parameters:
sentimentType- The type of sentiment,POSITIVE,NEGATIVE, orNEUTRAL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timePeriod
Specifies the analysis interval.
- Parameters:
timePeriod- Specifies the analysis interval.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-