Interface LightsailDistributionSubdomain.Builder

  • Method Details

    • name

      The subdomain (for example, mysite), not its web address.

      Parameters:
      name - The subdomain (for example, mysite), not its web address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The state of the subdomain for the distribution.

      The following states are possible:

      • Creating – The subdomain is being created.

      • Attaching – The subdomain is being associated with the distribution.

      • Attached – The subdomain is associated with the distribution.

      • Error – The subdomain couldn't be created or associated with the distribution. For more information, see the errorCode and errorDetails parameters.

      Parameters:
      state - The state of the subdomain for the distribution.

      The following states are possible:

      • Creating – The subdomain is being created.

      • Attaching – The subdomain is being associated with the distribution.

      • Attached – The subdomain is associated with the distribution.

      • Error – The subdomain couldn't be created or associated with the distribution. For more information, see the errorCode and errorDetails parameters.

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

      The state of the subdomain for the distribution.

      The following states are possible:

      • Creating – The subdomain is being created.

      • Attaching – The subdomain is being associated with the distribution.

      • Attached – The subdomain is associated with the distribution.

      • Error – The subdomain couldn't be created or associated with the distribution. For more information, see the errorCode and errorDetails parameters.

      Parameters:
      state - The state of the subdomain for the distribution.

      The following states are possible:

      • Creating – The subdomain is being created.

      • Attaching – The subdomain is being associated with the distribution.

      • Attached – The subdomain is associated with the distribution.

      • Error – The subdomain couldn't be created or associated with the distribution. For more information, see the errorCode and errorDetails parameters.

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

      The error code that describes why the subdomain is in the Error state.

      Parameters:
      errorCode - The error code that describes why the subdomain is in the Error state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorDetails

      LightsailDistributionSubdomain.Builder errorDetails(String errorDetails)

      The details of the error that caused the subdomain to be in the Error state.

      Parameters:
      errorDetails - The details of the error that caused the subdomain to be in the Error state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.