public class AssumeRoleWithWebIdentityRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AssumeRoleWithWebIdentityRequest() | 
| AssumeRoleWithWebIdentityRequest(AssumeRoleWithWebIdentityRequest 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 | 
|---|---|
| Long | getDurationSeconds()Get 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒 | 
| String | getProviderId()Get 身份提供商名称 | 
| String | getRoleArn()Get 角色访问描述名 | 
| String | getRoleSessionName()Get 会话名称 | 
| String | getWebIdentityToken()Get IdP签发的OIDC令牌 | 
| void | setDurationSeconds(Long DurationSeconds)Set 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒 | 
| void | setProviderId(String ProviderId)Set 身份提供商名称 | 
| void | setRoleArn(String RoleArn)Set 角色访问描述名 | 
| void | setRoleSessionName(String RoleSessionName)Set 会话名称 | 
| void | setWebIdentityToken(String WebIdentityToken)Set IdP签发的OIDC令牌 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AssumeRoleWithWebIdentityRequest()
public AssumeRoleWithWebIdentityRequest(AssumeRoleWithWebIdentityRequest source)
public String getProviderId()
public void setProviderId(String ProviderId)
ProviderId - 身份提供商名称public String getWebIdentityToken()
public void setWebIdentityToken(String WebIdentityToken)
WebIdentityToken - IdP签发的OIDC令牌public String getRoleArn()
public void setRoleArn(String RoleArn)
RoleArn - 角色访问描述名public String getRoleSessionName()
public void setRoleSessionName(String RoleSessionName)
RoleSessionName - 会话名称public Long getDurationSeconds()
public void setDurationSeconds(Long DurationSeconds)
DurationSeconds - 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒Copyright © 2025. All rights reserved.