public class CreateRestApiRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The POST Request to add a new RestApi resource to your collection.
NOOP
Constructor and Description |
---|
CreateRestApiRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRestApiRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getCloneFrom()
The ID of the RestApi that you want to clone from.
|
String |
getDescription()
The description of the RestApi.
|
String |
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 |
setName(String name)
The name of the RestApi.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateRestApiRequest |
withCloneFrom(String cloneFrom)
The ID of the RestApi that you want to clone from.
|
CreateRestApiRequest |
withDescription(String description)
The description of the RestApi.
|
CreateRestApiRequest |
withName(String name)
The name of the RestApi.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(String name)
The name of the RestApi.
name
- The name of the RestApi.public CreateRestApiRequest withName(String name)
The name of the RestApi.
name
- The name of the RestApi.public void setDescription(String description)
The description of the RestApi.
description
- The description of the RestApi.public String getDescription()
The description of the RestApi.
public CreateRestApiRequest withDescription(String description)
The description of the RestApi.
description
- The description of the RestApi.public void setCloneFrom(String cloneFrom)
The ID of the RestApi that you want to clone from.
cloneFrom
- The ID of the RestApi that you want to clone from.public String getCloneFrom()
The ID of the RestApi that you want to clone from.
public CreateRestApiRequest withCloneFrom(String cloneFrom)
The ID of the RestApi that you want to clone from.
cloneFrom
- The ID of the RestApi that you want to clone from.public String toString()
toString
in class Object
Object.toString()
public CreateRestApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.