Interface AudioSource.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AudioSource.Builder,,AudioSource> SdkBuilder<AudioSource.Builder,,AudioSource> SdkPojo
- Enclosing class:
AudioSource
@Mutable
@NotThreadSafe
public static interface AudioSource.Builder
extends SdkPojo, CopyableBuilder<AudioSource.Builder,AudioSource>
-
Method Summary
Modifier and TypeMethodDescriptionAudio data encoded in base64.default AudioSource.Builders3Location(Consumer<S3Location.Builder> s3Location) A reference to audio data stored in an Amazon S3 bucket.s3Location(S3Location s3Location) A reference to audio data stored in an Amazon S3 bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
bytes
Audio data encoded in base64.
- Parameters:
bytes- Audio data encoded in base64.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
A reference to audio data stored in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.
- Parameters:
s3Location- A reference to audio data stored in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Location
A reference to audio data stored in an Amazon S3 bucket. To see which models support S3 uploads, see Supported models and features for Converse.
This is a convenience method that creates an instance of theS3Location.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Location(S3Location).- Parameters:
s3Location- a consumer that will call methods onS3Location.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-