Class TimeServiceFulfillRequest

java.lang.Object
com.eqixiac.equinix.fabric.model.implementation.TimeServiceFulfillRequest

public class TimeServiceFulfillRequest extends Object
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
  • Constructor Details

    • TimeServiceFulfillRequest

      public TimeServiceFulfillRequest(List<String> connectionUuids)
      Parameters:
      connectionUuids - the Fabric connection UUIDs to attach to the service
  • Method Details

    • withType

      Sets the service type (NTP or PTP).
      Parameters:
      type - the protocol type
      Returns:
      this request
    • withName

      public TimeServiceFulfillRequest withName(String name)
      Sets the Precision Time service name.
      Parameters:
      name - the service name
      Returns:
      this request
    • withPackageCode

      public TimeServiceFulfillRequest withPackageCode(PrecisionTimePackageCode packageCode)
      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

      public TimeServiceFulfillRequest withNtpAdvancedConfiguration(List<Md5> ntpAdvancedConfiguration)
      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

      public TimeServiceFulfillRequest withProject(Project project)
      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