Class PortCreatorJson
java.lang.Object
com.eqixiac.equinix.fabric.model.implementation.PortCreatorJson
Typed request body for creating a single Fabric port (
POST /fabric/v4/ports, schema
PortRequest). Models the spec's request properties: type,
physicalPortsSpeed, physicalPortsType, physicalPortsCount,
connectivitySourceType, bmmrType, project, account,
location, encapsulation, order, lagEnabled,
demarcationPointIbx, tetherIbx, demarcationPoint, redundancy,
package, notifications, physicalPorts, loas,
plus the serviceCode. The spec-deprecated serviceType, bandwidth and
settings (PortSettings, every property deprecated) are no longer sent.
The account and location members follow the spec's
SimplifiedAccountRequest (accountNumber) and SimplifiedLocationRequest
(metroCode) request shapes. Instances are built from
PortOperator.PortBuilder; null members are omitted from the JSON.
- Author:
- ianjones
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classRequest-side account reference (SimplifiedAccountRequest): the account number under which the port is created.static final classRequest-side location reference (SimplifiedLocationRequest): the metro in which the port is provisioned. -
Constructor Summary
ConstructorsConstructorDescriptionPortCreatorJson(PortOperator.PortBuilder builder) Constructs the request from a configuredPortOperator.PortBuilder. -
Method Summary
-
Constructor Details
-
PortCreatorJson
Constructs the request from a configuredPortOperator.PortBuilder.- Parameters:
builder- the fluent builder carrying the configured fields
-