Class PromptMetadata.Builder
java.lang.Object
com.ibm.watson.text_to_speech.v1.model.PromptMetadata.Builder
- Enclosing class:
- PromptMetadata
public static class PromptMetadata.Builder extends Object
Builder.
- 
Constructor Summary
- 
Method SummaryModifier and Type Method Description PromptMetadatabuild()Builds a PromptMetadata.PromptMetadata.BuilderpromptText(String promptText)Set the promptText.PromptMetadata.BuilderspeakerId(String speakerId)Set the speakerId.
- 
Constructor Details- 
Builderpublic Builder()Instantiates a new builder.
- 
BuilderInstantiates a new builder with required properties.- Parameters:
- promptText- the promptText
 
 
- 
- 
Method Details- 
buildBuilds a PromptMetadata.- Returns:
- the new PromptMetadata instance
 
- 
promptTextSet the promptText.- Parameters:
- promptText- the promptText
- Returns:
- the PromptMetadata builder
 
- 
speakerIdSet the speakerId.- Parameters:
- speakerId- the speakerId
- Returns:
- the PromptMetadata builder
 
 
-