public class RoleInfo extends AbstractModel
| Constructor and Description | 
|---|
| RoleInfo() | 
| RoleInfo(RoleInfo source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| 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. | 
| RoleTags[] | getTags()Get Tags. | 
| 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 | setTags(RoleTags[] Tags)Set Tags. | 
| 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 RoleInfo()
public RoleInfo(RoleInfo source)
public 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.public RoleTags[] getTags()
public void setTags(RoleTags[] Tags)
Tags - Tags.
Note: This field may return `null`, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.