public class SynthesizeSpeechPresignRequest extends Object implements Serializable
AmazonPollyPresigners.getPresignedSynthesizeSpeechUrl(SynthesizeSpeechPresignRequest).| Constructor and Description |
|---|
SynthesizeSpeechPresignRequest() |
public Date getExpirationDate()
AmazonPollyPresigners.SYNTHESIZE_SPEECH_DEFAULT_EXPIRATION_MINUTES
minutes if not overridden.public void setExpirationDate(Date expirationDate)
AmazonPollyPresigners.SYNTHESIZE_SPEECH_DEFAULT_EXPIRATION_MINUTES
minutes if not overridden.public SynthesizeSpeechPresignRequest withExpirationDate(Date date)
AmazonPollyPresigners.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)
OutputFormatpublic String getOutputFormat()
OutputFormatpublic SynthesizeSpeechPresignRequest withOutputFormat(String outputFormat)
OutputFormatpublic void setOutputFormat(OutputFormat outputFormat)
OutputFormatpublic SynthesizeSpeechPresignRequest withOutputFormat(OutputFormat outputFormat)
OutputFormatpublic void setSampleRate(String sampleRate)
sampleRate - public String getSampleRate()
public SynthesizeSpeechPresignRequest withSampleRate(String sampleRate)
public void setText(String text)
text - public String getText()
public SynthesizeSpeechPresignRequest withText(String text)
public SynthesizeSpeechPresignRequest withTextType(String textType)
TextTypepublic SynthesizeSpeechPresignRequest withTextType(TextType textType)
TextTypepublic SynthesizeSpeechPresignRequest withVoiceId(String voiceId)
VoiceIdpublic SynthesizeSpeechPresignRequest withVoiceId(VoiceId voiceId)
VoiceIdCopyright © 2017. All rights reserved.