Class CreateResourceRequest

    • Constructor Detail

      • CreateResourceRequest

        public CreateResourceRequest()
    • Method Detail

      • 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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object