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 class
DefaultPollyPresigner.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.Builder
builder()
void
close()
PresignedSynthesizeSpeechRequest
presignSynthesizeSpeech(SynthesizeSpeechPresignRequest synthesizeSpeechPresignRequest)
Presign aSynthesizeSpeechRequest
so that it can be executed at a later time without requiring additional signing or authentication.
-
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSdkAutoCloseable
- Specified by:
close
in interfaceSdkPresigner
-
builder
public static PollyPresigner.Builder builder()
- Returns:
- the builder for a
PollyPresigner
.
-
presignSynthesizeSpeech
public PresignedSynthesizeSpeechRequest presignSynthesizeSpeech(SynthesizeSpeechPresignRequest synthesizeSpeechPresignRequest)
Description copied from interface:PollyPresigner
Presign aSynthesizeSpeechRequest
so that it can be executed at a later time without requiring additional signing or authentication.- Specified by:
presignSynthesizeSpeech
in interfacePollyPresigner
- Parameters:
synthesizeSpeechPresignRequest
- The presign request.- Returns:
- The presigned request.
-
-