Interface Origin.Builder

    • Method Detail

      • name

        Origin.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.
      • resourceType

        Origin.Builder resourceType​(String resourceType)

        The resource type of the origin resource (Instance).

        Parameters:
        resourceType - The resource type of the origin resource (Instance).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • resourceType

        Origin.Builder resourceType​(ResourceType resourceType)

        The resource type of the origin resource (Instance).

        Parameters:
        resourceType - The resource type of the origin resource (Instance).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • regionName

        Origin.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

        Origin.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

        Origin.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

        Origin.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