@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Requests API Gateway to create a Resource resource.
NOOP| Constructor and Description | 
|---|
CreateResourceRequest()  | 
| Modifier and Type | Method and Description | 
|---|---|
CreateResourceRequest | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getParentId()
 [Required] The parent resource's identifier. 
 | 
String | 
getPathPart()
 The last path segment for this resource. 
 | 
String | 
getRestApiId()
 [Required] The string identifier of the associated RestApi. 
 | 
int | 
hashCode()  | 
void | 
setParentId(String parentId)
 [Required] The parent resource's identifier. 
 | 
void | 
setPathPart(String pathPart)
 The last path segment for this resource. 
 | 
void | 
setRestApiId(String restApiId)
 [Required] The string identifier of the associated RestApi. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
CreateResourceRequest | 
withParentId(String parentId)
 [Required] The parent resource's identifier. 
 | 
CreateResourceRequest | 
withPathPart(String pathPart)
 The last path segment for this resource. 
 | 
CreateResourceRequest | 
withRestApiId(String restApiId)
 [Required] The string identifier of the associated RestApi. 
 | 
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId - [Required] The string identifier of the associated RestApi.public String getRestApiId()
[Required] The string identifier of the associated RestApi.
public CreateResourceRequest withRestApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId - [Required] The string identifier of the associated RestApi.public void setParentId(String parentId)
[Required] The parent resource's identifier.
parentId - [Required] The parent resource's identifier.public String getParentId()
[Required] The parent resource's identifier.
public CreateResourceRequest withParentId(String parentId)
[Required] The parent resource's identifier.
parentId - [Required] 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 CreateResourceRequest withPathPart(String pathPart)
The last path segment for this resource.
pathPart - The last path segment for this resource.public String toString()
toString in class ObjectObject.toString()public CreateResourceRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.