Class CfnAsset.EgressEndpointProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnAsset.EgressEndpointProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAsset.EgressEndpointProperty>
- Enclosing interface:
CfnAsset.EgressEndpointProperty
@Stability(Stable)
public static final class CfnAsset.EgressEndpointProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAsset.EgressEndpointProperty>
A builder for
CfnAsset.EgressEndpointProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.packagingConfigurationId
(String packagingConfigurationId) Sets the value ofCfnAsset.EgressEndpointProperty.getPackagingConfigurationId()
Sets the value ofCfnAsset.EgressEndpointProperty.getUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
packagingConfigurationId
@Stability(Stable) public CfnAsset.EgressEndpointProperty.Builder packagingConfigurationId(String packagingConfigurationId) Sets the value ofCfnAsset.EgressEndpointProperty.getPackagingConfigurationId()
- Parameters:
packagingConfigurationId
- The ID of a packaging configuration that's applied to this asset. This parameter is required.- Returns:
this
-
url
Sets the value ofCfnAsset.EgressEndpointProperty.getUrl()
- Parameters:
url
- The URL that's used to request content from this endpoint. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAsset.EgressEndpointProperty>
- Returns:
- a new instance of
CfnAsset.EgressEndpointProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-