Interface Domain.Builder

    • Method Detail

      • name

        Domain.Builder name​(String name)

        The name of the domain.

        Parameters:
        name - The name of the domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • arn

        Domain.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the domain recordset ( arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).

        Parameters:
        arn - The Amazon Resource Name (ARN) of the domain recordset ( arn:aws:lightsail:global:123456789101:Domain/824cede0-abc7-4f84-8dbc-12345EXAMPLE).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • supportCode

        Domain.Builder supportCode​(String supportCode)

        The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.

        Parameters:
        supportCode - The support code. Include this code in your email to support when you have questions about an instance or another resource in Lightsail. This code enables our support team to look up your Lightsail information more easily.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdAt

        Domain.Builder createdAt​(Instant createdAt)

        The date when the domain recordset was created.

        Parameters:
        createdAt - The date when the domain recordset was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • location

        Domain.Builder location​(ResourceLocation location)

        The AWS Region and Availability Zones where the domain recordset was created.

        Parameters:
        location - The AWS Region and Availability Zones where the domain recordset was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceType

        Domain.Builder resourceType​(String resourceType)

        The resource type.

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

        Domain.Builder resourceType​(ResourceType resourceType)

        The resource type.

        Parameters:
        resourceType - The resource type.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ResourceType, ResourceType
      • tags

        Domain.Builder tags​(Tag... tags)

        The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

        Parameters:
        tags - The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Domain.Builder tags​(Consumer<Tag.Builder>... tags)

        The tag keys and optional values for the resource. For more information about tags in Lightsail, see the Amazon Lightsail Developer Guide.

        This is a convenience method that creates an instance of the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)
      • domainEntries

        Domain.Builder domainEntries​(Collection<DomainEntry> domainEntries)

        An array of key-value pairs containing information about the domain entries.

        Parameters:
        domainEntries - An array of key-value pairs containing information about the domain entries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainEntries

        Domain.Builder domainEntries​(DomainEntry... domainEntries)

        An array of key-value pairs containing information about the domain entries.

        Parameters:
        domainEntries - An array of key-value pairs containing information about the domain entries.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • domainEntries

        Domain.Builder domainEntries​(Consumer<DomainEntry.Builder>... domainEntries)

        An array of key-value pairs containing information about the domain entries.

        This is a convenience method that creates an instance of the DomainEntry.Builder avoiding the need to create one manually via DomainEntry.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #domainEntries(List).

        Parameters:
        domainEntries - a consumer that will call methods on DomainEntry.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #domainEntries(java.util.Collection)
      • registeredDomainDelegationInfo

        Domain.Builder registeredDomainDelegationInfo​(RegisteredDomainDelegationInfo registeredDomainDelegationInfo)

        An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.

        Parameters:
        registeredDomainDelegationInfo - An object that describes the state of the Route 53 domain delegation to a Lightsail DNS zone.
        Returns:
        Returns a reference to this object so that method calls can be chained together.