Class TimeServiceFulfillRequest
java.lang.Object
com.eqixiac.equinix.fabric.model.implementation.TimeServiceFulfillRequest
Request body for fulfilling (provisioning) a Precision Time service via
PUT /timeServices/{serviceId} (spec schema precisionTimeServiceRequest).
Carries the Fabric connection UUIDs to attach plus the service type, name,
package and ipv4 network information required by the spec, and the optional
NTP / PTP advanced configuration, project and order references. Unset fields are omitted
from the serialized body.- Author:
- ianjones
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classReference to a Fabric connection, identified by UUID. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithIpv4(PrecisionTimeIpv4 ipv4) Sets the EPT service network information.Sets the Precision Time service name.withNtpAdvancedConfiguration(List<Md5> ntpAdvancedConfiguration) Sets the NTP advanced configuration (MD5 authentication entries).withOrder(PrecisionTimeOrder order) Sets the order details.withPackageCode(PrecisionTimePackageCode packageCode) Sets the service package (tier).withProject(Project project) Sets the owning project reference.withPtpAdvancedConfiguration(PtpAdvanceConfiguration ptpAdvancedConfiguration) Sets the PTP advanced configuration.withType(PrecisionTimeType type) Sets the service type (NTPorPTP).
-
Constructor Details
-
TimeServiceFulfillRequest
-
-
Method Details
-
withType
Sets the service type (NTPorPTP).- Parameters:
type- the protocol type- Returns:
- this request
-
withName
Sets the Precision Time service name.- Parameters:
name- the service name- Returns:
- this request
-
withPackageCode
Sets the service package (tier).- Parameters:
packageCode- the package code- Returns:
- this request
-
withIpv4
Sets the EPT service network information.- Parameters:
ipv4- the ipv4 configuration- Returns:
- this request
-
withNtpAdvancedConfiguration
Sets the NTP advanced configuration (MD5 authentication entries).- Parameters:
ntpAdvancedConfiguration- the MD5 entries- Returns:
- this request
-
withPtpAdvancedConfiguration
public TimeServiceFulfillRequest withPtpAdvancedConfiguration(PtpAdvanceConfiguration ptpAdvancedConfiguration) Sets the PTP advanced configuration.- Parameters:
ptpAdvancedConfiguration- the PTP configuration- Returns:
- this request
-
withProject
Sets the owning project reference.- Parameters:
project- the project- Returns:
- this request
-
withOrder
Sets the order details.- Parameters:
order- the order reference- Returns:
- this request
-