Interface SentimentConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SentimentConfiguration.Builder,SentimentConfiguration>,SdkBuilder<SentimentConfiguration.Builder,SentimentConfiguration>,SdkPojo
- Enclosing class:
- SentimentConfiguration
public static interface SentimentConfiguration.Builder extends SdkPojo, CopyableBuilder<SentimentConfiguration.Builder,SentimentConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SentimentConfiguration.BuilderruleName(String ruleName)The name of the rule in the sentiment configuration.SentimentConfiguration.BuildersentimentType(String sentimentType)The type of sentiment,POSITIVE,NEGATIVE, orNEUTRAL.SentimentConfiguration.BuildersentimentType(SentimentType sentimentType)The type of sentiment,POSITIVE,NEGATIVE, orNEUTRAL.SentimentConfiguration.BuildertimePeriod(Integer timePeriod)Specifies the analysis interval.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
ruleName
SentimentConfiguration.Builder ruleName(String 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
SentimentConfiguration.Builder sentimentType(String 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,SentimentType
-
sentimentType
SentimentConfiguration.Builder sentimentType(SentimentType 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,SentimentType
-
timePeriod
SentimentConfiguration.Builder timePeriod(Integer 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.
-
-