Class CfnPackagingGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediapackage.CfnPackagingGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPackagingGroupProps>
- Enclosing interface:
CfnPackagingGroupProps
@Stability(Stable)
public static final class CfnPackagingGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPackagingGroupProps>
A builder for
CfnPackagingGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorization(IResolvable authorization) Sets the value ofCfnPackagingGroupProps.getAuthorization()authorization(CfnPackagingGroup.AuthorizationProperty authorization) Sets the value ofCfnPackagingGroupProps.getAuthorization()build()Builds the configured instance.egressAccessLogs(IResolvable egressAccessLogs) Sets the value ofCfnPackagingGroupProps.getEgressAccessLogs()egressAccessLogs(CfnPackagingGroup.LogConfigurationProperty egressAccessLogs) Sets the value ofCfnPackagingGroupProps.getEgressAccessLogs()Sets the value ofCfnPackagingGroupProps.getId()Sets the value ofCfnPackagingGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
id
Sets the value ofCfnPackagingGroupProps.getId()- Parameters:
id- Unique identifier that you assign to the packaging group. This parameter is required.- Returns:
this
-
authorization
Sets the value ofCfnPackagingGroupProps.getAuthorization()- Parameters:
authorization- Parameters for CDN authorization.- Returns:
this
-
authorization
@Stability(Stable) public CfnPackagingGroupProps.Builder authorization(CfnPackagingGroup.AuthorizationProperty authorization) Sets the value ofCfnPackagingGroupProps.getAuthorization()- Parameters:
authorization- Parameters for CDN authorization.- Returns:
this
-
egressAccessLogs
@Stability(Stable) public CfnPackagingGroupProps.Builder egressAccessLogs(IResolvable egressAccessLogs) Sets the value ofCfnPackagingGroupProps.getEgressAccessLogs()- Parameters:
egressAccessLogs- The configuration parameters for egress access logging.- Returns:
this
-
egressAccessLogs
@Stability(Stable) public CfnPackagingGroupProps.Builder egressAccessLogs(CfnPackagingGroup.LogConfigurationProperty egressAccessLogs) Sets the value ofCfnPackagingGroupProps.getEgressAccessLogs()- Parameters:
egressAccessLogs- The configuration parameters for egress access logging.- Returns:
this
-
tags
Sets the value ofCfnPackagingGroupProps.getTags()- Parameters:
tags- The tags to assign to the packaging group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPackagingGroupProps>- Returns:
- a new instance of
CfnPackagingGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-