public class CreateServiceAccountRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
CreateServiceAccountRequest()  | 
CreateServiceAccountRequest(CreateServiceAccountRequest 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 Service account description 
 | 
Boolean | 
getDisable()
Get Whether to disable the service account 
 | 
Long | 
getDuration()
Get Validity in days starting from the current day. 
 | 
Long | 
getExpiresAt()
Get Expiry time (timestamp, in milliseconds) 
 | 
String | 
getName()
Get Service account name 
 | 
Permission[] | 
getPermissions()
Get Policy list 
 | 
String | 
getRegistryId()
Get Instance ID 
 | 
void | 
setDescription(String Description)
Set Service account description 
 | 
void | 
setDisable(Boolean Disable)
Set Whether to disable the service account 
 | 
void | 
setDuration(Long Duration)
Set Validity in days starting from the current day. 
 | 
void | 
setExpiresAt(Long ExpiresAt)
Set Expiry time (timestamp, in milliseconds) 
 | 
void | 
setName(String Name)
Set Service 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, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic CreateServiceAccountRequest()
public CreateServiceAccountRequest(CreateServiceAccountRequest source)
public String getRegistryId()
public void setRegistryId(String RegistryId)
RegistryId - Instance IDpublic String getName()
public void setName(String Name)
Name - Service account namepublic Permission[] getPermissions()
public void setPermissions(Permission[] Permissions)
Permissions - Policy listpublic String getDescription()
public void setDescription(String Description)
Description - Service 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 (timestamp, in milliseconds)public Boolean getDisable()
public void setDisable(Boolean Disable)
Disable - Whether to disable the service accountCopyright © 2025. All rights reserved.