@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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 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 Object
Object.toString()
public ImportApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.