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