Class GetModelTemplateRequest

    • Constructor Detail

      • GetModelTemplateRequest

        public GetModelTemplateRequest()
    • Method Detail

      • setRestApiId

        public void setRestApiId​(String restApiId)

        The ID of the RestApi under which the model exists.

        Parameters:
        restApiId - The ID of the RestApi under which the model exists.
      • getRestApiId

        public String getRestApiId()

        The ID of the RestApi under which the model exists.

        Returns:
        The ID of the RestApi under which the model exists.
      • withRestApiId

        public GetModelTemplateRequest withRestApiId​(String restApiId)

        The ID of the RestApi under which the model exists.

        Parameters:
        restApiId - The ID of the RestApi under which the model exists.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setModelName

        public void setModelName​(String modelName)

        The name of the model for which to generate a template.

        Parameters:
        modelName - The name of the model for which to generate a template.
      • getModelName

        public String getModelName()

        The name of the model for which to generate a template.

        Returns:
        The name of the model for which to generate a template.
      • withModelName

        public GetModelTemplateRequest withModelName​(String modelName)

        The name of the model for which to generate a template.

        Parameters:
        modelName - The name of the model for which to generate a template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object