ToCopyableBuilder<SynthesizeSpeechResponse.Builder,SynthesizeSpeechResponse>
@Generated("software.amazon.awssdk:codegen") public class SynthesizeSpeechResponse extends AmazonWebServiceResult<ResponseMetadata> implements ToCopyableBuilder<SynthesizeSpeechResponse.Builder,SynthesizeSpeechResponse>
Modifier and Type | Class | Description |
---|---|---|
static interface |
SynthesizeSpeechResponse.Builder |
Modifier and Type | Method | Description |
---|---|---|
static SynthesizeSpeechResponse.Builder |
builder() |
|
String |
contentType() |
Specifies the type audio stream.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
Integer |
requestCharacters() |
Number of characters synthesized.
|
static Class<? extends SynthesizeSpeechResponse.Builder> |
serializableBuilderClass() |
|
SynthesizeSpeechResponse.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
setSdkHttpMetadata, setSdkResponseMetadata
public String contentType()
Specifies the type audio stream. This should reflect the OutputFormat
parameter in your request.
If you request mp3
as the OutputFormat
, the ContentType
returned is
audio/mpeg.
If you request ogg_vorbis
as the OutputFormat
, the ContentType
returned is
audio/ogg.
If you request pcm
as the OutputFormat
, the ContentType
returned is
audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.
If you request json
as the OutputFormat
, the ContentType
returned is
audio/json.
OutputFormat
parameter in your
request.
If you request mp3
as the OutputFormat
, the ContentType
returned
is audio/mpeg.
If you request ogg_vorbis
as the OutputFormat
, the ContentType
returned is audio/ogg.
If you request pcm
as the OutputFormat
, the ContentType
returned
is audio/pcm in a signed 16-bit, 1 channel (mono), little-endian format.
If you request json
as the OutputFormat
, the ContentType
returned
is audio/json.
public Integer requestCharacters()
Number of characters synthesized.
public SynthesizeSpeechResponse.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SynthesizeSpeechResponse.Builder,SynthesizeSpeechResponse>
public static SynthesizeSpeechResponse.Builder builder()
public static Class<? extends SynthesizeSpeechResponse.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.