Interface Origin.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Origin.Builder,Origin>, SdkBuilder<Origin.Builder,Origin>, SdkPojo
Enclosing class:
Origin

@Mutable @NotThreadSafe public static interface Origin.Builder extends SdkPojo, CopyableBuilder<Origin.Builder,Origin>
  • Method Details

    • 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

      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:
    • 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

      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:
    • 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:
    • 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:
    • responseTimeout

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

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

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