Interface MssPackage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MssPackage.Builder,MssPackage>,SdkBuilder<MssPackage.Builder,MssPackage>,SdkPojo
- Enclosing class:
- MssPackage
public static interface MssPackage.Builder extends SdkPojo, CopyableBuilder<MssPackage.Builder,MssPackage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MssPackage.Builderencryption(Consumer<MssEncryption.Builder> encryption)Sets the value of the Encryption property for this object.MssPackage.Builderencryption(MssEncryption encryption)Sets the value of the Encryption property for this object.MssPackage.BuildermanifestWindowSeconds(Integer manifestWindowSeconds)The time window (in seconds) contained in each manifest.MssPackage.BuildersegmentDurationSeconds(Integer segmentDurationSeconds)The duration (in seconds) of each segment.default MssPackage.BuilderstreamSelection(Consumer<StreamSelection.Builder> streamSelection)Sets the value of the StreamSelection property for this object.MssPackage.BuilderstreamSelection(StreamSelection streamSelection)Sets the value of the StreamSelection property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
encryption
MssPackage.Builder encryption(MssEncryption encryption)
Sets the value of the Encryption property for this object.- Parameters:
encryption- The new value for the Encryption property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryption
default MssPackage.Builder encryption(Consumer<MssEncryption.Builder> encryption)
Sets the value of the Encryption property for this object. This is a convenience method that creates an instance of theMssEncryption.Builderavoiding the need to create one manually viaMssEncryption.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryption(MssEncryption).- Parameters:
encryption- a consumer that will call methods onMssEncryption.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
encryption(MssEncryption)
-
manifestWindowSeconds
MssPackage.Builder manifestWindowSeconds(Integer manifestWindowSeconds)
The time window (in seconds) contained in each manifest.- Parameters:
manifestWindowSeconds- The time window (in seconds) contained in each manifest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segmentDurationSeconds
MssPackage.Builder segmentDurationSeconds(Integer segmentDurationSeconds)
The duration (in seconds) of each segment.- Parameters:
segmentDurationSeconds- The duration (in seconds) of each segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSelection
MssPackage.Builder streamSelection(StreamSelection streamSelection)
Sets the value of the StreamSelection property for this object.- Parameters:
streamSelection- The new value for the StreamSelection property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamSelection
default MssPackage.Builder streamSelection(Consumer<StreamSelection.Builder> streamSelection)
Sets the value of the StreamSelection property for this object. This is a convenience method that creates an instance of theStreamSelection.Builderavoiding the need to create one manually viaStreamSelection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostreamSelection(StreamSelection).- Parameters:
streamSelection- a consumer that will call methods onStreamSelection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
streamSelection(StreamSelection)
-
-