Interface Tenant.Builder

    • Method Detail

      • tenantName

        Tenant.Builder tenantName​(String tenantName)

        The name of the tenant.

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

        Tenant.Builder tenantId​(String tenantId)

        A unique identifier for the tenant.

        Parameters:
        tenantId - A unique identifier for the tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tenantArn

        Tenant.Builder tenantArn​(String tenantArn)

        The Amazon Resource Name (ARN) of the tenant.

        Parameters:
        tenantArn - The Amazon Resource Name (ARN) of the tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        Tenant.Builder createdTimestamp​(Instant createdTimestamp)

        The date and time when the tenant was created.

        Parameters:
        createdTimestamp - The date and time when the tenant was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Tenant.Builder tags​(Collection<Tag> tags)

        An array of objects that define the tags (keys and values) associated with the tenant.

        Parameters:
        tags - An array of objects that define the tags (keys and values) associated with the tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Tenant.Builder tags​(Tag... tags)

        An array of objects that define the tags (keys and values) associated with the tenant.

        Parameters:
        tags - An array of objects that define the tags (keys and values) associated with the tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        An array of objects that define the tags (keys and values) associated with the tenant.

        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)
      • sendingStatus

        Tenant.Builder sendingStatus​(String sendingStatus)

        The status of sending capability for the tenant.

        Parameters:
        sendingStatus - The status of sending capability for the tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SendingStatus, SendingStatus
      • sendingStatus

        Tenant.Builder sendingStatus​(SendingStatus sendingStatus)

        The status of sending capability for the tenant.

        Parameters:
        sendingStatus - The status of sending capability for the tenant.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SendingStatus, SendingStatus