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

com.aliyuncs.cdn.model.v20141111.SetDynamicConfigRequest Maven / Gradle / Ivy

/*
 * 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 SetDynamicConfigRequest extends RpcAcsRequest {
	
	public SetDynamicConfigRequest() {
		super("Cdn", "2014-11-11", "SetDynamicConfig");
	}

	private String dynamicOrigin;

	private String staticType;

	private String securityToken;

	private String staticUri;

	private String domainName;

	private String staticPath;

	private String dynamicCacheControl;

	private Long ownerId;

	public String getDynamicOrigin() {
		return this.dynamicOrigin;
	}

	public void setDynamicOrigin(String dynamicOrigin) {
		this.dynamicOrigin = dynamicOrigin;
		if(dynamicOrigin != null){
			putQueryParameter("DynamicOrigin", dynamicOrigin);
		}
	}

	public String getStaticType() {
		return this.staticType;
	}

	public void setStaticType(String staticType) {
		this.staticType = staticType;
		if(staticType != null){
			putQueryParameter("StaticType", staticType);
		}
	}

	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 getStaticUri() {
		return this.staticUri;
	}

	public void setStaticUri(String staticUri) {
		this.staticUri = staticUri;
		if(staticUri != null){
			putQueryParameter("StaticUri", staticUri);
		}
	}

	public String getDomainName() {
		return this.domainName;
	}

	public void setDomainName(String domainName) {
		this.domainName = domainName;
		if(domainName != null){
			putQueryParameter("DomainName", domainName);
		}
	}

	public String getStaticPath() {
		return this.staticPath;
	}

	public void setStaticPath(String staticPath) {
		this.staticPath = staticPath;
		if(staticPath != null){
			putQueryParameter("StaticPath", staticPath);
		}
	}

	public String getDynamicCacheControl() {
		return this.dynamicCacheControl;
	}

	public void setDynamicCacheControl(String dynamicCacheControl) {
		this.dynamicCacheControl = dynamicCacheControl;
		if(dynamicCacheControl != null){
			putQueryParameter("DynamicCacheControl", dynamicCacheControl);
		}
	}

	public Long getOwnerId() {
		return this.ownerId;
	}

	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
		if(ownerId != null){
			putQueryParameter("OwnerId", ownerId.toString());
		}
	}

	@Override
	public Class getResponseClass() {
		return SetDynamicConfigResponse.class;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy