All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.ucloud.ucdn.models.AddCertificateRequest Maven / Gradle / Ivy

/**
 * Copyright 2021 UCloud Technology Co., Ltd.
 *
 * 

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of the License at * *

http://www.apache.org/licenses/LICENSE-2.0 * *

Unless required by applicable law or agreed to in writing, software distributed under the * License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing permissions and * limitations under the License. */ package cn.ucloud.ucdn.models; import cn.ucloud.common.annotation.NotEmpty; import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; public class AddCertificateRequest extends Request { /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */ @UCloudParam("ProjectId") private String projectId; /** 证书名称 */ @NotEmpty @UCloudParam("CertName") private String certName; /** 用户证书 */ @NotEmpty @UCloudParam("UserCert") private String userCert; /** 用户私钥 */ @NotEmpty @UCloudParam("PrivateKey") private String privateKey; /** Ca证书,默认为空 */ @UCloudParam("CaCert") private String caCert; public String getProjectId() { return projectId; } public void setProjectId(String projectId) { this.projectId = projectId; } public String getCertName() { return certName; } public void setCertName(String certName) { this.certName = certName; } public String getUserCert() { return userCert; } public void setUserCert(String userCert) { this.userCert = userCert; } public String getPrivateKey() { return privateKey; } public void setPrivateKey(String privateKey) { this.privateKey = privateKey; } public String getCaCert() { return caCert; } public void setCaCert(String caCert) { this.caCert = caCert; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy