Interface ListTenantsResponse.Builder

  • Method Details

    • tenants

      An array that contains basic information about each tenant.

      Parameters:
      tenants - An array that contains basic information about each tenant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tenants

      An array that contains basic information about each tenant.

      Parameters:
      tenants - An array that contains basic information about each tenant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tenants

      An array that contains basic information about each tenant.

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

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

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

      ListTenantsResponse.Builder nextToken(String nextToken)

      A token that indicates that there are additional tenants to list. To view additional tenants, issue another request to ListTenants, and pass this token in the NextToken parameter.

      Parameters:
      nextToken - A token that indicates that there are additional tenants to list. To view additional tenants, issue another request to ListTenants, and pass this token in the NextToken parameter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.