Serializablepublic 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)
OutputFormatpublic String getOutputFormat()
OutputFormatpublic void setOutputFormat(OutputFormat outputFormat)
OutputFormatpublic SynthesizeSpeechPresignRequest withOutputFormat(String outputFormat)
OutputFormatpublic SynthesizeSpeechPresignRequest withOutputFormat(OutputFormat outputFormat)
OutputFormatpublic 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)
TextTypepublic SynthesizeSpeechPresignRequest withTextType(TextType textType)
TextTypepublic SynthesizeSpeechPresignRequest withVoiceId(String voiceId)
VoiceIdpublic SynthesizeSpeechPresignRequest withVoiceId(VoiceId voiceId)
VoiceIdpublic List<String> getSpeechMarkTypes()
SpeechMarkTypepublic void setSpeechMarkTypes(Collection<String> speechMarkTypes)
SpeechMarkTypepublic 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.
SpeechMarkTypepublic SynthesizeSpeechPresignRequest withSpeechMarkTypes(Collection<String> speechMarkTypes)
SpeechMarkTypepublic 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.