public static final class UpdateRoleRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateRoleRequest |
build() |
UpdateRoleRequest.Builder |
newAssumeRolePolicyDocument(String newAssumeRolePolicyDocument)
The document of the policy that specifies the trusted entity to assume the RAM role.
|
UpdateRoleRequest.Builder |
newDescription(String newDescription)
The description of the RAM role.
|
UpdateRoleRequest.Builder |
newMaxSessionDuration(Long newMaxSessionDuration)
The maximum session duration of the RAM role.
|
UpdateRoleRequest.Builder |
roleName(String roleName)
The name of the RAM role.
|
public UpdateRoleRequest.Builder newAssumeRolePolicyDocument(String newAssumeRolePolicyDocument)
public UpdateRoleRequest.Builder newDescription(String newDescription)
The description must be 1 to 1,024 characters in length.
public UpdateRoleRequest.Builder newMaxSessionDuration(Long newMaxSessionDuration)
Unit: seconds. Valid values: 3600 to 43200. Default value: 3600. If you do not specify this parameter, the default value is used.
public UpdateRoleRequest.Builder roleName(String roleName)
The name must be 1 to 64 characters in length and can contain letters, digits, periods (.),and hyphens (-).
public UpdateRoleRequest build()
Copyright © 2023. All rights reserved.