Class CfnOriginEndpointPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackagev2.CfnOriginEndpointPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnOriginEndpointPolicy>
- Enclosing class:
CfnOriginEndpointPolicy
@Stability(Stable)
public static final class CfnOriginEndpointPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnOriginEndpointPolicy>
A fluent builder for
CfnOriginEndpointPolicy
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
channelGroupName
(String channelGroupName) The name of the channel group associated with the origin endpoint policy.channelName
(String channelName) The channel name associated with the origin endpoint policy.originEndpointName
(String originEndpointName) The name of the origin endpoint associated with the origin endpoint policy.The policy associated with the origin endpoint.
-
Method Details
-
create
@Stability(Stable) public static CfnOriginEndpointPolicy.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnOriginEndpointPolicy.Builder
.
-
channelGroupName
The name of the channel group associated with the origin endpoint policy.- Parameters:
channelGroupName
- The name of the channel group associated with the origin endpoint policy. This parameter is required.- Returns:
this
- See Also:
-
channelName
The channel name associated with the origin endpoint policy.- Parameters:
channelName
- The channel name associated with the origin endpoint policy. This parameter is required.- Returns:
this
- See Also:
-
originEndpointName
@Stability(Stable) public CfnOriginEndpointPolicy.Builder originEndpointName(String originEndpointName) The name of the origin endpoint associated with the origin endpoint policy.- Parameters:
originEndpointName
- The name of the origin endpoint associated with the origin endpoint policy. This parameter is required.- Returns:
this
- See Also:
-
policy
The policy associated with the origin endpoint.- Parameters:
policy
- The policy associated with the origin endpoint. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnOriginEndpointPolicy>
- Returns:
- a newly built instance of
CfnOriginEndpointPolicy
.
-