@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ImportApiRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
ImportApiRequest() |
| Modifier and Type | Method and Description |
|---|---|
ImportApiRequest |
clone() |
boolean |
equals(Object obj) |
String |
getBasepath()
Represents the base path of the imported API.
|
String |
getBody()
The OpenAPI definition.
|
Boolean |
getFailOnWarnings()
Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered.
|
int |
hashCode() |
Boolean |
isFailOnWarnings()
Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered.
|
void |
setBasepath(String basepath)
Represents the base path of the imported API.
|
void |
setBody(String body)
The OpenAPI definition.
|
void |
setFailOnWarnings(Boolean failOnWarnings)
Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered.
|
String |
toString()
Returns a string representation of this object.
|
ImportApiRequest |
withBasepath(String basepath)
Represents the base path of the imported API.
|
ImportApiRequest |
withBody(String body)
The OpenAPI definition.
|
ImportApiRequest |
withFailOnWarnings(Boolean failOnWarnings)
Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setBasepath(String basepath)
Represents the base path of the imported API. Supported only for HTTP APIs.
basepath - Represents the base path of the imported API. Supported only for HTTP APIs.public String getBasepath()
Represents the base path of the imported API. Supported only for HTTP APIs.
public ImportApiRequest withBasepath(String basepath)
Represents the base path of the imported API. Supported only for HTTP APIs.
basepath - Represents the base path of the imported API. Supported only for HTTP APIs.public void setBody(String body)
The OpenAPI definition. Supported only for HTTP APIs.
body - The OpenAPI definition. Supported only for HTTP APIs.public String getBody()
The OpenAPI definition. Supported only for HTTP APIs.
public ImportApiRequest withBody(String body)
The OpenAPI definition. Supported only for HTTP APIs.
body - The OpenAPI definition. Supported only for HTTP APIs.public void setFailOnWarnings(Boolean failOnWarnings)
Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false.
failOnWarnings - Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered. The
default value is false.public Boolean getFailOnWarnings()
Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false.
public ImportApiRequest withFailOnWarnings(Boolean failOnWarnings)
Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false.
failOnWarnings - Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered. The
default value is false.public Boolean isFailOnWarnings()
Specifies whether to rollback the API creation (true) or not (false) when a warning is encountered. The default value is false.
public String toString()
toString in class ObjectObject.toString()public ImportApiRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2020. All rights reserved.