public class CreateRestApiRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Request to add a new RestApi resource to your collection.
NOOP
Constructor and Description |
---|
CreateRestApiRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRestApiRequest |
clone() |
boolean |
equals(Object obj) |
String |
getCloneFrom()
The name 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 name 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 name 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.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
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 name of the RestApi that you want to clone from.
cloneFrom
- The name of the RestApi that you want to clone from.public String getCloneFrom()
The name of the RestApi that you want to clone from.
public CreateRestApiRequest withCloneFrom(String cloneFrom)
The name of the RestApi that you want to clone from.
cloneFrom
- The name of the RestApi that you want to clone from.public String toString()
toString
in class Object
Object.toString()
public CreateRestApiRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2015. All rights reserved.