Class SetupImpl
java.lang.Object
api.equinix.javasdk.networkedge.client.implementation.SetupImpl
-
Constructor Summary
ConstructorsConstructorDescriptionSetupImpl(AccountClient<Account> serviceClientAccounts, MetroClient<Metro> serviceClientMetros, DNSClient<DNSLookup> serviceClientDNS, AgreementClient serviceClientAgreements, PricingClient serviceClientPricing, NetworkEdge serviceManager) Constructor for SetupImpl. -
Method Summary
Modifier and TypeMethodDescriptioncreateAgreement(String accountNumber, String termsVersionId) Creates an Agreement for the provided account number.static <T> Predicate<T> distinctByKey(Function<? super T, ?> keyExtractor) distinctByKey.dnsLookup(RequestBuilder.DNSLookup requestBuilder) Returns DNS Lookup information.getAgreementStatus(String accountNumber) Returns the Agreement Status for the provided account number.byte[]getOrderSummary(RequestBuilder.OrderSummary requestBuilder) Gets the order summary document based on the parameters provided.getOrderTerms.getPricing(RequestBuilder.Pricing requestBuilder) Gets pricing information based on the parameters provided.getPricing(String deviceUuid) Gets pricing information for the specified Device.getVendorsTerms(String vendorPackage, LicenseType licenseType) Returns the vendor terms for the specified vendor package and license type.listAccounts(MetroCode metroCode) Lists available Accounts in the provided metro.listAllAccounts.listMetros.listMetrosByRegion(Region region) Lists available Metros with Network Edge present in the specified Region.
-
Constructor Details
-
SetupImpl
public SetupImpl(AccountClient<Account> serviceClientAccounts, MetroClient<Metro> serviceClientMetros, DNSClient<DNSLookup> serviceClientDNS, AgreementClient serviceClientAgreements, PricingClient serviceClientPricing, NetworkEdge serviceManager) Constructor for SetupImpl.
- Parameters:
serviceClientAccounts- aAccountClientobject.serviceClientMetros- aMetroClientobject.serviceClientDNS- aDNSClientobject.serviceClientAgreements- aAgreementClientobject.serviceClientPricing- aPricingClientobject.serviceManager- aNetworkEdgeobject.
-
-
Method Details
-
listAccounts
-
listAllAccounts
listAllAccounts.
- Specified by:
listAllAccountsin interfaceSetup- Returns:
- a
Listobject.
-
distinctByKey
-
listMetros
listMetros.
- Specified by:
listMetrosin interfaceSetup- Returns:
- a
PaginatedListobject.
-
listMetrosByRegion
Lists available Metros with Network Edge present in the specified Region.- Specified by:
listMetrosByRegionin interfaceSetup- Parameters:
region- theRegionof the metros.- Returns:
PaginatedList
-
dnsLookup
-
getAgreementStatus
Returns the Agreement Status for the provided account number.- Specified by:
getAgreementStatusin interfaceSetup- Parameters:
accountNumber- the unique account identifier.- Returns:
String
-
createAgreement
Creates an Agreement for the provided account number. The termsVersionId can be obtained from getAgreementStatus().- Specified by:
createAgreementin interfaceSetup- Parameters:
accountNumber- the unique account identifier.termsVersionId- the unique identifier of the agreement terms version.- Returns:
AgreementStatus
-
getVendorsTerms
Returns the vendor terms for the specified vendor package and license type.- Specified by:
getVendorsTermsin interfaceSetup- Parameters:
vendorPackage- the desired vendor package.licenseType- the desiredLicenseType.- Returns:
String
-
getOrderTerms
getOrderTerms.
- Specified by:
getOrderTermsin interfaceSetup- Returns:
- a
Stringobject.
-
getPricing
Gets pricing information based on the parameters provided.getPricing.
- Specified by:
getPricingin interfaceSetup- Parameters:
requestBuilder- the desired query parameters.- Returns:
Pricing
-
getPricing
-
getOrderSummary
Description copied from interface:SetupGets the order summary document based on the parameters provided.- Specified by:
getOrderSummaryin interfaceSetup- Parameters:
requestBuilder- the desired query parameters.- Returns:
- the order summary as a byte array.
-