Package com.okta.sdk.resource.model
Class CreateIamRoleRequest
java.lang.Object
com.okta.sdk.resource.model.CreateIamRoleRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class CreateIamRoleRequest
extends Object
implements Serializable
CreateIamRoleRequest
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddPermissionsItem
(RolePermissionType permissionsItem) description
(String description) boolean
Description of the rolegetLabel()
Unique label for the roleArray of permissions that the role will grant.int
hashCode()
permissions
(List<RolePermissionType> permissions) void
setDescription
(String description) void
void
setPermissions
(List<RolePermissionType> permissions) toString()
-
Field Details
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_LABEL
- See Also:
-
JSON_PROPERTY_PERMISSIONS
- See Also:
-
-
Constructor Details
-
CreateIamRoleRequest
public CreateIamRoleRequest()
-
-
Method Details
-
description
-
getDescription
Description of the role- Returns:
- description
-
setDescription
-
label
-
getLabel
Unique label for the role- Returns:
- label
-
setLabel
-
permissions
-
addPermissionsItem
-
getPermissions
Array of permissions that the role will grant. See [Permission Types](https://developer.okta.com/docs/concepts/role-assignment/#permission-types).- Returns:
- permissions
-
setPermissions
-
equals
-
hashCode
public int hashCode() -
toString
-