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)
public String getOutputFormat()
public SynthesizeSpeechPresignRequest withOutputFormat(String outputFormat)
public void setOutputFormat(OutputFormat outputFormat)
public SynthesizeSpeechPresignRequest withOutputFormat(OutputFormat outputFormat)
public void setSampleRate(String sampleRate)
public String getSampleRate()
SynthesizeSpeechRequest.getSampleRate()
public SynthesizeSpeechPresignRequest withSampleRate(String sampleRate)
public void setText(String text)
SynthesizeSpeechRequest.setText(String)
public String getText()
SynthesizeSpeechRequest.getText()
public SynthesizeSpeechPresignRequest withText(String text)
SynthesizeSpeechRequest.withText(String)
public void setTextType(String textType)
public String getTextType()
SynthesizeSpeechRequest.getTextType()
public SynthesizeSpeechPresignRequest withTextType(String textType)
public void setTextType(TextType textType)
public SynthesizeSpeechPresignRequest withTextType(TextType textType)
public void setVoiceId(String voiceId)
public String getVoiceId()
SynthesizeSpeechRequest.getVoiceId()
public SynthesizeSpeechPresignRequest withVoiceId(String voiceId)
public void setVoiceId(VoiceId voiceId)
public SynthesizeSpeechPresignRequest withVoiceId(VoiceId voiceId)
public void setSpeechMarkTypes(Collection<String> speechMarkTypes)
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.
public SynthesizeSpeechPresignRequest withSpeechMarkTypes(Collection<String> speechMarkTypes)
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.
public String getLanguageCode()
public void setLanguageCode(String languageCode)
public SynthesizeSpeechPresignRequest withLanguageCode(String languageCode)
public String getEngine()
SynthesizeSpeechRequest.getEngine()
public void setEngine(String engine)
public SynthesizeSpeechPresignRequest withEngine(String engine)