Class AssumeRoleWithWebIdentityRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.sts.v20180813.models.AssumeRoleWithWebIdentityRequest
-
public class AssumeRoleWithWebIdentityRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetDurationSeconds()Get 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒StringgetProviderId()Get 身份提供商名称StringgetRoleArn()Get 角色访问描述名StringgetRoleSessionName()Get 会话名称StringgetWebIdentityToken()Get IdP签发的OIDC令牌voidsetDurationSeconds(Long DurationSeconds)Set 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒voidsetProviderId(String ProviderId)Set 身份提供商名称voidsetRoleArn(String RoleArn)Set 角色访问描述名voidsetRoleSessionName(String RoleSessionName)Set 会话名称voidsetWebIdentityToken(String WebIdentityToken)Set IdP签发的OIDC令牌voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
AssumeRoleWithWebIdentityRequest
public AssumeRoleWithWebIdentityRequest()
-
AssumeRoleWithWebIdentityRequest
public 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.
-
-
Method Detail
-
getProviderId
public String getProviderId()
Get 身份提供商名称- Returns:
- ProviderId 身份提供商名称
-
setProviderId
public void setProviderId(String ProviderId)
Set 身份提供商名称- Parameters:
ProviderId- 身份提供商名称
-
getWebIdentityToken
public String getWebIdentityToken()
Get IdP签发的OIDC令牌- Returns:
- WebIdentityToken IdP签发的OIDC令牌
-
setWebIdentityToken
public void setWebIdentityToken(String WebIdentityToken)
Set IdP签发的OIDC令牌- Parameters:
WebIdentityToken- IdP签发的OIDC令牌
-
getRoleArn
public String getRoleArn()
Get 角色访问描述名- Returns:
- RoleArn 角色访问描述名
-
setRoleArn
public void setRoleArn(String RoleArn)
Set 角色访问描述名- Parameters:
RoleArn- 角色访问描述名
-
getRoleSessionName
public String getRoleSessionName()
Get 会话名称- Returns:
- RoleSessionName 会话名称
-
setRoleSessionName
public void setRoleSessionName(String RoleSessionName)
Set 会话名称- Parameters:
RoleSessionName- 会话名称
-
getDurationSeconds
public Long getDurationSeconds()
Get 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒- Returns:
- DurationSeconds 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒
-
setDurationSeconds
public void setDurationSeconds(Long DurationSeconds)
Set 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒- Parameters:
DurationSeconds- 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒
-
-