public class CreateRoleRequest extends AbstractModel
Constructor and Description |
---|
CreateRoleRequest() |
Modifier and Type | Method and Description |
---|---|
Long |
getConsoleLogin()
Get Whether login is allowed.
|
String |
getDescription()
Get Role description
|
String |
getPolicyDocument()
Get Policy document
|
String |
getRoleName()
Get Role name
|
Long |
getSessionDuration()
Get The maximum validity period of the temporary key for creating a role (range: 0-43200)
|
void |
setConsoleLogin(Long ConsoleLogin)
Set Whether login is allowed.
|
void |
setDescription(String Description)
Set Role description
|
void |
setPolicyDocument(String PolicyDocument)
Set Policy document
|
void |
setRoleName(String RoleName)
Set Role name
|
void |
setSessionDuration(Long SessionDuration)
Set The maximum validity period of the temporary key for creating a role (range: 0-43200)
|
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, toJsonString
public String getRoleName()
public void setRoleName(String RoleName)
RoleName
- Role namepublic String getPolicyDocument()
public void setPolicyDocument(String PolicyDocument)
PolicyDocument
- Policy documentpublic String getDescription()
public void setDescription(String Description)
Description
- Role descriptionpublic Long getConsoleLogin()
public void setConsoleLogin(Long ConsoleLogin)
ConsoleLogin
- Whether login is allowed. 1: yes, 0: nopublic Long getSessionDuration()
public void setSessionDuration(Long SessionDuration)
SessionDuration
- The maximum validity period of the temporary key for creating a role (range: 0-43200)Copyright © 2020. All rights reserved.