com.aliyuncs.cdn.model.v20141111.SetDomainServerCertificateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aliyun-java-sdk-cdn Show documentation
Show all versions of aliyun-java-sdk-cdn Show documentation
Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com
/*
* 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 com.aliyuncs.cdn.model.v20141111;
import com.aliyuncs.RpcAcsRequest;
/**
* @author auto create
* @version
*/
public class SetDomainServerCertificateRequest extends RpcAcsRequest {
public SetDomainServerCertificateRequest() {
super("Cdn", "2014-11-11", "SetDomainServerCertificate");
}
private String privateKey;
private String forceSet;
private String serverCertificateStatus;
private String serverCertificate;
private String securityToken;
private String certType;
private String certName;
private String domainName;
private Long ownerId;
private String region;
public String getPrivateKey() {
return this.privateKey;
}
public void setPrivateKey(String privateKey) {
this.privateKey = privateKey;
if(privateKey != null){
putQueryParameter("PrivateKey", privateKey);
}
}
public String getForceSet() {
return this.forceSet;
}
public void setForceSet(String forceSet) {
this.forceSet = forceSet;
if(forceSet != null){
putQueryParameter("ForceSet", forceSet);
}
}
public String getServerCertificateStatus() {
return this.serverCertificateStatus;
}
public void setServerCertificateStatus(String serverCertificateStatus) {
this.serverCertificateStatus = serverCertificateStatus;
if(serverCertificateStatus != null){
putQueryParameter("ServerCertificateStatus", serverCertificateStatus);
}
}
public String getServerCertificate() {
return this.serverCertificate;
}
public void setServerCertificate(String serverCertificate) {
this.serverCertificate = serverCertificate;
if(serverCertificate != null){
putQueryParameter("ServerCertificate", serverCertificate);
}
}
public String getBizSecurityToken() {
return this.securityToken;
}
public void setBizSecurityToken(String securityToken) {
this.securityToken = securityToken;
if(securityToken != null){
putQueryParameter("SecurityToken", securityToken);
}
}
/**
* @deprecated use getBizSecurityToken instead of this.
*/
@Deprecated
public String getSecurityToken() {
return this.securityToken;
}
/**
* @deprecated use setBizSecurityToken instead of this.
*/
@Deprecated
public void setSecurityToken(String securityToken) {
this.securityToken = securityToken;
if(securityToken != null){
putQueryParameter("SecurityToken", securityToken);
}
}
public String getCertType() {
return this.certType;
}
public void setCertType(String certType) {
this.certType = certType;
if(certType != null){
putQueryParameter("CertType", certType);
}
}
public String getCertName() {
return this.certName;
}
public void setCertName(String certName) {
this.certName = certName;
if(certName != null){
putQueryParameter("CertName", certName);
}
}
public String getDomainName() {
return this.domainName;
}
public void setDomainName(String domainName) {
this.domainName = domainName;
if(domainName != null){
putQueryParameter("DomainName", domainName);
}
}
public Long getOwnerId() {
return this.ownerId;
}
public void setOwnerId(Long ownerId) {
this.ownerId = ownerId;
if(ownerId != null){
putQueryParameter("OwnerId", ownerId.toString());
}
}
public String getRegion() {
return this.region;
}
public void setRegion(String region) {
this.region = region;
if(region != null){
putQueryParameter("Region", region);
}
}
@Override
public Class getResponseClass() {
return SetDomainServerCertificateResponse.class;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy