Class ServiceTokenOperator.ServiceTokenBuilder
java.lang.Object
com.eqixiac.equinix.fabric.model.json.creators.ServiceTokenOperator.ServiceTokenBuilder
- Enclosing class:
ServiceTokenOperator
- Author:
- ianjones
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowCustomBandwidth(Boolean allowCustomBandwidth) allowRemoteConnection(Boolean allowRemoteConnection) create()dryRun()forAccessPointType(AccessPointType accessPointType) forConnectionType(ConnectionType connectionType) ofType(ServiceTokenType serviceTokenType) onNetworkUuid(String networkUuid) Targets a Fabric network (access point selector typeNETWORK), e.g. for EVPLAN/EPLAN tokens.onPortUuid(String portUuid) onVirtualDeviceUuid(String virtualDeviceUuid) Targets a Network Edge virtual device (access point selector typeVD).usingProtocolDot1q(Integer vLanTag) usingProtocolQinQ(Integer vLanCTag, Integer vlanSTag) withBandwidthLimit(Integer bandwidthLimit) withDescription(String description) withExpirationDateTime(LocalDateTime expirationDateTime) Sets the expiration date and time of the service token.withNetworkInterfaceId(Integer interfaceId) Selects a network interface on the targeted virtual device.withNotificationEmail(String emailAddress) withSupportedBandwidths(List<Integer> supportedBandwidths)
-
Constructor Details
-
ServiceTokenBuilder
-
-
Method Details
-
ofType
-
withName
-
withDescription
-
withExpirationDateTime
public ServiceTokenOperator.ServiceTokenBuilder withExpirationDateTime(LocalDateTime expirationDateTime) Sets the expiration date and time of the service token.UTC contract: the
LocalDateTimeinput is UTC wall clock (matching every timestamp the SDK returns, includingServiceToken.getExpirationDateTime()); it is sent verbatim with a'Z'designator. UseLocalDateTime.now(ZoneOffset.UTC)as the base for relative expirations.- Parameters:
expirationDateTime- the expiration as UTC wall clock, sent asexpirationDateTime- Returns:
- this builder
-
inProject
-
forConnectionType
-
allowRemoteConnection
public ServiceTokenOperator.ServiceTokenBuilder allowRemoteConnection(Boolean allowRemoteConnection) -
allowCustomBandwidth
-
withBandwidthLimit
-
withSupportedBandwidths
public ServiceTokenOperator.ServiceTokenBuilder withSupportedBandwidths(List<Integer> supportedBandwidths) -
forAccessPointType
-
onPortUuid
-
onPort
-
onVirtualDeviceUuid
Targets a Network Edge virtual device (access point selector typeVD).- Parameters:
virtualDeviceUuid- the Network Edge assigned virtual device identifier- Returns:
- this builder
-
withNetworkInterfaceId
Selects a network interface on the targeted virtual device.- Parameters:
interfaceId- the Network Edge assigned interface identifier- Returns:
- this builder
-
onNetworkUuid
Targets a Fabric network (access point selector typeNETWORK), e.g. for EVPLAN/EPLAN tokens.- Parameters:
networkUuid- the network identifier- Returns:
- this builder
-
usingProtocolDot1q
-
usingProtocolQinQ
public ServiceTokenOperator.ServiceTokenBuilder usingProtocolQinQ(Integer vLanCTag, Integer vlanSTag) -
withNotificationEmail
-
dryRun
-
create
-