@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Requests Amazon API Gateway to create a Resource resource.
NOOP
Constructor and Description |
---|
CreateResourceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getParentId()
The parent resource's identifier.
|
String |
getPathPart()
The last path segment for this resource.
|
String |
getRestApiId()
The string identifier of the associated RestApi.
|
int |
hashCode() |
void |
setParentId(String parentId)
The parent resource's identifier.
|
void |
setPathPart(String pathPart)
The last path segment for this resource.
|
void |
setRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateResourceRequest |
withParentId(String parentId)
The parent resource's identifier.
|
CreateResourceRequest |
withPathPart(String pathPart)
The last path segment for this resource.
|
CreateResourceRequest |
withRestApiId(String restApiId)
The string identifier of the associated RestApi.
|
addHandlerContext, 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, withSdkRequestTimeout
public void setRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public String getRestApiId()
The string identifier of the associated RestApi.
public CreateResourceRequest withRestApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.public void setParentId(String parentId)
The parent resource's identifier.
parentId
- The parent resource's identifier.public String getParentId()
The parent resource's identifier.
public CreateResourceRequest withParentId(String parentId)
The parent resource's identifier.
parentId
- 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 Object
Object.toString()
public CreateResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.