Class CreateResourceRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.apigateway.model.CreateResourceRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class CreateResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Requests Amazon API Gateway to create a Resource resource.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description CreateResourceRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateResourceRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)StringgetParentId()The parent resource's identifier.StringgetPathPart()The last path segment for this resource.StringgetRestApiId()The identifier of the RestApi for the resource.inthashCode()voidsetParentId(String parentId)The parent resource's identifier.voidsetPathPart(String pathPart)The last path segment for this resource.voidsetRestApiId(String restApiId)The identifier of the RestApi for the resource.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateResourceRequestwithParentId(String parentId)The parent resource's identifier.CreateResourceRequestwithPathPart(String pathPart)The last path segment for this resource.CreateResourceRequestwithRestApiId(String restApiId)The identifier of the RestApi for the resource.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateResourceRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-