Class DefaultPollyPresigner
java.lang.Object
software.amazon.awssdk.services.polly.internal.presigner.DefaultPollyPresigner
- All Implemented Interfaces:
AutoCloseable,SdkPresigner,PollyPresigner,SdkAutoCloseable
Default implementation of
PollyPresigner.-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface software.amazon.awssdk.services.polly.presigner.PollyPresigner
PollyPresigner.Builder -
Method Summary
Modifier and TypeMethodDescriptionstatic PollyPresigner.Builderbuilder()voidclose()Close this presigner, releasing any resources it might have acquired.presignSynthesizeSpeech(SynthesizeSpeechPresignRequest synthesizeSpeechPresignRequest) Presign aSynthesizeSpeechRequestso that it can be executed at a later time without requiring additional signing or authentication.
-
Method Details
-
close
public void close()Description copied from interface:SdkPresignerClose this presigner, releasing any resources it might have acquired. It is recommended to invoke this method whenever the presigner is done being used, to prevent resource leaks. For example, someAwsCredentialsProviderimplementations hold resources that could be released by this method.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSdkAutoCloseable- Specified by:
closein interfaceSdkPresigner
-
builder
-
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.
-