Interface InputOrigin.Builder

    • Method Detail

      • name

        InputOrigin.Builder name​(String 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, RegionName
      • 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:
        RegionName, RegionName
      • 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:
        OriginProtocolPolicyEnum, OriginProtocolPolicyEnum
      • 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:
        OriginProtocolPolicyEnum, OriginProtocolPolicyEnum
      • 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.