@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ReimportApiRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ReimportApiRequest() |
Modifier and Type | Method and Description |
---|---|
ReimportApiRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The API identifier.
|
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 |
setApiId(String apiId)
The API identifier.
|
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.
|
ReimportApiRequest |
withApiId(String apiId)
The API identifier.
|
ReimportApiRequest |
withBasepath(String basepath)
Specifies how to interpret the base path of the API during import.
|
ReimportApiRequest |
withBody(String body)
The OpenAPI definition.
|
ReimportApiRequest |
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 setApiId(String apiId)
The API identifier.
apiId
- The API identifier.public String getApiId()
The API identifier.
public ReimportApiRequest withApiId(String apiId)
The API identifier.
apiId
- The API identifier.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 ReimportApiRequest 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 ReimportApiRequest 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 ReimportApiRequest 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 ReimportApiRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()