Class UpdateResourceResult
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.UpdateResourceResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class UpdateResourceResult extends Object implements Serializable, Cloneable
Represents a resource.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UpdateResourceResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setId
public void setId(String id)
The resource's identifier.
- Parameters:
id
- The resource's identifier.
-
getId
public String getId()
The resource's identifier.
- Returns:
- The resource's identifier.
-
withId
public UpdateResourceResult withId(String id)
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
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 UpdateResourceResult 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 UpdateResourceResult 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.
-
setPath
public void setPath(String path)
The full path for this resource.
- Parameters:
path
- The full path for this resource.
-
getPath
public String getPath()
The full path for this resource.
- Returns:
- The full path for this resource.
-
withPath
public UpdateResourceResult withPath(String path)
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
public Map<String,Method> 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
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.
- Parameters:
resourceMethods
- Map of methods for this resource, which is included only if the request uses the embed query option.
-
withResourceMethods
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.
- 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
public UpdateResourceResult addResourceMethodsEntry(String key, Method value)
-
clearResourceMethodsEntries
public UpdateResourceResult clearResourceMethodsEntries()
Removes all the entries added into ResourceMethods. <p> 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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UpdateResourceResult clone()
-
-