Interface GetClipRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetClipRequest.Builder,GetClipRequest>,KinesisVideoArchivedMediaRequest.Builder,SdkBuilder<GetClipRequest.Builder,GetClipRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- GetClipRequest
public static interface GetClipRequest.Builder extends KinesisVideoArchivedMediaRequest.Builder, SdkPojo, CopyableBuilder<GetClipRequest.Builder,GetClipRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetClipRequest.BuilderclipFragmentSelector(Consumer<ClipFragmentSelector.Builder> clipFragmentSelector)The time range of the requested clip and the source of the timestamps.GetClipRequest.BuilderclipFragmentSelector(ClipFragmentSelector clipFragmentSelector)The time range of the requested clip and the source of the timestamps.GetClipRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)GetClipRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)GetClipRequest.BuilderstreamARN(String streamARN)The Amazon Resource Name (ARN) of the stream for which to retrieve the media clip.GetClipRequest.BuilderstreamName(String streamName)The name of the stream for which to retrieve the media clip.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.kinesisvideoarchivedmedia.model.KinesisVideoArchivedMediaRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
streamName
GetClipRequest.Builder streamName(String streamName)
The name of the stream for which to retrieve the media clip.
You must specify either the StreamName or the StreamARN.
- Parameters:
streamName- The name of the stream for which to retrieve the media clip.You must specify either the StreamName or the StreamARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamARN
GetClipRequest.Builder streamARN(String streamARN)
The Amazon Resource Name (ARN) of the stream for which to retrieve the media clip.
You must specify either the StreamName or the StreamARN.
- Parameters:
streamARN- The Amazon Resource Name (ARN) of the stream for which to retrieve the media clip.You must specify either the StreamName or the StreamARN.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clipFragmentSelector
GetClipRequest.Builder clipFragmentSelector(ClipFragmentSelector clipFragmentSelector)
The time range of the requested clip and the source of the timestamps.
- Parameters:
clipFragmentSelector- The time range of the requested clip and the source of the timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clipFragmentSelector
default GetClipRequest.Builder clipFragmentSelector(Consumer<ClipFragmentSelector.Builder> clipFragmentSelector)
The time range of the requested clip and the source of the timestamps.
This is a convenience method that creates an instance of theClipFragmentSelector.Builderavoiding the need to create one manually viaClipFragmentSelector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toclipFragmentSelector(ClipFragmentSelector).- Parameters:
clipFragmentSelector- a consumer that will call methods onClipFragmentSelector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
clipFragmentSelector(ClipFragmentSelector)
-
overrideConfiguration
GetClipRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
GetClipRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-