Interface Recording.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Recording.Builder,,Recording> SdkBuilder<Recording.Builder,,Recording> SdkPojo
- Enclosing class:
Recording
@Mutable
@NotThreadSafe
public static interface Recording.Builder
extends SdkPojo, CopyableBuilder<Recording.Builder,Recording>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Recording.Builderdata(Consumer<RecordingData.Builder> data) The audio source of the recording.data(RecordingData data) The audio source of the recording.The audio format of the recording:wav,flac,ogg_vorbis, ormp3.format(AudioFormat format) The audio format of the recording:wav,flac,ogg_vorbis, ormp3.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
-
format
The audio format of the recording:
wav,flac,ogg_vorbis, ormp3. The format must match the audio data.- Parameters:
format- The audio format of the recording:wav,flac,ogg_vorbis, ormp3. The format must match the audio data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
The audio format of the recording:
wav,flac,ogg_vorbis, ormp3. The format must match the audio data.- Parameters:
format- The audio format of the recording:wav,flac,ogg_vorbis, ormp3. The format must match the audio data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
data
The audio source of the recording. Specify either an Amazon S3 object or the audio data.
- Parameters:
data- The audio source of the recording. Specify either an Amazon S3 object or the audio data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The audio source of the recording. Specify either an Amazon S3 object or the audio data.
This is a convenience method that creates an instance of theRecordingData.Builderavoiding the need to create one manually viaRecordingData.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todata(RecordingData).- Parameters:
data- a consumer that will call methods onRecordingData.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-