Class UpdateResourceResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents a resource.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResourceMethodsEntry
(String key, Method value) Removes all the entries added into ResourceMethods.clone()
boolean
getId()
The resource's identifier.The parent resource's identifier.getPath()
The full path for this resource.The last path segment for this resource.Map of methods for this resource, which is included only if the request uses the embed query option.int
hashCode()
void
The resource's identifier.void
setParentId
(String parentId) The parent resource's identifier.void
The full path for this resource.void
setPathPart
(String pathPart) The last path segment for this resource.void
setResourceMethods
(Map<String, Method> resourceMethods) Map of methods for this resource, which is included only if the request uses the embed query option.toString()
Returns a string representation of this object; useful for testing and debugging.The resource's identifier.withParentId
(String parentId) The parent resource's identifier.The full path for this resource.withPathPart
(String pathPart) The last path segment for this resource.withResourceMethods
(Map<String, Method> resourceMethods) Map of methods for this resource, which is included only if the request uses the embed query option.
-
Constructor Details
-
UpdateResourceResult
public UpdateResourceResult()
-
-
Method Details
-
setId
The resource's identifier.
- Parameters:
id
- The resource's identifier.
-
getId
The resource's identifier.
- Returns:
- The resource's identifier.
-
withId
The resource's identifier.
- Parameters:
id
- The resource's identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setParentId
The parent resource's identifier.
- Parameters:
parentId
- The parent resource's identifier.
-
getParentId
The parent resource's identifier.
- Returns:
- The parent resource's identifier.
-
withParentId
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
The last path segment for this resource.
- Parameters:
pathPart
- The last path segment for this resource.
-
getPathPart
The last path segment for this resource.
- Returns:
- The last path segment for this resource.
-
withPathPart
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.
-
setPath
The full path for this resource.
- Parameters:
path
- The full path for this resource.
-
getPath
The full path for this resource.
- Returns:
- The full path for this resource.
-
withPath
The full path for this resource.
- Parameters:
path
- The full path for this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getResourceMethods
Map of methods for this resource, which is included only if the request uses the embed query option.
- Returns:
- Map of methods for this resource, which is included only if the request uses the embed query option.
-
setResourceMethods
Map of methods for this resource, which is included only if the request uses the embed query option.
- Parameters:
resourceMethods
- Map of methods for this resource, which is included only if the request uses the embed query option.
-
withResourceMethods
Map of methods for this resource, which is included only if the request uses the embed query option.
- Parameters:
resourceMethods
- Map of methods for this resource, which is included only if the request uses the embed query option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResourceMethodsEntry
-
clearResourceMethodsEntries
Removes all the entries added into ResourceMethods. <p> Returns a reference to this object so that method calls can be chained together. -
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-