Interface VpcOriginConfig.Builder

  • Method Details

    • vpcOriginId

      VpcOriginConfig.Builder vpcOriginId(String vpcOriginId)

      The VPC origin ID.

      Parameters:
      vpcOriginId - The VPC origin ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originReadTimeout

      VpcOriginConfig.Builder originReadTimeout(Integer originReadTimeout)

      Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.

      For more information, see Response timeout (custom origins only) in the Amazon CloudFront Developer Guide.

      Parameters:
      originReadTimeout - Specifies how long, in seconds, CloudFront waits for a response from the origin. This is also known as the origin response timeout. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 30 seconds.

      For more information, see Response timeout (custom origins only) in the Amazon CloudFront Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • originKeepaliveTimeout

      VpcOriginConfig.Builder originKeepaliveTimeout(Integer originKeepaliveTimeout)

      Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 5 seconds.

      For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide.

      Parameters:
      originKeepaliveTimeout - Specifies how long, in seconds, CloudFront persists its connection to the origin. The minimum timeout is 1 second, the maximum is 120 seconds, and the default (if you don't specify otherwise) is 5 seconds.

      For more information, see Keep-alive timeout (custom origins only) in the Amazon CloudFront Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.