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:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates a shallow clone of this request.booleanThe parent resource's identifier.The last path segment for this resource.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.toString()Returns a string representation of this object; useful for testing and debugging.withParentId(String parentId) The parent resource's identifier.withPathPart(String pathPart) The last path segment for this resource.withRestApiId(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
-
Constructor Details
-
CreateResourceRequest
public CreateResourceRequest()
-
-
Method Details
-
setRestApiId
The identifier of the RestApi for the resource.
- Parameters:
restApiId- The identifier of the RestApi for the resource.
-
getRestApiId
The identifier of the RestApi for the resource.
- Returns:
- The identifier of the RestApi for the resource.
-
withRestApiId
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
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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
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:
-