Class AssumeRoleWithSAMLRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.sts.v20180813.models.AssumeRoleWithSAMLRequest
-
public class AssumeRoleWithSAMLRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description AssumeRoleWithSAMLRequest()AssumeRoleWithSAMLRequest(AssumeRoleWithSAMLRequest 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 秒StringgetPrincipalArn()Get 扮演者访问描述名StringgetRoleArn()Get 角色访问描述名StringgetRoleSessionName()Get 会话名称StringgetSAMLAssertion()Get base64 编码的 SAML 断言信息voidsetDurationSeconds(Long DurationSeconds)Set 指定临时访问凭证的有效期,单位:秒,默认 7200 秒,最长可设定有效期为 43200 秒voidsetPrincipalArn(String PrincipalArn)Set 扮演者访问描述名voidsetRoleArn(String RoleArn)Set 角色访问描述名voidsetRoleSessionName(String RoleSessionName)Set 会话名称voidsetSAMLAssertion(String SAMLAssertion)Set base64 编码的 SAML 断言信息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
-
AssumeRoleWithSAMLRequest
public AssumeRoleWithSAMLRequest()
-
AssumeRoleWithSAMLRequest
public AssumeRoleWithSAMLRequest(AssumeRoleWithSAMLRequest 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
-
getSAMLAssertion
public String getSAMLAssertion()
Get base64 编码的 SAML 断言信息- Returns:
- SAMLAssertion base64 编码的 SAML 断言信息
-
setSAMLAssertion
public void setSAMLAssertion(String SAMLAssertion)
Set base64 编码的 SAML 断言信息- Parameters:
SAMLAssertion- base64 编码的 SAML 断言信息
-
getPrincipalArn
public String getPrincipalArn()
Get 扮演者访问描述名- Returns:
- PrincipalArn 扮演者访问描述名
-
setPrincipalArn
public void setPrincipalArn(String PrincipalArn)
Set 扮演者访问描述名- Parameters:
PrincipalArn- 扮演者访问描述名
-
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 秒
-
-