@Generated(value="software.amazon.awssdk:codegen") public final class SynthesizeSpeechResponse extends PollyResponse implements ToCopyableBuilder<SynthesizeSpeechResponse.Builder,SynthesizeSpeechResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
SynthesizeSpeechResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static SynthesizeSpeechResponse.Builder |
builder() |
String |
contentType()
Specifies the type audio stream.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
requestCharacters()
Number of characters synthesized.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends SynthesizeSpeechResponse.Builder> |
serializableBuilderClass() |
SynthesizeSpeechResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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
application/x-json-stream.
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 application/x-json-stream.
public final Integer requestCharacters()
Number of characters synthesized.
public SynthesizeSpeechResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SynthesizeSpeechResponse.Builder,SynthesizeSpeechResponse>toBuilder in class AwsResponsepublic static SynthesizeSpeechResponse.Builder builder()
public static Class<? extends SynthesizeSpeechResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.