Class RoutingProtocolWrapper
java.lang.Object
com.eqixiac.equinix.core.model.ResourceImpl<RoutingProtocol>
com.eqixiac.equinix.fabric.model.wrappers.RoutingProtocolWrapper
- All Implemented Interfaces:
Resource<RoutingProtocol>, DeletableResource, RoutingProtocol
public class RoutingProtocolWrapper
extends ResourceImpl<RoutingProtocol>
implements RoutingProtocol
-
Constructor Summary
ConstructorsConstructorDescriptionRoutingProtocolWrapper(RoutingProtocolJson routingProtocolJson, Pageable<RoutingProtocol> serviceClient) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whetherdelete(...)was called successfully on this model instance.voidBegins a fluent update of this routing protocol on its parent connection, e.g.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Resource
getServiceClientMethods inherited from interface RoutingProtocol
getAsOverrideEnabled, getBfd, getBgpAuthKey, getBgpIpv4, getBgpIpv6, getChange, getChangeLog, getConnection, getCustomerAsn, getDirectIpv4, getDirectIpv6, getEquinixAsn, getHref, getName, getOperation, getProject, getState, getType, getUuid
-
Constructor Details
-
RoutingProtocolWrapper
public RoutingProtocolWrapper(RoutingProtocolJson routingProtocolJson, Pageable<RoutingProtocol> serviceClient)
-
-
Method Details
-
update
Description copied from interface:RoutingProtocolBegins a fluent update of this routing protocol on its parent connection, e.g.routingProtocol.update(connectionId).name("New-Name").save().- Specified by:
updatein interfaceRoutingProtocol- Parameters:
connectionId- the uuid of the parent connection- Returns:
- a
RoutingProtocolOperator.RoutingProtocolUpdater
-
delete
- Specified by:
deletein interfaceRoutingProtocol
-
isDeleted
public boolean isDeleted()Description copied from interface:DeletableResourceReturns whetherdelete(...)was called successfully on this model instance.- Specified by:
isDeletedin interfaceDeletableResource- Returns:
trueonce this instance has been deleted
-
refresh
- Specified by:
refreshin interfaceRoutingProtocol
-