public class ModifyServiceAccountRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyServiceAccountRequest() |
ModifyServiceAccountRequest(ModifyServiceAccountRequest 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, It takes a higher priority than `ExpiresAt`.
|
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, It takes a higher priority than `ExpiresAt`.
|
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, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public ModifyServiceAccountRequest()
public ModifyServiceAccountRequest(ModifyServiceAccountRequest source)
public String getRegistryId()
public void setRegistryId(String RegistryId)
RegistryId
- Instance IDpublic String getName()
public void setName(String Name)
Name
- Service account namepublic 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 accountpublic Permission[] getPermissions()
public void setPermissions(Permission[] Permissions)
Permissions
- Policy listCopyright © 2024. All rights reserved.