public class UpdateCertificateInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpdateCertificateInstanceRequest() |
UpdateCertificateInstanceRequest(UpdateCertificateInstanceRequest 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 |
---|---|
Boolean |
getAllowDownload()
Get Whether to allow downloading.
|
String |
getCertificateId()
Get New certificate id for one-click update.
|
String |
getCertificatePrivateKey()
Get If a private key certificate is uploaded, then a public key certificate must be uploaded; CertificateId is not required.
|
String |
getCertificatePublicKey()
Get If a public key certificate is uploaded, the private key certificate must also be uploaded, and the CertificateId does not need to be transmitted.
|
Long |
getExpiringNotificationSwitch()
Get Whether to ignore expiration reminder for old certificate 0: do not ignore the notification.
|
String |
getOldCertificateId()
Get The old certificate id for one-click update.
|
Long |
getProjectId()
Get Project id.
|
String[] |
getRegions()
Deprecated.
|
Boolean |
getRepeatable()
Get It specifies whether the same certificate is allowed to be uploaded repeatedly.
|
String[] |
getResourceTypes()
Get Resource types that need to be deployed, with optional parameter values (lowercase): clb, cdn, waf, live, ddos, teo, apigateway, vod, tke, tcb, tse, cos.
|
ResourceTypeRegions[] |
getResourceTypesRegions()
Get List of regions where cloud resources need to be deployed.
|
Tags[] |
getTags()
Get Tag list.
|
void |
setAllowDownload(Boolean AllowDownload)
Set Whether to allow downloading.
|
void |
setCertificateId(String CertificateId)
Set New certificate id for one-click update.
|
void |
setCertificatePrivateKey(String CertificatePrivateKey)
Set If a private key certificate is uploaded, then a public key certificate must be uploaded; CertificateId is not required.
|
void |
setCertificatePublicKey(String CertificatePublicKey)
Set If a public key certificate is uploaded, the private key certificate must also be uploaded, and the CertificateId does not need to be transmitted.
|
void |
setExpiringNotificationSwitch(Long ExpiringNotificationSwitch)
Set Whether to ignore expiration reminder for old certificate 0: do not ignore the notification.
|
void |
setOldCertificateId(String OldCertificateId)
Set The old certificate id for one-click update.
|
void |
setProjectId(Long ProjectId)
Set Project id.
|
void |
setRegions(String[] Regions)
Deprecated.
|
void |
setRepeatable(Boolean Repeatable)
Set It specifies whether the same certificate is allowed to be uploaded repeatedly.
|
void |
setResourceTypes(String[] ResourceTypes)
Set Resource types that need to be deployed, with optional parameter values (lowercase): clb, cdn, waf, live, ddos, teo, apigateway, vod, tke, tcb, tse, cos.
|
void |
setResourceTypesRegions(ResourceTypeRegions[] ResourceTypesRegions)
Set List of regions where cloud resources need to be deployed.
|
void |
setTags(Tags[] Tags)
Set Tag list.
|
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 UpdateCertificateInstanceRequest()
public UpdateCertificateInstanceRequest(UpdateCertificateInstanceRequest source)
public String getOldCertificateId()
public void setOldCertificateId(String OldCertificateId)
OldCertificateId
- The old certificate id for one-click update. by querying the cloud resources bound to this certificate id, and then updating these cloud resources with the new certificate.public String[] getResourceTypes()
public void setResourceTypes(String[] ResourceTypes)
ResourceTypes
- Resource types that need to be deployed, with optional parameter values (lowercase): clb, cdn, waf, live, ddos, teo, apigateway, vod, tke, tcb, tse, cos.public String getCertificateId()
public void setCertificateId(String CertificateId)
CertificateId
- New certificate id for one-click update. if this parameter is not provided, the public key certificate and private key certificate must be provided.@Deprecated public String[] getRegions()
@Deprecated public void setRegions(String[] Regions)
Regions
- List of regions that need to be deployed (deprecated)public ResourceTypeRegions[] getResourceTypesRegions()
public void setResourceTypesRegions(ResourceTypeRegions[] ResourceTypesRegions)
ResourceTypesRegions
- List of regions where cloud resources need to be deployed. the cloud resource type of the supported region must be passed. valid values: clb, tke, apigateway, waf, tcb, tse, cos.public String getCertificatePublicKey()
public void setCertificatePublicKey(String CertificatePublicKey)
CertificatePublicKey
- If a public key certificate is uploaded, the private key certificate must also be uploaded, and the CertificateId does not need to be transmitted.public String getCertificatePrivateKey()
public void setCertificatePrivateKey(String CertificatePrivateKey)
CertificatePrivateKey
- If a private key certificate is uploaded, then a public key certificate must be uploaded; CertificateId is not required.public Long getExpiringNotificationSwitch()
public void setExpiringNotificationSwitch(Long ExpiringNotificationSwitch)
ExpiringNotificationSwitch
- Whether to ignore expiration reminder for old certificate 0: do not ignore the notification. 1: ignore the notification, ignore the expiration reminder of OldCertificateId.public Boolean getRepeatable()
public void setRepeatable(Boolean Repeatable)
Repeatable
- It specifies whether the same certificate is allowed to be uploaded repeatedly. If the public key and private key certificates are selected for upload, this parameter can be configured. If there are duplicate certificates, the update task will fail.public Boolean getAllowDownload()
public void setAllowDownload(Boolean AllowDownload)
AllowDownload
- Whether to allow downloading. If you choose to upload a public/private key certificate, this parameter can be configured.public Tags[] getTags()
public void setTags(Tags[] Tags)
Tags
- Tag list. If you choose to upload a public/private key certificate, you can configure this parameter.public Long getProjectId()
public void setProjectId(Long ProjectId)
ProjectId
- Project id. If you choose to upload a public/private key certificate, you can configure this parameter.Copyright © 2025. All rights reserved.