@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateApiRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateApiRequest() |
Modifier and Type | Method and Description |
---|---|
CreateApiRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiKeySelectionExpression()
An API key selection expression.
|
String |
getDescription()
The description of the API.
|
Boolean |
getDisableSchemaValidation()
Avoid validating models when creating a deployment.
|
String |
getName()
The name of the API.
|
String |
getProtocolType()
The API protocol: Currently only WEBSOCKET is supported.
|
String |
getRouteSelectionExpression()
The route selection expression for the API.
|
String |
getVersion()
A version identifier for the API.
|
int |
hashCode() |
Boolean |
isDisableSchemaValidation()
Avoid validating models when creating a deployment.
|
void |
setApiKeySelectionExpression(String apiKeySelectionExpression)
An API key selection expression.
|
void |
setDescription(String description)
The description of the API.
|
void |
setDisableSchemaValidation(Boolean disableSchemaValidation)
Avoid validating models when creating a deployment.
|
void |
setName(String name)
The name of the API.
|
void |
setProtocolType(String protocolType)
The API protocol: Currently only WEBSOCKET is supported.
|
void |
setRouteSelectionExpression(String routeSelectionExpression)
The route selection expression for the API.
|
void |
setVersion(String version)
A version identifier for the API.
|
String |
toString()
Returns a string representation of this object.
|
CreateApiRequest |
withApiKeySelectionExpression(String apiKeySelectionExpression)
An API key selection expression.
|
CreateApiRequest |
withDescription(String description)
The description of the API.
|
CreateApiRequest |
withDisableSchemaValidation(Boolean disableSchemaValidation)
Avoid validating models when creating a deployment.
|
CreateApiRequest |
withName(String name)
The name of the API.
|
CreateApiRequest |
withProtocolType(ProtocolType protocolType)
The API protocol: Currently only WEBSOCKET is supported.
|
CreateApiRequest |
withProtocolType(String protocolType)
The API protocol: Currently only WEBSOCKET is supported.
|
CreateApiRequest |
withRouteSelectionExpression(String routeSelectionExpression)
The route selection expression for the API.
|
CreateApiRequest |
withVersion(String version)
A version identifier for the API.
|
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 setApiKeySelectionExpression(String apiKeySelectionExpression)
An API key selection expression. See API Key Selection Expressions.
apiKeySelectionExpression
- An API key selection expression. See API Key Selection Expressions.public String getApiKeySelectionExpression()
An API key selection expression. See API Key Selection Expressions.
public CreateApiRequest withApiKeySelectionExpression(String apiKeySelectionExpression)
An API key selection expression. See API Key Selection Expressions.
apiKeySelectionExpression
- An API key selection expression. See API Key Selection Expressions.public void setDescription(String description)
The description of the API.
description
- The description of the API.public String getDescription()
The description of the API.
public CreateApiRequest withDescription(String description)
The description of the API.
description
- The description of the API.public void setDisableSchemaValidation(Boolean disableSchemaValidation)
Avoid validating models when creating a deployment.
disableSchemaValidation
- Avoid validating models when creating a deployment.public Boolean getDisableSchemaValidation()
Avoid validating models when creating a deployment.
public CreateApiRequest withDisableSchemaValidation(Boolean disableSchemaValidation)
Avoid validating models when creating a deployment.
disableSchemaValidation
- Avoid validating models when creating a deployment.public Boolean isDisableSchemaValidation()
Avoid validating models when creating a deployment.
public void setName(String name)
The name of the API.
name
- The name of the API.public String getName()
The name of the API.
public CreateApiRequest withName(String name)
The name of the API.
name
- The name of the API.public void setProtocolType(String protocolType)
The API protocol: Currently only WEBSOCKET is supported.
protocolType
- The API protocol: Currently only WEBSOCKET is supported.ProtocolType
public String getProtocolType()
The API protocol: Currently only WEBSOCKET is supported.
ProtocolType
public CreateApiRequest withProtocolType(String protocolType)
The API protocol: Currently only WEBSOCKET is supported.
protocolType
- The API protocol: Currently only WEBSOCKET is supported.ProtocolType
public CreateApiRequest withProtocolType(ProtocolType protocolType)
The API protocol: Currently only WEBSOCKET is supported.
protocolType
- The API protocol: Currently only WEBSOCKET is supported.ProtocolType
public void setRouteSelectionExpression(String routeSelectionExpression)
The route selection expression for the API.
routeSelectionExpression
- The route selection expression for the API.public String getRouteSelectionExpression()
The route selection expression for the API.
public CreateApiRequest withRouteSelectionExpression(String routeSelectionExpression)
The route selection expression for the API.
routeSelectionExpression
- The route selection expression for the API.public void setVersion(String version)
A version identifier for the API.
version
- A version identifier for the API.public String getVersion()
A version identifier for the API.
public CreateApiRequest withVersion(String version)
A version identifier for the API.
version
- A version identifier for the API.public String toString()
toString
in class Object
Object.toString()
public CreateApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.