public class CreateCustomAccountRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateCustomAccountRequest() |
CreateCustomAccountRequest(CreateCustomAccountRequest 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 |
---|---|
String |
getDescription()
Get Custom account description
|
Boolean |
getDisable()
Get Whether to disable the custom account
|
Long |
getDuration()
Get Validity in days starting from the current day.
|
Long |
getExpiresAt()
Get Expiry time of the custom account (timestamp, in milliseconds)
|
String |
getName()
Get Custom account name
|
Permission[] |
getPermissions()
Get Policy list
|
String |
getRegistryId()
Get Instance ID
|
void |
setDescription(String Description)
Set Custom account description
|
void |
setDisable(Boolean Disable)
Set Whether to disable the custom account
|
void |
setDuration(Long Duration)
Set Validity in days starting from the current day.
|
void |
setExpiresAt(Long ExpiresAt)
Set Expiry time of the custom account (timestamp, in milliseconds)
|
void |
setName(String Name)
Set Custom account name
|
void |
setPermissions(Permission[] Permissions)
Set Policy list
|
void |
setRegistryId(String RegistryId)
Set Instance ID
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateCustomAccountRequest()
public CreateCustomAccountRequest(CreateCustomAccountRequest source)
public String getRegistryId()
public void setRegistryId(String RegistryId)
RegistryId
- Instance IDpublic String getName()
public void setName(String Name)
Name
- Custom account namepublic Permission[] getPermissions()
public void setPermissions(Permission[] Permissions)
Permissions
- Policy listpublic String getDescription()
public void setDescription(String Description)
Description
- Custom account descriptionpublic Long getDuration()
public void setDuration(Long Duration)
Duration
- Validity in days starting from the current day. It takes a higher priority than `ExpiresAt`.public Long getExpiresAt()
public void setExpiresAt(Long ExpiresAt)
ExpiresAt
- Expiry time of the custom account (timestamp, in milliseconds)public Boolean getDisable()
public void setDisable(Boolean Disable)
Disable
- Whether to disable the custom accountCopyright © 2024. All rights reserved.