Class GetAudioOptions.Builder
java.lang.Object
com.ibm.watson.speech_to_text.v1.model.GetAudioOptions.Builder
- Enclosing class:
- GetAudioOptions
public static class GetAudioOptions.Builder extends Object
Builder.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description GetAudioOptions.Builder
audioName(String audioName)
Set the audioName.GetAudioOptions
build()
Builds a GetAudioOptions.GetAudioOptions.Builder
customizationId(String customizationId)
Set the customizationId.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
customizationId
- the customizationIdaudioName
- the audioName
-
-
Method Details
-
build
Builds a GetAudioOptions.- Returns:
- the new GetAudioOptions instance
-
customizationId
Set the customizationId.- Parameters:
customizationId
- the customizationId- Returns:
- the GetAudioOptions builder
-
audioName
Set the audioName.- Parameters:
audioName
- the audioName- Returns:
- the GetAudioOptions builder
-