Class KeyGrant.KeyGrantBuilder
java.lang.Object
com.salesforce.multicloudj.kms.model.KeyGrant.KeyGrantBuilder
- Enclosing class:
- KeyGrant
-
Method Summary
Modifier and TypeMethodDescriptionactions(Collection<? extends KeyAction> actions) build()condition(KeyCondition condition) conditions(Collection<? extends KeyCondition> conditions) Optional caller-chosen identifier of the grant, kept on providers whose native policy entries carry an identifier and dropped on the others.principal(KeyPrincipal principal) principals(Collection<? extends KeyPrincipal> principals) toString()
-
Method Details
-
id
Optional caller-chosen identifier of the grant, kept on providers whose native policy entries carry an identifier and dropped on the others.- Returns:
this.
-
principal
-
principals
-
clearPrincipals
-
action
-
actions
-
clearActions
-
effect
- Returns:
this.
-
condition
-
conditions
-
clearConditions
-
build
-
toString
-