Interface CreateTenantRequest.Builder

    • Method Detail

      • tenantName

        CreateTenantRequest.Builder tenantName​(String tenantName)

        The name of the tenant to create. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only.

        Parameters:
        tenantName - The name of the tenant to create. The name can contain up to 64 alphanumeric characters, including letters, numbers, hyphens (-) and underscores (_) only.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

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

        An array of objects that define the tags (keys and values) to associate with the tenant

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

        CreateTenantRequest.Builder tags​(Tag... tags)

        An array of objects that define the tags (keys and values) to associate with the tenant

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

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

        An array of objects that define the tags (keys and values) to associate 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)