Class InternetAccessServicesImpl
java.lang.Object
com.eqixiac.equinix.internetaccess.client.implementation.InternetAccessServicesImpl
- All Implemented Interfaces:
InternetAccessServices
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondefine()Returns a builder for defining and creating a new Equinix Internet Access v2 service.Deletes an Equinix Internet Access v2 service by its unique identifier.Deletes an Equinix Internet Access v2 service, optionally in validate-only mode.Retrieves a single Equinix Internet Access v2 service by its unique identifier.search(ServiceSearchRequest searchRequest) Searches for Equinix Internet Access v2 services matching the specified filter criteria.update(String serviceId, List<ChangeOperationUpdate> operations) Updates the mutable properties of an Equinix Internet Access v2 service by applying the supplied change operations (for example replacing/bandwidth).update(String serviceId, List<ChangeOperationUpdate> operations, boolean dryRun) Updates the mutable properties of an Equinix Internet Access v2 service, optionally in validate-only mode.
-
Constructor Details
-
InternetAccessServicesImpl
public InternetAccessServicesImpl()
-
-
Method Details
-
define
Description copied from interface:InternetAccessServicesReturns a builder for defining and creating a new Equinix Internet Access v2 service.- Specified by:
definein interfaceInternetAccessServices- Returns:
- an internet access service builder
-
getByUuid
Description copied from interface:InternetAccessServicesRetrieves a single Equinix Internet Access v2 service by its unique identifier.- Specified by:
getByUuidin interfaceInternetAccessServices- Parameters:
serviceId- the unique identifier of the service- Returns:
- the service matching the given identifier
-
update
Description copied from interface:InternetAccessServicesUpdates the mutable properties of an Equinix Internet Access v2 service by applying the supplied change operations (for example replacing/bandwidth).- Specified by:
updatein interfaceInternetAccessServices- Parameters:
serviceId- the unique identifier of the service to updateoperations- the change operations to apply- Returns:
- the updated service
-
update
public InternetAccessService update(String serviceId, List<ChangeOperationUpdate> operations, boolean dryRun) Description copied from interface:InternetAccessServicesUpdates the mutable properties of an Equinix Internet Access v2 service, optionally in validate-only mode.Per the
updateEquinixInternetAccessspec,dryRunis an optional boolean query parameter with no default: "Setting this parameter to true will perform only request validation without actually updating the service". WhendryRunisfalsethe parameter is omitted from the request entirely.- Specified by:
updatein interfaceInternetAccessServices- Parameters:
serviceId- the unique identifier of the service to updateoperations- the change operations to applydryRun- iftrue, sendsdryRun=trueso the request is only validated and the service is not updated; iffalse, the parameter is omitted- Returns:
- the updated (or, in dry-run mode, the validated) service
-
delete
Description copied from interface:InternetAccessServicesDeletes an Equinix Internet Access v2 service by its unique identifier.- Specified by:
deletein interfaceInternetAccessServices- Parameters:
serviceId- the unique identifier of the service to delete- Returns:
trueif the deletion request was accepted
-
delete
Description copied from interface:InternetAccessServicesDeletes an Equinix Internet Access v2 service, optionally in validate-only mode.Per the
deleteEquinixInternetAccessspec,dryRunis an optional boolean query parameter with no default: "Setting this parameter to true will perform only request validation without actually deleting the service". WhendryRunisfalsethe parameter is omitted from the request entirely. The 202 response carries no body.- Specified by:
deletein interfaceInternetAccessServices- Parameters:
serviceId- the unique identifier of the service to deletedryRun- iftrue, sendsdryRun=trueso the request is only validated and the service is not deleted; iffalse, the parameter is omitted- Returns:
trueif the (deletion or validation) request was accepted
-
search
Description copied from interface:InternetAccessServicesSearches for Equinix Internet Access v2 services matching the specified filter criteria.- Specified by:
searchin interfaceInternetAccessServices- Parameters:
searchRequest- the search filter criteria- Returns:
- a paginated, filtered list of matching services
-