Class CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudfront.CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty>
- Enclosing interface:
CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty
@Stability(Stable)
public static final class CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty>
A builder for
CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.getArn()build()Builds the configured instance.Sets the value ofCfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.getHttpPort()Sets the value ofCfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.getHttpsPort()Sets the value ofCfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.getName()originProtocolPolicy(String originProtocolPolicy) originSslProtocols(List<String> originSslProtocols)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
@Stability(Stable) public CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.Builder arn(String arn) Sets the value ofCfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.getArn()- Parameters:
arn- The ARN of the CloudFront VPC origin endpoint configuration.- Returns:
this
-
httpPort
@Stability(Stable) public CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.Builder httpPort(Number httpPort) Sets the value ofCfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.getHttpPort()- Parameters:
httpPort- The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is80.- Returns:
this
-
httpsPort
@Stability(Stable) public CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.Builder httpsPort(Number httpsPort) Sets the value ofCfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.getHttpsPort()- Parameters:
httpsPort- The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is443.- Returns:
this
-
name
@Stability(Stable) public CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.Builder name(String name) Sets the value ofCfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.getName()- Parameters:
name- The name of the CloudFront VPC origin endpoint configuration.- Returns:
this
-
originProtocolPolicy
@Stability(Stable) public CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.Builder originProtocolPolicy(String originProtocolPolicy) - Parameters:
originProtocolPolicy- The origin protocol policy for the CloudFront VPC origin endpoint configuration.- Returns:
this
-
originSslProtocols
@Stability(Stable) public CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty.Builder originSslProtocols(List<String> originSslProtocols) - Parameters:
originSslProtocols- Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin over HTTPS. Valid values includeSSLv3,TLSv1,TLSv1.1, andTLSv1.2.For more information, see Minimum Origin SSL Protocol in the Amazon CloudFront Developer Guide .
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty>- Returns:
- a new instance of
CfnVpcOriginPropsMixin.VpcOriginEndpointConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-