Class CfnChannel.AdditionalDestinationsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannel.AdditionalDestinationsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannel.AdditionalDestinationsProperty>
- Enclosing interface:
CfnChannel.AdditionalDestinationsProperty
@Stability(Stable)
public static final class CfnChannel.AdditionalDestinationsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannel.AdditionalDestinationsProperty>
A builder for
CfnChannel.AdditionalDestinationsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.destination(IResolvable destination) Sets the value ofCfnChannel.AdditionalDestinationsProperty.getDestination()destination(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.AdditionalDestinationsProperty.getDestination()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
destination
@Stability(Stable) public CfnChannel.AdditionalDestinationsProperty.Builder destination(IResolvable destination) Sets the value ofCfnChannel.AdditionalDestinationsProperty.getDestination()- Parameters:
destination- the value to be set.- Returns:
this
-
destination
@Stability(Stable) public CfnChannel.AdditionalDestinationsProperty.Builder destination(CfnChannel.OutputLocationRefProperty destination) Sets the value ofCfnChannel.AdditionalDestinationsProperty.getDestination()- Parameters:
destination- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannel.AdditionalDestinationsProperty>- Returns:
- a new instance of
CfnChannel.AdditionalDestinationsProperty - Throws:
NullPointerException- if any required attribute was not provided
-