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

com.huawei.openstack4j.model.dns.v2.Recordset Maven / Gradle / Ivy

/*******************************************************************************
 * 	Copyright 2017 HuaWei TLD
 * 	Copyright 2016 ContainX and OpenStack4j
 *
 * 	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.                                                                     
 *******************************************************************************/
/******************************************************************************* 	                                                                                 
 *  Huawei has modified this source file.
 * 	Copyright 2018 Huawei Technologies 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 com.huawei.openstack4j.model.dns.v2;

import java.util.List;
import java.util.Map;

import com.huawei.openstack4j.common.Buildable;
import com.huawei.openstack4j.model.ModelEntity;
import com.huawei.openstack4j.model.dns.v2.builder.RecordsetBuilder;

/**
 * Recordset model
 *
 * @see API reference
 */
public interface Recordset extends ModelEntity, Buildable {

	/**
	 * @return id for the recordset
	 */
	String getId();

	/**
	 * @return id for the project that owns the resource
	 */
	String getProjectId();

	/**
	 * @return DNS Name for the recordset
	 */
	String getName();

	/**
	 * @return status of the resource
	 */
	Status getStatus();

	/**
	 * @return id for the zone that contains this recordset
	 */
	String getZoneId();

	/**
	 * @return name of the zone that contains this recordset
	 */
	String getZoneName();

	/**
	 * @return description for this recordset
	 */
	String getDescription();

	/**
	 * @return RRTYPE of the recordset
	 */
	RecordSetType getType();

	/**
	 * @return date / time when resource was created
	 */
	String getCreatedAt();

	/**
	 * @return links to the resource, and other related resources.
	 */
	Map getLinks();

	/**
	 * @return list of data for this recordset. Each item will be a separate record in Designate.
	 */
	List getRecords();

	/**
	 * @return TTL (Time to Live) for the recordset.
	 */
	Integer getTtl();

	/**
	 * @return date / time when resource was last updated
	 */
	String getUpdateAt();

	/**
	 * @return Extended field, doesn't support for now.
	 */
	String getHealthCheckId();

	/**
	 * @return Identity is default Record Set generated by the system, and it cannot be deleted
	 */
	String getDefaultValue();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy