Class ServiceMeshClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.servicemesh.ServiceMeshClient
-
- All Implemented Interfaces:
ServiceMesh
,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20220615") public class ServiceMeshClient extends BaseSyncClient implements ServiceMesh
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceMeshClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field Description String
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.Optional<String>
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.static Service
SERVICE
Service instance for ServiceMesh.
-
Constructor Summary
Constructors Constructor Description ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.ServiceMeshClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.ServiceMeshClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.ServiceMeshClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.servicemesh.ServiceMesh
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-ClientBuilderBase.endpoint(java.lang.String)
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
-ClientBuilderBase.signingStrategyRequestSignerFactories
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
endpoint
-ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
-ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
-ServiceMeshClient.Builder.executorService
-
-
Method Detail
-
builder
public static ServiceMeshClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:ServiceMesh
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.- Specified by:
setRegion
in interfaceServiceMesh
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:ServiceMesh
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 callsetEndpoint
.- Specified by:
setRegion
in interfaceServiceMesh
- Parameters:
regionId
- The public region ID.
-
cancelWorkRequest
public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Description copied from interface:ServiceMesh
Cancels the work request with the given ID.- Specified by:
cancelWorkRequest
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeAccessPolicyCompartment
public ChangeAccessPolicyCompartmentResponse changeAccessPolicyCompartment(ChangeAccessPolicyCompartmentRequest request)
Description copied from interface:ServiceMesh
Moves an AccessPolicy resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeAccessPolicyCompartment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeIngressGatewayCompartment
public ChangeIngressGatewayCompartmentResponse changeIngressGatewayCompartment(ChangeIngressGatewayCompartmentRequest request)
Description copied from interface:ServiceMesh
Moves a IngressGateway resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeIngressGatewayCompartment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeIngressGatewayRouteTableCompartment
public ChangeIngressGatewayRouteTableCompartmentResponse changeIngressGatewayRouteTableCompartment(ChangeIngressGatewayRouteTableCompartmentRequest request)
Description copied from interface:ServiceMesh
Moves a IngressGatewayRouteTable resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeIngressGatewayRouteTableCompartment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeMeshCompartment
public ChangeMeshCompartmentResponse changeMeshCompartment(ChangeMeshCompartmentRequest request)
Description copied from interface:ServiceMesh
Moves a Mesh resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMeshCompartment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeVirtualDeploymentCompartment
public ChangeVirtualDeploymentCompartmentResponse changeVirtualDeploymentCompartment(ChangeVirtualDeploymentCompartmentRequest request)
Description copied from interface:ServiceMesh
Moves a VirtualDeployment resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeVirtualDeploymentCompartment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeVirtualServiceCompartment
public ChangeVirtualServiceCompartmentResponse changeVirtualServiceCompartment(ChangeVirtualServiceCompartmentRequest request)
Description copied from interface:ServiceMesh
Moves a VirtualService resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeVirtualServiceCompartment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeVirtualServiceRouteTableCompartment
public ChangeVirtualServiceRouteTableCompartmentResponse changeVirtualServiceRouteTableCompartment(ChangeVirtualServiceRouteTableCompartmentRequest request)
Description copied from interface:ServiceMesh
Moves a VirtualServiceRouteTable resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeVirtualServiceRouteTableCompartment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createAccessPolicy
public CreateAccessPolicyResponse createAccessPolicy(CreateAccessPolicyRequest request)
Description copied from interface:ServiceMesh
Creates a new AccessPolicy.- Specified by:
createAccessPolicy
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createIngressGateway
public CreateIngressGatewayResponse createIngressGateway(CreateIngressGatewayRequest request)
Description copied from interface:ServiceMesh
Creates a new IngressGateway.- Specified by:
createIngressGateway
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createIngressGatewayRouteTable
public CreateIngressGatewayRouteTableResponse createIngressGatewayRouteTable(CreateIngressGatewayRouteTableRequest request)
Description copied from interface:ServiceMesh
Creates a new IngressGatewayRouteTable.- Specified by:
createIngressGatewayRouteTable
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createMesh
public CreateMeshResponse createMesh(CreateMeshRequest request)
Description copied from interface:ServiceMesh
Creates a new Mesh.- Specified by:
createMesh
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createVirtualDeployment
public CreateVirtualDeploymentResponse createVirtualDeployment(CreateVirtualDeploymentRequest request)
Description copied from interface:ServiceMesh
Creates a new VirtualDeployment.- Specified by:
createVirtualDeployment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createVirtualService
public CreateVirtualServiceResponse createVirtualService(CreateVirtualServiceRequest request)
Description copied from interface:ServiceMesh
Creates a new VirtualService.- Specified by:
createVirtualService
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createVirtualServiceRouteTable
public CreateVirtualServiceRouteTableResponse createVirtualServiceRouteTable(CreateVirtualServiceRouteTableRequest request)
Description copied from interface:ServiceMesh
Creates a new VirtualServiceRouteTable.- Specified by:
createVirtualServiceRouteTable
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteAccessPolicy
public DeleteAccessPolicyResponse deleteAccessPolicy(DeleteAccessPolicyRequest request)
Description copied from interface:ServiceMesh
Deletes an AccessPolicy resource by identifier.- Specified by:
deleteAccessPolicy
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteIngressGateway
public DeleteIngressGatewayResponse deleteIngressGateway(DeleteIngressGatewayRequest request)
Description copied from interface:ServiceMesh
Deletes an IngressGateway resource by identifier.- Specified by:
deleteIngressGateway
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteIngressGatewayRouteTable
public DeleteIngressGatewayRouteTableResponse deleteIngressGatewayRouteTable(DeleteIngressGatewayRouteTableRequest request)
Description copied from interface:ServiceMesh
Deletes a IngressGatewayRouteTable resource by identifier.- Specified by:
deleteIngressGatewayRouteTable
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteMesh
public DeleteMeshResponse deleteMesh(DeleteMeshRequest request)
Description copied from interface:ServiceMesh
Deletes a Mesh resource by identifier.- Specified by:
deleteMesh
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteVirtualDeployment
public DeleteVirtualDeploymentResponse deleteVirtualDeployment(DeleteVirtualDeploymentRequest request)
Description copied from interface:ServiceMesh
Deletes a VirtualDeployment resource by identifier.- Specified by:
deleteVirtualDeployment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteVirtualService
public DeleteVirtualServiceResponse deleteVirtualService(DeleteVirtualServiceRequest request)
Description copied from interface:ServiceMesh
Deletes a VirtualService resource by identifier- Specified by:
deleteVirtualService
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteVirtualServiceRouteTable
public DeleteVirtualServiceRouteTableResponse deleteVirtualServiceRouteTable(DeleteVirtualServiceRouteTableRequest request)
Description copied from interface:ServiceMesh
Deletes a VirtualServiceRouteTable resource by identifier.- Specified by:
deleteVirtualServiceRouteTable
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAccessPolicy
public GetAccessPolicyResponse getAccessPolicy(GetAccessPolicyRequest request)
Description copied from interface:ServiceMesh
Get an AccessPolicy by identifier.- Specified by:
getAccessPolicy
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getIngressGateway
public GetIngressGatewayResponse getIngressGateway(GetIngressGatewayRequest request)
Description copied from interface:ServiceMesh
Gets an IngressGateway by identifier.- Specified by:
getIngressGateway
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getIngressGatewayRouteTable
public GetIngressGatewayRouteTableResponse getIngressGatewayRouteTable(GetIngressGatewayRouteTableRequest request)
Description copied from interface:ServiceMesh
Gets a IngressGatewayRouteTable by identifier.- Specified by:
getIngressGatewayRouteTable
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getMesh
public GetMeshResponse getMesh(GetMeshRequest request)
Description copied from interface:ServiceMesh
Gets a Mesh by identifier.- Specified by:
getMesh
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getProxyDetails
public GetProxyDetailsResponse getProxyDetails(GetProxyDetailsRequest request)
Description copied from interface:ServiceMesh
Returns the attributes of the Proxy such as proxy image version.- Specified by:
getProxyDetails
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getVirtualDeployment
public GetVirtualDeploymentResponse getVirtualDeployment(GetVirtualDeploymentRequest request)
Description copied from interface:ServiceMesh
Gets a VirtualDeployment by identifier.- Specified by:
getVirtualDeployment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getVirtualService
public GetVirtualServiceResponse getVirtualService(GetVirtualServiceRequest request)
Description copied from interface:ServiceMesh
Gets a VirtualService by identifier.- Specified by:
getVirtualService
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getVirtualServiceRouteTable
public GetVirtualServiceRouteTableResponse getVirtualServiceRouteTable(GetVirtualServiceRouteTableRequest request)
Description copied from interface:ServiceMesh
Gets a VirtualServiceRouteTable by identifier.- Specified by:
getVirtualServiceRouteTable
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:ServiceMesh
Gets the status of the work request with the given ID.- Specified by:
getWorkRequest
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAccessPolicies
public ListAccessPoliciesResponse listAccessPolicies(ListAccessPoliciesRequest request)
Description copied from interface:ServiceMesh
Returns a list of AccessPolicy objects.- Specified by:
listAccessPolicies
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listIngressGatewayRouteTables
public ListIngressGatewayRouteTablesResponse listIngressGatewayRouteTables(ListIngressGatewayRouteTablesRequest request)
Description copied from interface:ServiceMesh
Returns a list of IngressGatewayRouteTable objects.- Specified by:
listIngressGatewayRouteTables
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listIngressGateways
public ListIngressGatewaysResponse listIngressGateways(ListIngressGatewaysRequest request)
Description copied from interface:ServiceMesh
Returns a list of IngressGateway objects.- Specified by:
listIngressGateways
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listMeshes
public ListMeshesResponse listMeshes(ListMeshesRequest request)
Description copied from interface:ServiceMesh
Returns a list of Mesh objects.- Specified by:
listMeshes
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listVirtualDeployments
public ListVirtualDeploymentsResponse listVirtualDeployments(ListVirtualDeploymentsRequest request)
Description copied from interface:ServiceMesh
Returns a list of VirtualDeployments.- Specified by:
listVirtualDeployments
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listVirtualServiceRouteTables
public ListVirtualServiceRouteTablesResponse listVirtualServiceRouteTables(ListVirtualServiceRouteTablesRequest request)
Description copied from interface:ServiceMesh
Returns a list of VirtualServiceRouteTable objects.- Specified by:
listVirtualServiceRouteTables
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listVirtualServices
public ListVirtualServicesResponse listVirtualServices(ListVirtualServicesRequest request)
Description copied from interface:ServiceMesh
Returns a list of VirtualService objects.- Specified by:
listVirtualServices
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:ServiceMesh
Return a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrors
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:ServiceMesh
Return a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogs
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:ServiceMesh
Lists the work requests in a compartment.- Specified by:
listWorkRequests
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateAccessPolicy
public UpdateAccessPolicyResponse updateAccessPolicy(UpdateAccessPolicyRequest request)
Description copied from interface:ServiceMesh
Updates the AccessPolicy.- Specified by:
updateAccessPolicy
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateIngressGateway
public UpdateIngressGatewayResponse updateIngressGateway(UpdateIngressGatewayRequest request)
Description copied from interface:ServiceMesh
Updates the IngressGateway.- Specified by:
updateIngressGateway
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateIngressGatewayRouteTable
public UpdateIngressGatewayRouteTableResponse updateIngressGatewayRouteTable(UpdateIngressGatewayRouteTableRequest request)
Description copied from interface:ServiceMesh
Updates the IngressGatewayRouteTable.- Specified by:
updateIngressGatewayRouteTable
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateMesh
public UpdateMeshResponse updateMesh(UpdateMeshRequest request)
Description copied from interface:ServiceMesh
Updates the Mesh.- Specified by:
updateMesh
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateVirtualDeployment
public UpdateVirtualDeploymentResponse updateVirtualDeployment(UpdateVirtualDeploymentRequest request)
Description copied from interface:ServiceMesh
Updates the VirtualDeployment.- Specified by:
updateVirtualDeployment
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateVirtualService
public UpdateVirtualServiceResponse updateVirtualService(UpdateVirtualServiceRequest request)
Description copied from interface:ServiceMesh
Updates the VirtualService.- Specified by:
updateVirtualService
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateVirtualServiceRouteTable
public UpdateVirtualServiceRouteTableResponse updateVirtualServiceRouteTable(UpdateVirtualServiceRouteTableRequest request)
Description copied from interface:ServiceMesh
Updates the VirtualServiceRouteTable.- Specified by:
updateVirtualServiceRouteTable
in interfaceServiceMesh
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public ServiceMeshWaiters getWaiters()
Description copied from interface:ServiceMesh
Gets the pre-configured waiters available for resources for this service.- Specified by:
getWaiters
in interfaceServiceMesh
- Returns:
- The service waiters.
-
getPaginators
public ServiceMeshPaginators getPaginators()
Description copied from interface:ServiceMesh
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.- Specified by:
getPaginators
in interfaceServiceMesh
- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint
- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient
.This will call
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-