Class UpdatePolicyMaskRequest
java.lang.Object
com.eqixiac.equinix.iam.model.json.creators.UpdatePolicyMaskRequest
Request body for updating an IAM policy mask via
PUT
/v1/projects/{projectId}/policyMasks/{policyMaskId} (operationId updatePolicyMask, spec
schema UpdatePolicyMaskBody).
The managedPolicies/managedPermissionSets fields are a oneOf of the
literal string "none" or an array of ids, and subtract is a structured object;
each is a PolicyExpression that losslessly preserves whichever form is supplied. The
lastRev field supports optimistic concurrency control.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Sets the description of the policy mask.Sets the last known revision for optimistic concurrency control.managedPermissionSets(PolicyExpression managedPermissionSets) Sets the managed permission sets — either"none"or an array ofmanagedset:ids.managedPolicies(PolicyExpression managedPolicies) Sets the managed policies — either"none"or an array ofmanagedpolicy:ids.subtract(PolicyExpression subtract) Sets thesubtractobject (carrying nestedmanagedPolicies/managedPermissionSetsarrays).Sets the user-controlled tags.
-
Constructor Details
-
UpdatePolicyMaskRequest
public UpdatePolicyMaskRequest()
-
-
Method Details
-
tags
Sets the user-controlled tags.- Parameters:
tags- the tags- Returns:
- this request for chaining
-
description
Sets the description of the policy mask.- Parameters:
description- the description- Returns:
- this request for chaining
-
managedPolicies
Sets the managed policies — either"none"or an array ofmanagedpolicy:ids.- Parameters:
managedPolicies- the managed policies as aPolicyExpression- Returns:
- this request for chaining
-
managedPermissionSets
Sets the managed permission sets — either"none"or an array ofmanagedset:ids.- Parameters:
managedPermissionSets- the managed permission sets as aPolicyExpression- Returns:
- this request for chaining
-
subtract
Sets thesubtractobject (carrying nestedmanagedPolicies/managedPermissionSetsarrays).- Parameters:
subtract- the subtract object as aPolicyExpression- Returns:
- this request for chaining
-
lastRev
Sets the last known revision for optimistic concurrency control.- Parameters:
lastRev- the last revision- Returns:
- this request for chaining
-