Serializable
public class SynthesizeSpeechPresignRequest extends Object implements Serializable
PollyClientPresigners.getPresignedSynthesizeSpeechUrl(SynthesizeSpeechPresignRequest)
.Constructor | Description |
---|---|
SynthesizeSpeechPresignRequest() |
public Date getExpirationDate()
PollyClientPresigners.SYNTHESIZE_SPEECH_DEFAULT_EXPIRATION_MINUTES
minutes if not overridden.public void setExpirationDate(Date expirationDate)
PollyClientPresigners.SYNTHESIZE_SPEECH_DEFAULT_EXPIRATION_MINUTES
minutes if not overridden.public SynthesizeSpeechPresignRequest withExpirationDate(Date date)
PollyClientPresigners.SYNTHESIZE_SPEECH_DEFAULT_EXPIRATION_MINUTES
minutes if not overridden.public AwsCredentialsProvider getSigningCredentials()
public void setSigningCredentials(AwsCredentialsProvider signingCredentials)
signingCredentials
- Credentials to use in presigning the request. If not provided, client credentials are used.public SynthesizeSpeechPresignRequest withSigningCredentials(AwsCredentialsProvider signingCredentials)
signingCredentials
- Credentials to use in presigning the request. If not provided, client credentials are used.public void setLexiconNames(Collection<String> lexiconNames)
public SynthesizeSpeechPresignRequest withLexiconNames(String... lexiconNames)
NOTE: This method appends the values to the existing list (if any). Use setLexiconNames(java.util.Collection)
or withLexiconNames(java.util.Collection)
if you want to override the
existing values.
public SynthesizeSpeechPresignRequest withLexiconNames(Collection<String> lexiconNames)
public void setOutputFormat(String outputFormat)
OutputFormat
public String getOutputFormat()
OutputFormat
public void setOutputFormat(OutputFormat outputFormat)
OutputFormat
public SynthesizeSpeechPresignRequest withOutputFormat(String outputFormat)
OutputFormat
public SynthesizeSpeechPresignRequest withOutputFormat(OutputFormat outputFormat)
OutputFormat
public String getSampleRate()
public void setSampleRate(String sampleRate)
public SynthesizeSpeechPresignRequest withSampleRate(String sampleRate)
public String getText()
public void setText(String text)
public SynthesizeSpeechPresignRequest withText(String text)
public SynthesizeSpeechPresignRequest withTextType(String textType)
TextType
public SynthesizeSpeechPresignRequest withTextType(TextType textType)
TextType
public SynthesizeSpeechPresignRequest withVoiceId(String voiceId)
VoiceId
public SynthesizeSpeechPresignRequest withVoiceId(VoiceId voiceId)
VoiceId
public List<String> getSpeechMarkTypes()
SpeechMarkType
public void setSpeechMarkTypes(Collection<String> speechMarkTypes)
SpeechMarkType
public SynthesizeSpeechPresignRequest withSpeechMarkTypes(String... speechMarkTypes)
NOTE: This method appends the values to the existing list (if any). Use setSpeechMarkTypes(Collection)
or withSpeechMarkTypes(java.util.Collection)
if you want to override the
existing values.
SpeechMarkType
public SynthesizeSpeechPresignRequest withSpeechMarkTypes(Collection<String> speechMarkTypes)
SpeechMarkType
public SynthesizeSpeechPresignRequest withSpeechMarkTypes(SpeechMarkType... speechMarkTypes)
NOTE: This method appends the values to the existing list (if any). Use setSpeechMarkTypes(Collection)
or withSpeechMarkTypes(java.util.Collection)
if you want to override the
existing values.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.