Class ListLanguageModelsRequest

    • Method Detail

      • statusEquals

        public final ModelStatus statusEquals()

        Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include StatusEquals, all custom language models are returned.

        If the service returns an enum value that is not available in the current SDK version, statusEquals will return ModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusEqualsAsString().

        Returns:
        Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include StatusEquals, all custom language models are returned.
        See Also:
        ModelStatus
      • statusEqualsAsString

        public final String statusEqualsAsString()

        Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include StatusEquals, all custom language models are returned.

        If the service returns an enum value that is not available in the current SDK version, statusEquals will return ModelStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusEqualsAsString().

        Returns:
        Returns only custom language models with the specified status. Language models are ordered by creation date, with the newest model first. If you do not include StatusEquals, all custom language models are returned.
        See Also:
        ModelStatus
      • nameContains

        public final String nameContains()

        Returns only the custom language models that contain the specified string. The search is not case sensitive.

        Returns:
        Returns only the custom language models that contain the specified string. The search is not case sensitive.
      • nextToken

        public final String nextToken()

        If your ListLanguageModels request returns more results than can be displayed, NextToken is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, including NextToken with the value of the copied string. Repeat as needed to view all your results.

        Returns:
        If your ListLanguageModels request returns more results than can be displayed, NextToken is displayed in the response with an associated string. To get the next page of results, copy this string and repeat your request, including NextToken with the value of the copied string. Repeat as needed to view all your results.
      • maxResults

        public final Integer maxResults()

        The maximum number of custom language models to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.

        Returns:
        The maximum number of custom language models to return in each page of results. If there are fewer results than the value that you specify, only the actual results are returned. If you do not specify a value, a default of 5 is used.
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object