Interface GetResourcesRequest.Builder

    • Method Detail

      • restApiId

        GetResourcesRequest.Builder restApiId​(String restApiId)

        The string identifier of the associated RestApi.

        Parameters:
        restApiId - The string identifier of the associated RestApi.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • position

        GetResourcesRequest.Builder position​(String position)

        The current pagination position in the paged result set.

        Parameters:
        position - The current pagination position in the paged result set.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • limit

        GetResourcesRequest.Builder limit​(Integer limit)

        The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

        Parameters:
        limit - The maximum number of returned results per page. The default value is 25 and the maximum value is 500.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • embed

        GetResourcesRequest.Builder embed​(Collection<String> embed)

        A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the "methods" string. For example, GET /restapis/{restapi_id}/resources?embed=methods.

        Parameters:
        embed - A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the "methods" string. For example, GET /restapis/{restapi_id}/resources?embed=methods.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • embed

        GetResourcesRequest.Builder embed​(String... embed)

        A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the "methods" string. For example, GET /restapis/{restapi_id}/resources?embed=methods.

        Parameters:
        embed - A query parameter used to retrieve the specified resources embedded in the returned Resources resource in the response. This embed parameter value is a list of comma-separated strings. Currently, the request supports only retrieval of the embedded Method resources this way. The query parameter value must be a single-valued list and contain the "methods" string. For example, GET /restapis/{restapi_id}/resources?embed=methods.
        Returns:
        Returns a reference to this object so that method calls can be chained together.