Class OriginEndpointAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.alpha.OriginEndpointAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<OriginEndpointAttributes>
- Enclosing interface:
OriginEndpointAttributes
@Stability(Experimental)
public static final class OriginEndpointAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<OriginEndpointAttributes>
A builder for
OriginEndpointAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelGroupName(String channelGroupName) Sets the value ofOriginEndpointAttributes.getChannelGroupName()channelName(String channelName) Sets the value ofOriginEndpointAttributes.getChannelName()originEndpointName(String originEndpointName) Sets the value ofOriginEndpointAttributes.getOriginEndpointName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelGroupName
@Stability(Experimental) public OriginEndpointAttributes.Builder channelGroupName(String channelGroupName) Sets the value ofOriginEndpointAttributes.getChannelGroupName()- Parameters:
channelGroupName- The name that describes the channel group. This parameter is required. The name is the primary identifier for the channel group.- Returns:
this
-
channelName
Sets the value ofOriginEndpointAttributes.getChannelName()- Parameters:
channelName- The name that describes the channel. This parameter is required. The name is the primary identifier for the channel.- Returns:
this
-
originEndpointName
@Stability(Experimental) public OriginEndpointAttributes.Builder originEndpointName(String originEndpointName) Sets the value ofOriginEndpointAttributes.getOriginEndpointName()- Parameters:
originEndpointName- The name that describes the origin endpoint. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OriginEndpointAttributes>- Returns:
- a new instance of
OriginEndpointAttributes - Throws:
NullPointerException- if any required attribute was not provided
-