@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class CreateIamRoleRequest extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
JSON_PROPERTY_DESCRIPTION |
static String |
JSON_PROPERTY_LABEL |
static String |
JSON_PROPERTY_PERMISSIONS |
Constructor and Description |
---|
CreateIamRoleRequest() |
Modifier and Type | Method and Description |
---|---|
CreateIamRoleRequest |
addPermissionsItem(RolePermissionType permissionsItem) |
CreateIamRoleRequest |
description(String description) |
boolean |
equals(Object o) |
String |
getDescription()
Description of the role
|
String |
getLabel()
Unique label for the role
|
List<RolePermissionType> |
getPermissions()
Array of permissions that the role will grant.
|
int |
hashCode() |
CreateIamRoleRequest |
label(String label) |
CreateIamRoleRequest |
permissions(List<RolePermissionType> permissions) |
void |
setDescription(String description) |
void |
setLabel(String label) |
void |
setPermissions(List<RolePermissionType> permissions) |
String |
toString() |
public static final String JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_LABEL
public static final String JSON_PROPERTY_PERMISSIONS
public CreateIamRoleRequest description(String description)
public void setDescription(String description)
public CreateIamRoleRequest label(String label)
public void setLabel(String label)
public CreateIamRoleRequest permissions(List<RolePermissionType> permissions)
public CreateIamRoleRequest addPermissionsItem(RolePermissionType permissionsItem)
@Nonnull public List<RolePermissionType> getPermissions()
public void setPermissions(List<RolePermissionType> permissions)
Copyright © 2017–2023 Okta. All rights reserved.