public class UpdateResourceResult extends Object implements Serializable, Cloneable
Represents a resource.
Constructor and Description |
---|
UpdateResourceResult() |
Modifier and Type | Method and Description |
---|---|
UpdateResourceResult |
addResourceMethodsEntry(String key,
Method value) |
UpdateResourceResult |
clearResourceMethodsEntries()
Removes all the entries added into ResourceMethods.
|
UpdateResourceResult |
clone() |
boolean |
equals(Object obj) |
String |
getId()
The resource's identifier.
|
String |
getParentId()
The parent resource's identifier.
|
String |
getPath()
The full path for this resource.
|
String |
getPathPart()
The last path segment for this resource.
|
Map<String,Method> |
getResourceMethods()
Map of methods for this resource, which is included only if the request
uses the embed query option.
|
int |
hashCode() |
void |
setId(String id)
The resource's identifier.
|
void |
setParentId(String parentId)
The parent resource's identifier.
|
void |
setPath(String path)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateResourceResult |
withId(String id)
The resource's identifier.
|
UpdateResourceResult |
withParentId(String parentId)
The parent resource's identifier.
|
UpdateResourceResult |
withPath(String path)
The full path for this resource.
|
UpdateResourceResult |
withPathPart(String pathPart)
The last path segment for this resource.
|
UpdateResourceResult |
withResourceMethods(Map<String,Method> resourceMethods)
Map of methods for this resource, which is included only if the request
uses the embed query option.
|
public void setId(String id)
The resource's identifier.
id
- The resource's identifier.public String getId()
The resource's identifier.
public UpdateResourceResult withId(String id)
The resource's identifier.
id
- The resource's identifier.public void setParentId(String parentId)
The parent resource's identifier.
parentId
- The parent resource's identifier.public String getParentId()
The parent resource's identifier.
public UpdateResourceResult withParentId(String parentId)
The parent resource's identifier.
parentId
- The parent resource's identifier.public void setPathPart(String pathPart)
The last path segment for this resource.
pathPart
- The last path segment for this resource.public String getPathPart()
The last path segment for this resource.
public UpdateResourceResult withPathPart(String pathPart)
The last path segment for this resource.
pathPart
- The last path segment for this resource.public void setPath(String path)
The full path for this resource.
path
- The full path for this resource.public String getPath()
The full path for this resource.
public UpdateResourceResult withPath(String path)
The full path for this resource.
path
- The full path for this resource.public Map<String,Method> getResourceMethods()
Map of methods for this resource, which is included only if the request uses the embed query option.
public void setResourceMethods(Map<String,Method> resourceMethods)
Map of methods for this resource, which is included only if the request uses the embed query option.
resourceMethods
- Map of methods for this resource, which is included only if the
request uses the embed query option.public UpdateResourceResult withResourceMethods(Map<String,Method> resourceMethods)
Map of methods for this resource, which is included only if the request uses the embed query option.
resourceMethods
- Map of methods for this resource, which is included only if the
request uses the embed query option.public UpdateResourceResult addResourceMethodsEntry(String key, Method value)
public UpdateResourceResult clearResourceMethodsEntries()
public String toString()
toString
in class Object
Object.toString()
public UpdateResourceResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.