Class DeviceACLRequest
java.lang.Object
com.eqixiac.equinix.networkedge.model.json.creators.DeviceACLRequest
Request body for associating ACL templates with a virtual device. Holds an array of
ACLDetail entries, one per
interface (MGMT/WAN) the template should be provisioned on. Used by both the
add (POST) and update (PATCH) device-ACL operations.
DeviceACLRequest request = new DeviceACLRequest()
.withAcl(ACLInterfaceType.WAN, "be7ef79e-31e7-4769-be5b-e192496f48aa")
.withAcl(ACLInterfaceType.MGMT, "ce7ef79e-31e7-4769-be5b-e192496f48ab");
- Author:
- ianjones
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwithAcl(ACLInterfaceType interfaceType, String aclTemplateUuid) Adds an ACL association to this request.Adds a pre-built ACL association to this request.
-
Constructor Details
-
DeviceACLRequest
public DeviceACLRequest()
-
-
Method Details
-
withAcl
Adds an ACL association to this request.
- Parameters:
interfaceType- theACLInterfaceTypethe ACL applies to.aclTemplateUuid- the unique identifier of the ACL template to associate.- Returns:
- this
DeviceACLRequestfor chaining.
-
withAcl
Adds a pre-built ACL association to this request.
- Parameters:
aclDetail- theACLDetailto add.- Returns:
- this
DeviceACLRequestfor chaining.
-