@Generated(value="OracleSDKGenerator", comments="API Version: 20190501") public interface ApiGateway extends AutoCloseable
API for the API Gateway service. Use this API to manage gateways, deployments, and related items. For more information, see Overview of API Gateway.
| Modifier and Type | Method and Description |
|---|---|
ChangeApiCompartmentResponse |
changeApiCompartment(ChangeApiCompartmentRequest request)
Changes the API compartment.
|
ChangeCertificateCompartmentResponse |
changeCertificateCompartment(ChangeCertificateCompartmentRequest request)
Changes the certificate compartment.
|
CreateApiResponse |
createApi(CreateApiRequest request)
Creates a new API.
|
CreateCertificateResponse |
createCertificate(CreateCertificateRequest request)
Creates a new Certificate.
|
DeleteApiResponse |
deleteApi(DeleteApiRequest request)
Deletes the API with the given identifier.
|
DeleteCertificateResponse |
deleteCertificate(DeleteCertificateRequest request)
Deletes the certificate with the given identifier.
|
GetApiResponse |
getApi(GetApiRequest request)
Gets an API by identifier.
|
GetApiContentResponse |
getApiContent(GetApiContentRequest request)
Get the raw API content.
|
GetApiDeploymentSpecificationResponse |
getApiDeploymentSpecification(GetApiDeploymentSpecificationRequest request)
Gets an API Deployment specification by identifier.
|
GetApiValidationsResponse |
getApiValidations(GetApiValidationsRequest request)
Gets the API validation results.
|
GetCertificateResponse |
getCertificate(GetCertificateRequest request)
Gets a certificate by identifier.
|
String |
getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
|
ApiGatewayPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data.
|
ApiGatewayWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
ListApisResponse |
listApis(ListApisRequest request)
Returns a list of APIs.
|
ListCertificatesResponse |
listCertificates(ListCertificatesRequest request)
Returns a list of certificates.
|
void |
setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
|
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
UpdateApiResponse |
updateApi(UpdateApiRequest request)
Updates the API with the given identifier.
|
UpdateCertificateResponse |
updateCertificate(UpdateCertificateRequest request)
Updates a certificate with the given identifier
|
closevoid setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint - The endpoint of the service.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
void setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint after resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.
region - The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call
setRegion.
If no known Region could be determined, it will create an endpoint based on the
default endpoint format (Region.formatDefaultRegionEndpoint(Service, String)
and then call setEndpoint.
regionId - The public region ID.ChangeApiCompartmentResponse changeApiCompartment(ChangeApiCompartmentRequest request)
Changes the API compartment.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use ChangeApiCompartment API.
ChangeCertificateCompartmentResponse changeCertificateCompartment(ChangeCertificateCompartmentRequest request)
Changes the certificate compartment.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use ChangeCertificateCompartment API.
CreateApiResponse createApi(CreateApiRequest request)
Creates a new API.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use CreateApi API.
CreateCertificateResponse createCertificate(CreateCertificateRequest request)
Creates a new Certificate.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use CreateCertificate API.
DeleteApiResponse deleteApi(DeleteApiRequest request)
Deletes the API with the given identifier.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use DeleteApi API.
DeleteCertificateResponse deleteCertificate(DeleteCertificateRequest request)
Deletes the certificate with the given identifier.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use DeleteCertificate API.
GetApiResponse getApi(GetApiRequest request)
Gets an API by identifier.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use GetApi API.
GetApiContentResponse getApiContent(GetApiContentRequest request)
Get the raw API content.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use GetApiContent API.
GetApiDeploymentSpecificationResponse getApiDeploymentSpecification(GetApiDeploymentSpecificationRequest request)
Gets an API Deployment specification by identifier.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use GetApiDeploymentSpecification API.
GetApiValidationsResponse getApiValidations(GetApiValidationsRequest request)
Gets the API validation results.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use GetApiValidations API.
GetCertificateResponse getCertificate(GetCertificateRequest request)
Gets a certificate by identifier.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use GetCertificate API.
ListApisResponse listApis(ListApisRequest request)
Returns a list of APIs.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use ListApis API.
ListCertificatesResponse listCertificates(ListCertificatesRequest request)
Returns a list of certificates.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use ListCertificates API.
UpdateApiResponse updateApi(UpdateApiRequest request)
Updates the API with the given identifier.
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use UpdateApi API.
UpdateCertificateResponse updateCertificate(UpdateCertificateRequest request)
Updates a certificate with the given identifier
request - The request object containing the details to sendBmcException - when an error occurs.
Example: Click here to see how to use UpdateCertificate API.
ApiGatewayWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.
ApiGatewayPaginators getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple
pages of data. These paginators provide an Iterable interface so that service responses, or
resources/records, can be iterated through without having to manually deal with pagination and page tokens.
Copyright © 2016–2021. All rights reserved.