public class RoleInfo extends AbstractModel
| Constructor and Description | 
|---|
RoleInfo()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAddTime()
Get Time role created 
 | 
Long | 
getConsoleLogin()
Get If login is allowed for the role 
 | 
String | 
getDeletionTaskId()
Get Task identifier for deleting a service-linked role 
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
String | 
getDescription()
Get Role description 
 | 
String | 
getPolicyDocument()
Get Role policy document 
 | 
String | 
getRoleId()
Get Role ID 
 | 
String | 
getRoleName()
Get Role name 
 | 
String | 
getRoleType()
Get User role. 
 | 
Long | 
getSessionDuration()
Get Valid period
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
String | 
getUpdateTime()
Get Time role last updated 
 | 
void | 
setAddTime(String AddTime)
Set Time role created 
 | 
void | 
setConsoleLogin(Long ConsoleLogin)
Set If login is allowed for the role 
 | 
void | 
setDeletionTaskId(String DeletionTaskId)
Set Task identifier for deleting a service-linked role 
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setDescription(String Description)
Set Role description 
 | 
void | 
setPolicyDocument(String PolicyDocument)
Set Role policy document 
 | 
void | 
setRoleId(String RoleId)
Set Role ID 
 | 
void | 
setRoleName(String RoleName)
Set Role name 
 | 
void | 
setRoleType(String RoleType)
Set User role. 
 | 
void | 
setSessionDuration(Long SessionDuration)
Set Valid period
Note: this field may return null, indicating that no valid values can be obtained. 
 | 
void | 
setUpdateTime(String UpdateTime)
Set Time role last updated 
 | 
void | 
toMap(HashMap<String,String> map,
     String prefix)
Internal implementation, normal users should not use it. 
 | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic String getRoleId()
public void setRoleId(String RoleId)
RoleId - Role IDpublic String getRoleName()
public void setRoleName(String RoleName)
RoleName - Role namepublic String getPolicyDocument()
public void setPolicyDocument(String PolicyDocument)
PolicyDocument - Role policy documentpublic String getDescription()
public void setDescription(String Description)
Description - Role descriptionpublic String getAddTime()
public void setAddTime(String AddTime)
AddTime - Time role createdpublic String getUpdateTime()
public void setUpdateTime(String UpdateTime)
UpdateTime - Time role last updatedpublic Long getConsoleLogin()
public void setConsoleLogin(Long ConsoleLogin)
ConsoleLogin - If login is allowed for the rolepublic String getRoleType()
public void setRoleType(String RoleType)
RoleType - User role. Valid values: `user`, `system`, `service_linked`
Note: this field may return null, indicating that no valid values can be obtained.public Long getSessionDuration()
public void setSessionDuration(Long SessionDuration)
SessionDuration - Valid period
Note: this field may return null, indicating that no valid values can be obtained.public String getDeletionTaskId()
public void setDeletionTaskId(String DeletionTaskId)
DeletionTaskId - Task identifier for deleting a service-linked role 
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.