Class DefaultPollyPresigner
- java.lang.Object
-
- software.amazon.awssdk.services.polly.internal.presigner.DefaultPollyPresigner
-
- All Implemented Interfaces:
AutoCloseable,SdkPresigner,PollyPresigner,SdkAutoCloseable
public final class DefaultPollyPresigner extends Object implements PollyPresigner
Default implementation ofPollyPresigner.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultPollyPresigner.BuilderImpl-
Nested classes/interfaces inherited from interface software.amazon.awssdk.services.polly.presigner.PollyPresigner
PollyPresigner.Builder
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PollyPresigner.Builderbuilder()voidclose()PresignedSynthesizeSpeechRequestpresignSynthesizeSpeech(SynthesizeSpeechPresignRequest synthesizeSpeechPresignRequest)Presign aSynthesizeSpeechRequestso that it can be executed at a later time without requiring additional signing or authentication.
-
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable- Specified by:
closein interfaceSdkPresigner
-
builder
public static PollyPresigner.Builder builder()
- Returns:
- the builder for a
PollyPresigner.
-
presignSynthesizeSpeech
public PresignedSynthesizeSpeechRequest presignSynthesizeSpeech(SynthesizeSpeechPresignRequest synthesizeSpeechPresignRequest)
Description copied from interface:PollyPresignerPresign aSynthesizeSpeechRequestso that it can be executed at a later time without requiring additional signing or authentication.- Specified by:
presignSynthesizeSpeechin interfacePollyPresigner- Parameters:
synthesizeSpeechPresignRequest- The presign request.- Returns:
- The presigned request.
-
-