Class ModifyCustomAccountRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tcr.v20190924.models.ModifyCustomAccountRequest
-
public class ModifyCustomAccountRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ModifyCustomAccountRequest()
ModifyCustomAccountRequest(ModifyCustomAccountRequest 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 String
getDescription()
Get 自定义的账户描述Boolean
getDisable()
Get 是否禁用自定义的账户Long
getDuration()
Get 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAtLong
getExpiresAt()
Get 自定义的账户过期时间(时间戳)String
getName()
Get 自定义的账户名Permission[]
getPermissions()
Get 策略列表String
getRegistryId()
Get 实例Idvoid
setDescription(String Description)
Set 自定义的账户描述void
setDisable(Boolean Disable)
Set 是否禁用自定义的账户void
setDuration(Long Duration)
Set 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAtvoid
setExpiresAt(Long ExpiresAt)
Set 自定义的账户过期时间(时间戳)void
setName(String Name)
Set 自定义的账户名void
setPermissions(Permission[] Permissions)
Set 策略列表void
setRegistryId(String RegistryId)
Set 实例Idvoid
toMap(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
-
ModifyCustomAccountRequest
public ModifyCustomAccountRequest()
-
ModifyCustomAccountRequest
public ModifyCustomAccountRequest(ModifyCustomAccountRequest 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
-
getRegistryId
public String getRegistryId()
Get 实例Id- Returns:
- RegistryId 实例Id
-
setRegistryId
public void setRegistryId(String RegistryId)
Set 实例Id- Parameters:
RegistryId
- 实例Id
-
getName
public String getName()
Get 自定义的账户名- Returns:
- Name 自定义的账户名
-
setName
public void setName(String Name)
Set 自定义的账户名- Parameters:
Name
- 自定义的账户名
-
getDescription
public String getDescription()
Get 自定义的账户描述- Returns:
- Description 自定义的账户描述
-
setDescription
public void setDescription(String Description)
Set 自定义的账户描述- Parameters:
Description
- 自定义的账户描述
-
getDuration
public Long getDuration()
Get 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAt- Returns:
- Duration 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAt
-
setDuration
public void setDuration(Long Duration)
Set 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAt- Parameters:
Duration
- 有效期(单位:天),从当前时间开始计算,优先级高于ExpiresAt
-
getExpiresAt
public Long getExpiresAt()
Get 自定义的账户过期时间(时间戳)- Returns:
- ExpiresAt 自定义的账户过期时间(时间戳)
-
setExpiresAt
public void setExpiresAt(Long ExpiresAt)
Set 自定义的账户过期时间(时间戳)- Parameters:
ExpiresAt
- 自定义的账户过期时间(时间戳)
-
getDisable
public Boolean getDisable()
Get 是否禁用自定义的账户- Returns:
- Disable 是否禁用自定义的账户
-
setDisable
public void setDisable(Boolean Disable)
Set 是否禁用自定义的账户- Parameters:
Disable
- 是否禁用自定义的账户
-
getPermissions
public Permission[] getPermissions()
Get 策略列表- Returns:
- Permissions 策略列表
-
setPermissions
public void setPermissions(Permission[] Permissions)
Set 策略列表- Parameters:
Permissions
- 策略列表
-
-