Class CfnVpcOriginMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnVpcOriginMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcOriginMixinProps>
- Enclosing interface:
CfnVpcOriginMixinProps
@Stability(Stable)
public static final class CfnVpcOriginMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcOriginMixinProps>
A builder for
CfnVpcOriginMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnVpcOriginMixinProps.getTags()vpcOriginEndpointConfig(CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty vpcOriginEndpointConfig) Sets the value ofCfnVpcOriginMixinProps.getVpcOriginEndpointConfig()vpcOriginEndpointConfig(IResolvable vpcOriginEndpointConfig) Sets the value ofCfnVpcOriginMixinProps.getVpcOriginEndpointConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tags
Sets the value ofCfnVpcOriginMixinProps.getTags()- Parameters:
tags- A complex type that contains zero or moreTagelements.- Returns:
this
-
vpcOriginEndpointConfig
@Stability(Stable) public CfnVpcOriginMixinProps.Builder vpcOriginEndpointConfig(IResolvable vpcOriginEndpointConfig) Sets the value ofCfnVpcOriginMixinProps.getVpcOriginEndpointConfig()- Parameters:
vpcOriginEndpointConfig- The VPC origin endpoint configuration.- Returns:
this
-
vpcOriginEndpointConfig
@Stability(Stable) public CfnVpcOriginMixinProps.Builder vpcOriginEndpointConfig(CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty vpcOriginEndpointConfig) Sets the value ofCfnVpcOriginMixinProps.getVpcOriginEndpointConfig()- Parameters:
vpcOriginEndpointConfig- The VPC origin endpoint configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcOriginMixinProps>- Returns:
- a new instance of
CfnVpcOriginMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-