Interface GetDomainUnitResponse.Builder

  • Method Details

    • createdAt

      GetDomainUnitResponse.Builder createdAt(Instant createdAt)

      The time stamp at which the domain unit was created.

      Parameters:
      createdAt - The time stamp at which the domain unit was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      GetDomainUnitResponse.Builder createdBy(String createdBy)

      The user who created the domain unit.

      Parameters:
      createdBy - The user who created the domain unit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      GetDomainUnitResponse.Builder description(String description)

      The description of the domain unit.

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

      The ID of the domain in which the domain unit lives.

      Parameters:
      domainId - The ID of the domain in which the domain unit lives.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • id

      The ID of the domain unit.

      Parameters:
      id - The ID of the domain unit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetDomainUnitResponse.Builder lastUpdatedAt(Instant lastUpdatedAt)

      The timestamp at which the domain unit was last updated.

      Parameters:
      lastUpdatedAt - The timestamp at which the domain unit was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedBy

      GetDomainUnitResponse.Builder lastUpdatedBy(String lastUpdatedBy)

      The user who last updated the domain unit.

      Parameters:
      lastUpdatedBy - The user who last updated the domain unit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The name of the domain unit.

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

      The owners of the domain unit.

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

      The owners of the domain unit.

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

      The owners of the domain unit.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to owners(List<DomainUnitOwnerProperties>).

      Parameters:
      owners - a consumer that will call methods on DomainUnitOwnerProperties.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • parentDomainUnitId

      GetDomainUnitResponse.Builder parentDomainUnitId(String parentDomainUnitId)

      The ID of the parent domain unit.

      Parameters:
      parentDomainUnitId - The ID of the parent domain unit.
      Returns:
      Returns a reference to this object so that method calls can be chained together.