Interface VpcOriginEndpointConfig.Builder

  • Method Details

    • name

      The name of the CloudFront VPC origin endpoint configuration.

      Parameters:
      name - The name of the CloudFront VPC origin endpoint configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN of the CloudFront VPC origin endpoint configuration.

      Parameters:
      arn - The ARN of the CloudFront VPC origin endpoint configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpPort

      The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is 80.

      Parameters:
      httpPort - The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is 80.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • httpsPort

      The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is 443.

      Parameters:
      httpsPort - The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is 443.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originProtocolPolicy

      VpcOriginEndpointConfig.Builder originProtocolPolicy(String originProtocolPolicy)

      The origin protocol policy for the CloudFront VPC origin endpoint configuration.

      Parameters:
      originProtocolPolicy - The origin protocol policy for the CloudFront VPC origin endpoint configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • originProtocolPolicy

      VpcOriginEndpointConfig.Builder originProtocolPolicy(OriginProtocolPolicy originProtocolPolicy)

      The origin protocol policy for the CloudFront VPC origin endpoint configuration.

      Parameters:
      originProtocolPolicy - The origin protocol policy for the CloudFront VPC origin endpoint configuration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • originSslProtocols

      VpcOriginEndpointConfig.Builder originSslProtocols(OriginSslProtocols originSslProtocols)
      Sets the value of the OriginSslProtocols property for this object.
      Parameters:
      originSslProtocols - The new value for the OriginSslProtocols property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originSslProtocols

      default VpcOriginEndpointConfig.Builder originSslProtocols(Consumer<OriginSslProtocols.Builder> originSslProtocols)
      Sets the value of the OriginSslProtocols property for this object. This is a convenience method that creates an instance of the OriginSslProtocols.Builder avoiding the need to create one manually via OriginSslProtocols.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to originSslProtocols(OriginSslProtocols).

      Parameters:
      originSslProtocols - a consumer that will call methods on OriginSslProtocols.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipAddressType

      VpcOriginEndpointConfig.Builder ipAddressType(String ipAddressType)

      The IP address type of the CloudFront VPC origin endpoint configuration. Valid values are ipv4 and dualstack. IPv6-only is not supported for VPC origins.

      Parameters:
      ipAddressType - The IP address type of the CloudFront VPC origin endpoint configuration. Valid values are ipv4 and dualstack. IPv6-only is not supported for VPC origins.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ipAddressType

      VpcOriginEndpointConfig.Builder ipAddressType(VpcIpAddressType ipAddressType)

      The IP address type of the CloudFront VPC origin endpoint configuration. Valid values are ipv4 and dualstack. IPv6-only is not supported for VPC origins.

      Parameters:
      ipAddressType - The IP address type of the CloudFront VPC origin endpoint configuration. Valid values are ipv4 and dualstack. IPv6-only is not supported for VPC origins.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: