Interface InputOrigin.Builder

  • Method Details

    • name

      The name of the origin resource.

      Parameters:
      name - The name of the origin resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • regionName

      InputOrigin.Builder regionName(String regionName)

      The AWS Region name of the origin resource.

      Parameters:
      regionName - The AWS Region name of the origin resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • regionName

      InputOrigin.Builder regionName(RegionName regionName)

      The AWS Region name of the origin resource.

      Parameters:
      regionName - The AWS Region name of the origin resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocolPolicy

      InputOrigin.Builder protocolPolicy(String protocolPolicy)

      The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

      Parameters:
      protocolPolicy - The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocolPolicy

      InputOrigin.Builder protocolPolicy(OriginProtocolPolicyEnum protocolPolicy)

      The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.

      Parameters:
      protocolPolicy - The protocol that your Amazon Lightsail distribution uses when establishing a connection with your origin to pull content.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • responseTimeout

      InputOrigin.Builder responseTimeout(Integer responseTimeout)

      The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.

      Parameters:
      responseTimeout - The amount of time, in seconds, that the distribution waits for a response after forwarding a request to the origin. The minimum timeout is 1 second, the maximum is 60 seconds, and the default (if you don't specify otherwise) is 30 seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ipAddressType

      InputOrigin.Builder ipAddressType(String ipAddressType)

      The IP address type that the distribution uses when connecting to the origin.

      The possible values are ipv4 for IPv4 only, ipv6 for IPv6 only, and dualstack for IPv4 and IPv6.

      Parameters:
      ipAddressType - The IP address type that the distribution uses when connecting to the origin.

      The possible values are ipv4 for IPv4 only, ipv6 for IPv6 only, and dualstack for IPv4 and IPv6.

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

      InputOrigin.Builder ipAddressType(OriginIpAddressTypeEnum ipAddressType)

      The IP address type that the distribution uses when connecting to the origin.

      The possible values are ipv4 for IPv4 only, ipv6 for IPv6 only, and dualstack for IPv4 and IPv6.

      Parameters:
      ipAddressType - The IP address type that the distribution uses when connecting to the origin.

      The possible values are ipv4 for IPv4 only, ipv6 for IPv6 only, and dualstack for IPv4 and IPv6.

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