Interface ListActivityTypesRequest.Builder

    • Method Detail

      • domain

        ListActivityTypesRequest.Builder domain​(String domain)

        The name of the domain in which the activity types have been registered.

        Parameters:
        domain - The name of the domain in which the activity types have been registered.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        ListActivityTypesRequest.Builder name​(String name)

        If specified, only lists the activity types that have this name.

        Parameters:
        name - If specified, only lists the activity types that have this name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • registrationStatus

        ListActivityTypesRequest.Builder registrationStatus​(String registrationStatus)

        Specifies the registration status of the activity types to list.

        Parameters:
        registrationStatus - Specifies the registration status of the activity types to list.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RegistrationStatus, RegistrationStatus
      • nextPageToken

        ListActivityTypesRequest.Builder nextPageToken​(String nextPageToken)

        If NextPageToken is returned there are more results available. The value of NextPageToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a 400 error: " Specified token has exceeded its maximum lifetime".

        The configured maximumPageSize determines how many results can be returned in a single call.

        Parameters:
        nextPageToken - If NextPageToken is returned there are more results available. The value of NextPageToken is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a 400 error: " Specified token has exceeded its maximum lifetime".

        The configured maximumPageSize determines how many results can be returned in a single call.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maximumPageSize

        ListActivityTypesRequest.Builder maximumPageSize​(Integer maximumPageSize)

        The maximum number of results that are returned per call. Use nextPageToken to obtain further pages of results.

        Parameters:
        maximumPageSize - The maximum number of results that are returned per call. Use nextPageToken to obtain further pages of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reverseOrder

        ListActivityTypesRequest.Builder reverseOrder​(Boolean reverseOrder)

        When set to true, returns the results in reverse order. By default, the results are returned in ascending alphabetical order by name of the activity types.

        Parameters:
        reverseOrder - When set to true, returns the results in reverse order. By default, the results are returned in ascending alphabetical order by name of the activity types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.