Class ArchiveOutputGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.ArchiveOutputGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ArchiveOutputGroupProps>
- Enclosing interface:
ArchiveOutputGroupProps
@Stability(Experimental)
public static final class ArchiveOutputGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<ArchiveOutputGroupProps>
A builder for
ArchiveOutputGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionarchiveS3CannedAcl(S3CannedAcl archiveS3CannedAcl) Sets the value ofArchiveOutputGroupProps.getArchiveS3CannedAcl()build()Builds the configured instance.destinations(List<? extends S3OutputDestination> destinations) Sets the value ofArchiveOutputGroupProps.getDestinations()Sets the value ofArchiveOutputGroupProps.getName()outputs(List<? extends ArchiveOutputDefinition> outputs) Sets the value ofArchiveOutputGroupProps.getOutputs()rolloverInterval(Duration rolloverInterval) Sets the value ofArchiveOutputGroupProps.getRolloverInterval()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destinations
@Stability(Experimental) public ArchiveOutputGroupProps.Builder destinations(List<? extends S3OutputDestination> destinations) Sets the value ofArchiveOutputGroupProps.getDestinations()- Parameters:
destinations- The destinations for this output group — one per pipeline. This parameter is required. Array position determines the pipeline mapping:destinations[0]→ Pipeline 0destinations[1]→ Pipeline 1 (STANDARD channels only)
For a SINGLE_PIPELINE channel, provide exactly 1 destination. For a STANDARD channel, provide exactly 2 destinations.
- Returns:
this
-
name
Sets the value ofArchiveOutputGroupProps.getName()- Parameters:
name- The name of this output group. This parameter is required. Used as the destination reference ID. Underscores are normalised to hyphens internally.- Returns:
this
-
archiveS3CannedAcl
@Stability(Experimental) public ArchiveOutputGroupProps.Builder archiveS3CannedAcl(S3CannedAcl archiveS3CannedAcl) Sets the value ofArchiveOutputGroupProps.getArchiveS3CannedAcl()- Parameters:
archiveS3CannedAcl- The S3 canned ACL to apply to each archive output.- Returns:
this
-
outputs
@Stability(Experimental) public ArchiveOutputGroupProps.Builder outputs(List<? extends ArchiveOutputDefinition> outputs) Sets the value ofArchiveOutputGroupProps.getOutputs()- Parameters:
outputs- The outputs for this Archive output group.- Returns:
this
-
rolloverInterval
@Stability(Experimental) public ArchiveOutputGroupProps.Builder rolloverInterval(Duration rolloverInterval) Sets the value ofArchiveOutputGroupProps.getRolloverInterval()- Parameters:
rolloverInterval- The duration of each archive file (rollover interval).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ArchiveOutputGroupProps>- Returns:
- a new instance of
ArchiveOutputGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-