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
Modifier and TypeMethodDescriptiondefault MssPackage.Builderencryption(Consumer<MssEncryption.Builder> encryption) Sets the value of the Encryption property for this object.encryption(MssEncryption encryption) Sets the value of the Encryption property for this object.mssManifests(Collection<MssManifest> mssManifests) A list of MSS manifest configurations.mssManifests(Consumer<MssManifest.Builder>... mssManifests) A list of MSS manifest configurations.mssManifests(MssManifest... mssManifests) A list of MSS manifest configurations.segmentDurationSeconds(Integer segmentDurationSeconds) The duration (in seconds) of each segment.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, sdkFields
-
Method Details
-
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
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:
-
mssManifests
A list of MSS manifest configurations.- Parameters:
mssManifests- A list of MSS manifest configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mssManifests
A list of MSS manifest configurations.- Parameters:
mssManifests- A list of MSS manifest configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mssManifests
A list of MSS manifest configurations. This is a convenience method that creates an instance of theMssManifest.Builderavoiding the need to create one manually viaMssManifest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomssManifests(List<MssManifest>).- Parameters:
mssManifests- a consumer that will call methods onMssManifest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-