Class CreateResourceRequest

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

public class CreateResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable

Requests Amazon API Gateway to create a Resource resource.

See Also:
  • Constructor Details

    • CreateResourceRequest

      public CreateResourceRequest()
  • Method Details

    • setRestApiId

      public void setRestApiId(String restApiId)

      The identifier of the RestApi for the resource.

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

      public String getRestApiId()

      The identifier of the RestApi for the resource.

      Returns:
      The identifier of the RestApi for the resource.
    • withRestApiId

      public CreateResourceRequest withRestApiId(String restApiId)

      The identifier of the RestApi for the resource.

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

      public void setParentId(String parentId)

      The parent resource's identifier.

      Parameters:
      parentId - The parent resource's identifier.
    • getParentId

      public String getParentId()

      The parent resource's identifier.

      Returns:
      The parent resource's identifier.
    • withParentId

      public CreateResourceRequest withParentId(String parentId)

      The parent resource's identifier.

      Parameters:
      parentId - The parent resource's identifier.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPathPart

      public void setPathPart(String pathPart)

      The last path segment for this resource.

      Parameters:
      pathPart - The last path segment for this resource.
    • getPathPart

      public String getPathPart()

      The last path segment for this resource.

      Returns:
      The last path segment for this resource.
    • withPathPart

      public CreateResourceRequest withPathPart(String pathPart)

      The last path segment for this resource.

      Parameters:
      pathPart - The last path segment for this 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 CreateResourceRequest 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: