Class CreateRestApiRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.apigateway.model.CreateRestApiRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class CreateRestApiRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
The POST Request to add a new RestApi resource to your collection.
- 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.boolean
The Id of the RestApi that you want to clone from.The description of the RestApi.getName()
The name of the RestApi.int
hashCode()
void
setCloneFrom
(String cloneFrom) The Id of the RestApi that you want to clone from.void
setDescription
(String description) The description of the RestApi.void
The name of the RestApi.toString()
Returns a string representation of this object; useful for testing and debugging.withCloneFrom
(String cloneFrom) The Id of the RestApi that you want to clone from.withDescription
(String description) The description of the RestApi.The name of the RestApi.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
-
CreateRestApiRequest
public CreateRestApiRequest()
-
-
Method Details
-
setName
The name of the RestApi.
- Parameters:
name
- The name of the RestApi.
-
getName
The name of the RestApi.
- Returns:
- The name of the RestApi.
-
withName
The name of the RestApi.
- Parameters:
name
- The name of the RestApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
The description of the RestApi.
- Parameters:
description
- The description of the RestApi.
-
getDescription
The description of the RestApi.
- Returns:
- The description of the RestApi.
-
withDescription
The description of the RestApi.
- Parameters:
description
- The description of the RestApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setCloneFrom
The Id of the RestApi that you want to clone from.
- Parameters:
cloneFrom
- The Id of the RestApi that you want to clone from.
-
getCloneFrom
The Id of the RestApi that you want to clone from.
- Returns:
- The Id of the RestApi that you want to clone from.
-
withCloneFrom
The Id of the RestApi that you want to clone from.
- Parameters:
cloneFrom
- The Id of the RestApi that you want to clone from.- 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:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-