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 classServiceMeshClient.BuilderBuilder class for this client.
-
Field Summary
Fields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for ServiceMesh.
-
Constructor Summary
Constructors Constructor Description ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.ServiceMeshClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.ServiceMeshClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.ServiceMeshClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
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 thebuilderinstead.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 thebuilderinstead.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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
ServiceMeshClient
@Deprecated public ServiceMeshClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-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 thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeServiceMeshClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactoriesexecutorService-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:ServiceMeshSets the region to call (ex, Region.US_PHOENIX_1).Note, this will call
setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Specified by:
setRegionin interfaceServiceMesh- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:ServiceMeshSets 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:
setRegionin interfaceServiceMesh- Parameters:
regionId- The public region ID.
-
cancelWorkRequest
public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Description copied from interface:ServiceMeshCancels the work request with the given ID.- Specified by:
cancelWorkRequestin 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:ServiceMeshMoves an AccessPolicy resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeAccessPolicyCompartmentin 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:ServiceMeshMoves a IngressGateway resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeIngressGatewayCompartmentin 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:ServiceMeshMoves a IngressGatewayRouteTable resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeIngressGatewayRouteTableCompartmentin 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:ServiceMeshMoves a Mesh resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeMeshCompartmentin 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:ServiceMeshMoves a VirtualDeployment resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeVirtualDeploymentCompartmentin 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:ServiceMeshMoves a VirtualService resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeVirtualServiceCompartmentin 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:ServiceMeshMoves a VirtualServiceRouteTable resource from one compartment identifier to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeVirtualServiceRouteTableCompartmentin 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:ServiceMeshCreates a new AccessPolicy.- Specified by:
createAccessPolicyin 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:ServiceMeshCreates a new IngressGateway.- Specified by:
createIngressGatewayin 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:ServiceMeshCreates a new IngressGatewayRouteTable.- Specified by:
createIngressGatewayRouteTablein 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:ServiceMeshCreates a new Mesh.- Specified by:
createMeshin 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:ServiceMeshCreates a new VirtualDeployment.- Specified by:
createVirtualDeploymentin 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:ServiceMeshCreates a new VirtualService.- Specified by:
createVirtualServicein 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:ServiceMeshCreates a new VirtualServiceRouteTable.- Specified by:
createVirtualServiceRouteTablein 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:ServiceMeshDeletes an AccessPolicy resource by identifier.- Specified by:
deleteAccessPolicyin 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:ServiceMeshDeletes an IngressGateway resource by identifier.- Specified by:
deleteIngressGatewayin 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:ServiceMeshDeletes a IngressGatewayRouteTable resource by identifier.- Specified by:
deleteIngressGatewayRouteTablein 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:ServiceMeshDeletes a Mesh resource by identifier.- Specified by:
deleteMeshin 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:ServiceMeshDeletes a VirtualDeployment resource by identifier.- Specified by:
deleteVirtualDeploymentin 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:ServiceMeshDeletes a VirtualService resource by identifier- Specified by:
deleteVirtualServicein 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:ServiceMeshDeletes a VirtualServiceRouteTable resource by identifier.- Specified by:
deleteVirtualServiceRouteTablein 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:ServiceMeshGet an AccessPolicy by identifier.- Specified by:
getAccessPolicyin 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:ServiceMeshGets an IngressGateway by identifier.- Specified by:
getIngressGatewayin 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:ServiceMeshGets a IngressGatewayRouteTable by identifier.- Specified by:
getIngressGatewayRouteTablein 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:ServiceMeshGets a Mesh by identifier.- Specified by:
getMeshin 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:ServiceMeshReturns the attributes of the Proxy such as proxy image version.- Specified by:
getProxyDetailsin 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:ServiceMeshGets a VirtualDeployment by identifier.- Specified by:
getVirtualDeploymentin 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:ServiceMeshGets a VirtualService by identifier.- Specified by:
getVirtualServicein 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:ServiceMeshGets a VirtualServiceRouteTable by identifier.- Specified by:
getVirtualServiceRouteTablein 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:ServiceMeshGets the status of the work request with the given ID.- Specified by:
getWorkRequestin 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:ServiceMeshReturns a list of AccessPolicy objects.- Specified by:
listAccessPoliciesin 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:ServiceMeshReturns a list of IngressGatewayRouteTable objects.- Specified by:
listIngressGatewayRouteTablesin 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:ServiceMeshReturns a list of IngressGateway objects.- Specified by:
listIngressGatewaysin 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:ServiceMeshReturns a list of Mesh objects.- Specified by:
listMeshesin 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:ServiceMeshReturns a list of VirtualDeployments.- Specified by:
listVirtualDeploymentsin 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:ServiceMeshReturns a list of VirtualServiceRouteTable objects.- Specified by:
listVirtualServiceRouteTablesin 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:ServiceMeshReturns a list of VirtualService objects.- Specified by:
listVirtualServicesin 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:ServiceMeshReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin 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:ServiceMeshReturn a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogsin 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:ServiceMeshLists the work requests in a compartment.- Specified by:
listWorkRequestsin 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:ServiceMeshUpdates the AccessPolicy.- Specified by:
updateAccessPolicyin 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:ServiceMeshUpdates the IngressGateway.- Specified by:
updateIngressGatewayin 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:ServiceMeshUpdates the IngressGatewayRouteTable.- Specified by:
updateIngressGatewayRouteTablein 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:ServiceMeshUpdates the Mesh.- Specified by:
updateMeshin 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:ServiceMeshUpdates the VirtualDeployment.- Specified by:
updateVirtualDeploymentin 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:ServiceMeshUpdates the VirtualService.- Specified by:
updateVirtualServicein 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:ServiceMeshUpdates the VirtualServiceRouteTable.- Specified by:
updateVirtualServiceRouteTablein 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:ServiceMeshGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceServiceMesh- Returns:
- The service waiters.
-
getPaginators
public ServiceMeshPaginators getPaginators()
Description copied from interface:ServiceMeshGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin 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
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-