Interface CheckSubdomainAvailabilityRequest.Builder

  • Method Details

    • subdomainName

      CheckSubdomainAvailabilityRequest.Builder subdomainName(String subdomainName)

      The subdomain to check (for example, mysite or blog.mysite).

      A subdomain can contain one or two labels separated by a period (.). Each label must start and end with a lowercase letter or a number, and can contain only lowercase letters, numbers, and hyphens ( -). The name can be up to 39 characters long, including periods. Labels that start with xn-- aren't supported, and some names are reserved.

      Specify only the subdomain. A web address, such as mysite.amazonlightsail.com, isn't accepted.

      Parameters:
      subdomainName - The subdomain to check (for example, mysite or blog.mysite).

      A subdomain can contain one or two labels separated by a period (.). Each label must start and end with a lowercase letter or a number, and can contain only lowercase letters, numbers, and hyphens (-). The name can be up to 39 characters long, including periods. Labels that start with xn-- aren't supported, and some names are reserved.

      Specify only the subdomain. A web address, such as mysite.amazonlightsail.com, isn't accepted.

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

      Specifies whether to reserve the subdomain for your account if it's available. A reservation holds the subdomain for 15 minutes so that other accounts can't create it. Checking the subdomain again doesn't extend the reservation.

      For a nested subdomain, such as blog.mysite, the top-level subdomain (mysite) is reserved.

      You can have up to 5 active reservations at a time.

      Parameters:
      reserve - Specifies whether to reserve the subdomain for your account if it's available. A reservation holds the subdomain for 15 minutes so that other accounts can't create it. Checking the subdomain again doesn't extend the reservation.

      For a nested subdomain, such as blog.mysite, the top-level subdomain (mysite ) is reserved.

      You can have up to 5 active reservations at a time.

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

      CheckSubdomainAvailabilityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.