Interface DomainInfo.Builder

    • Method Detail

      • name

        DomainInfo.Builder name​(String name)

        The name of the domain. This name is unique within the account.

        Parameters:
        name - The name of the domain. This name is unique within the account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        DomainInfo.Builder status​(String status)

        The status of the domain:

        • REGISTERED – The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.

        • DEPRECATED – The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.

        Parameters:
        status - The status of the domain:

        • REGISTERED – The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.

        • DEPRECATED – The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.

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

        DomainInfo.Builder status​(RegistrationStatus status)

        The status of the domain:

        • REGISTERED – The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.

        • DEPRECATED – The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.

        Parameters:
        status - The status of the domain:

        • REGISTERED – The domain is properly registered and available. You can use this domain for registering types and creating new workflow executions.

        • DEPRECATED – The domain was deprecated using DeprecateDomain, but is still in use. You should not create new workflow executions in this domain.

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

        DomainInfo.Builder description​(String description)

        The description of the domain provided through RegisterDomain.

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

        DomainInfo.Builder arn​(String arn)

        The ARN of the domain.

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