Class SentimentConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.chimesdkmediapipelines.model.SentimentConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SentimentConfiguration.Builder,SentimentConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class SentimentConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SentimentConfiguration.Builder,SentimentConfiguration>
A structure that contains the configuration settings for a sentiment analysis task.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSentimentConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SentimentConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringruleName()The name of the rule in the sentiment configuration.List<SdkField<?>>sdkFields()SentimentTypesentimentType()The type of sentiment,POSITIVE,NEGATIVE, orNEUTRAL.StringsentimentTypeAsString()The type of sentiment,POSITIVE,NEGATIVE, orNEUTRAL.static Class<? extends SentimentConfiguration.Builder>serializableBuilderClass()IntegertimePeriod()Specifies the analysis interval.SentimentConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
ruleName
public final String ruleName()
The name of the rule in the sentiment configuration.
- Returns:
- The name of the rule in the sentiment configuration.
-
sentimentType
public final SentimentType sentimentType()
The type of sentiment,
POSITIVE,NEGATIVE, orNEUTRAL.If the service returns an enum value that is not available in the current SDK version,
sentimentTypewill returnSentimentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsentimentTypeAsString().- Returns:
- The type of sentiment,
POSITIVE,NEGATIVE, orNEUTRAL. - See Also:
SentimentType
-
sentimentTypeAsString
public final String sentimentTypeAsString()
The type of sentiment,
POSITIVE,NEGATIVE, orNEUTRAL.If the service returns an enum value that is not available in the current SDK version,
sentimentTypewill returnSentimentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsentimentTypeAsString().- Returns:
- The type of sentiment,
POSITIVE,NEGATIVE, orNEUTRAL. - See Also:
SentimentType
-
timePeriod
public final Integer timePeriod()
Specifies the analysis interval.
- Returns:
- Specifies the analysis interval.
-
toBuilder
public SentimentConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SentimentConfiguration.Builder,SentimentConfiguration>
-
builder
public static SentimentConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends SentimentConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-