Class GetModelRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.apigateway.model.GetModelRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class GetModelRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Request to list information about a model in an existing RestApi resource.

See Also:
  • Constructor Details

    • GetModelRequest

      public GetModelRequest()
  • Method Details

    • setRestApiId

      public void setRestApiId(String restApiId)

      The RestApi identifier under which the Model exists.

      Parameters:
      restApiId - The RestApi identifier under which the Model exists.
    • getRestApiId

      public String getRestApiId()

      The RestApi identifier under which the Model exists.

      Returns:
      The RestApi identifier under which the Model exists.
    • withRestApiId

      public GetModelRequest withRestApiId(String restApiId)

      The RestApi identifier under which the Model exists.

      Parameters:
      restApiId - The RestApi identifier 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 as an identifier.

      Parameters:
      modelName - The name of the model as an identifier.
    • getModelName

      public String getModelName()

      The name of the model as an identifier.

      Returns:
      The name of the model as an identifier.
    • withModelName

      public GetModelRequest withModelName(String modelName)

      The name of the model as an identifier.

      Parameters:
      modelName - The name of the model as an identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setFlatten

      public void setFlatten(Boolean flatten)

      Resolves all external model references and returns a flattened model schema.

      Parameters:
      flatten - Resolves all external model references and returns a flattened model schema.
    • getFlatten

      public Boolean getFlatten()

      Resolves all external model references and returns a flattened model schema.

      Returns:
      Resolves all external model references and returns a flattened model schema.
    • withFlatten

      public GetModelRequest withFlatten(Boolean flatten)

      Resolves all external model references and returns a flattened model schema.

      Parameters:
      flatten - Resolves all external model references and returns a flattened model schema.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isFlatten

      public Boolean isFlatten()

      Resolves all external model references and returns a flattened model schema.

      Returns:
      Resolves all external model references and returns a flattened model schema.
    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public GetModelRequest clone()
      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: