Class AddGrantRequest
java.lang.Object
com.eqixiac.equinix.iam.model.json.creators.AddGrantRequest
Request body for adding a grant to an IAM access policy via
POST
/v1/projects/{projectId}/accessPolicies/{accessPolicyId}/grants (operationId addGrant,
spec schema AddGrantBody).
The lastRev field supports optimistic concurrency control.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the grantee (required) — the principal receiving the grant.Sets the last known revision for optimistic concurrency control.
-
Constructor Details
-
AddGrantRequest
public AddGrantRequest()
-
-
Method Details
-
grantee
Sets the grantee (required) — the principal receiving the grant.- Parameters:
grantee- the grantee- 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
-