Interface CreateTenantResponse.Builder

    • Method Detail

      • tenantName

        CreateTenantResponse.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

        CreateTenantResponse.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

        CreateTenantResponse.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

        CreateTenantResponse.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

        CreateTenantResponse.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

        CreateTenantResponse.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

        CreateTenantResponse.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

        CreateTenantResponse.Builder sendingStatus​(String sendingStatus)

        The status of email sending capability for the tenant.

        Parameters:
        sendingStatus - The status of email 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

        CreateTenantResponse.Builder sendingStatus​(SendingStatus sendingStatus)

        The status of email sending capability for the tenant.

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