Class CategoryEvent.BuilderImpl
- java.lang.Object
-
- software.amazon.awssdk.services.transcribestreaming.model.CategoryEvent.BuilderImpl
-
- All Implemented Interfaces:
SdkPojo,CategoryEvent.Builder,Buildable,CopyableBuilder<CategoryEvent.Builder,CategoryEvent>,SdkBuilder<CategoryEvent.Builder,CategoryEvent>
- Enclosing class:
- CategoryEvent
protected static class CategoryEvent.BuilderImpl extends Object implements CategoryEvent.Builder
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBuilderImpl()protectedBuilderImpl(CategoryEvent model)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CategoryEventbuild()Collection<String>getMatchedCategories()Map<String,PointsOfInterest.Builder>getMatchedDetails()CategoryEvent.BuildermatchedCategories(String... matchedCategories)Lists the categories that were matched in your audio segment.CategoryEvent.BuildermatchedCategories(Collection<String> matchedCategories)Lists the categories that were matched in your audio segment.CategoryEvent.BuildermatchedDetails(Map<String,PointsOfInterest> matchedDetails)Contains information about the matched categories, including category names and timestamps.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()voidsetMatchedCategories(Collection<String> matchedCategories)voidsetMatchedDetails(Map<String,software.amazon.awssdk.services.transcribestreaming.model.PointsOfInterest.BuilderImpl> matchedDetails)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
-
-
-
-
Constructor Detail
-
BuilderImpl
protected BuilderImpl()
-
BuilderImpl
protected BuilderImpl(CategoryEvent model)
-
-
Method Detail
-
getMatchedCategories
public final Collection<String> getMatchedCategories()
-
setMatchedCategories
public final void setMatchedCategories(Collection<String> matchedCategories)
-
matchedCategories
public final CategoryEvent.Builder matchedCategories(Collection<String> matchedCategories)
Description copied from interface:CategoryEvent.BuilderLists the categories that were matched in your audio segment.
- Specified by:
matchedCategoriesin interfaceCategoryEvent.Builder- Parameters:
matchedCategories- Lists the categories that were matched in your audio segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matchedCategories
@SafeVarargs public final CategoryEvent.Builder matchedCategories(String... matchedCategories)
Description copied from interface:CategoryEvent.BuilderLists the categories that were matched in your audio segment.
- Specified by:
matchedCategoriesin interfaceCategoryEvent.Builder- Parameters:
matchedCategories- Lists the categories that were matched in your audio segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getMatchedDetails
public final Map<String,PointsOfInterest.Builder> getMatchedDetails()
-
setMatchedDetails
public final void setMatchedDetails(Map<String,software.amazon.awssdk.services.transcribestreaming.model.PointsOfInterest.BuilderImpl> matchedDetails)
-
matchedDetails
public final CategoryEvent.Builder matchedDetails(Map<String,PointsOfInterest> matchedDetails)
Description copied from interface:CategoryEvent.BuilderContains information about the matched categories, including category names and timestamps.
- Specified by:
matchedDetailsin interfaceCategoryEvent.Builder- Parameters:
matchedDetails- Contains information about the matched categories, including category names and timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
build
public CategoryEvent build()
- Specified by:
buildin interfaceBuildable- Specified by:
buildin interfaceSdkBuilder<CategoryEvent.Builder,CategoryEvent>
-
sdkFieldNameToField
public Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-