@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()
Specifies how to interpret the base path of the API during import.
|
String |
getBody()
The OpenAPI definition.
|
Boolean |
getFailOnWarnings()
Specifies whether to rollback the API creation when a warning is encountered.
|
int |
hashCode() |
Boolean |
isFailOnWarnings()
Specifies whether to rollback the API creation when a warning is encountered.
|
void |
setBasepath(String basepath)
Specifies how to interpret the base path of the API during import.
|
void |
setBody(String body)
The OpenAPI definition.
|
void |
setFailOnWarnings(Boolean failOnWarnings)
Specifies whether to rollback the API creation when a warning is encountered.
|
String |
toString()
Returns a string representation of this object.
|
ImportApiRequest |
withBasepath(String basepath)
Specifies how to interpret the base path of the API during import.
|
ImportApiRequest |
withBody(String body)
The OpenAPI definition.
|
ImportApiRequest |
withFailOnWarnings(Boolean failOnWarnings)
Specifies whether to rollback the API creation 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)
Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
basepath
- Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and
split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.public String getBasepath()
Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
public ImportApiRequest withBasepath(String basepath)
Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
basepath
- Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and
split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. 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 when a warning is encountered. By default, API creation continues if a warning is encountered.
failOnWarnings
- Specifies whether to rollback the API creation when a warning is encountered. By default, API creation
continues if a warning is encountered.public Boolean getFailOnWarnings()
Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
public ImportApiRequest withFailOnWarnings(Boolean failOnWarnings)
Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
failOnWarnings
- Specifies whether to rollback the API creation when a warning is encountered. By default, API creation
continues if a warning is encountered.public Boolean isFailOnWarnings()
Specifies whether to rollback the API creation when a warning is encountered. By default, API creation continues if a warning is encountered.
public String toString()
toString
in class Object
Object.toString()
public ImportApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()