Class CreateResourceResult
java.lang.Object
com.amazonaws.services.apigateway.model.CreateResourceResult
- 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()booleangetId()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.inthashCode()voidThe resource's identifier.voidsetParentId(String parentId) The parent resource's identifier.voidThe full path for this resource.voidsetPathPart(String pathPart) The last path segment for this resource.voidsetResourceMethods(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
-
CreateResourceResult
public CreateResourceResult()
-
-
Method Details
-
setId
-
getId
-
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
-
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
-
setResourceMethods
-
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
-
equals
-
hashCode
-
clone
-