Class GetResourceRequest

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

public class GetResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Request to list information about a resource.

See Also:
  • Constructor Details

    • GetResourceRequest

      public GetResourceRequest()
  • Method Details

    • setRestApiId

      public void setRestApiId(String restApiId)

      The RestApi identifier for the resource.

      Parameters:
      restApiId - The RestApi identifier for the resource.
    • getRestApiId

      public String getRestApiId()

      The RestApi identifier for the resource.

      Returns:
      The RestApi identifier for the resource.
    • withRestApiId

      public GetResourceRequest withRestApiId(String restApiId)

      The RestApi identifier for the resource.

      Parameters:
      restApiId - The RestApi identifier for the resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setResourceId

      public void setResourceId(String resourceId)

      The identifier for the Resource resource.

      Parameters:
      resourceId - The identifier for the Resource resource.
    • getResourceId

      public String getResourceId()

      The identifier for the Resource resource.

      Returns:
      The identifier for the Resource resource.
    • withResourceId

      public GetResourceRequest withResourceId(String resourceId)

      The identifier for the Resource resource.

      Parameters:
      resourceId - The identifier for the Resource resource.
      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:
    • equals

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

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

      public GetResourceRequest 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: