
org.xlcloud.service.heat.template.resources.ScalingGroupBase Maven / Gradle / Ivy
The newest version!
/*
* Copyright 2012 AMG.lab, a Bull Group Company
*
* 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 org.xlcloud.service.heat.template.resources;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import com.fasterxml.jackson.annotation.JsonSubTypes;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonSubTypes.Type;
/**
* Base model for {@link AutoScalingGroup} and {@link InstanceGroup}
* @author Konrad Król, AMG.net
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "scalingGroupBase" )
@XmlSeeAlso( { InstanceGroup.class, AutoScalingGroup.class } )
@JsonTypeInfo(
use = JsonTypeInfo.Id.NAME,
include = JsonTypeInfo.As.WRAPPER_OBJECT)
@JsonSubTypes({
@Type(value = AutoScalingGroup.class, name = "autoScalingGroup"),
@Type(value = InstanceGroup.class, name = "instanceGroup")})
public abstract class ScalingGroupBase extends ResourceBase {
/**
* TODO Documentation serialVersionUID
*/
private static final long serialVersionUID = 6973907315724002536L;
@XmlAttribute
private String availabilityZones;
@XmlAttribute
private String loadBalancerNames;
@XmlAttribute
private String tags;
@XmlAttribute
private String launchConfigurationName;
/**
* Gets the value of {@link #availabilityZones}.
* @return value of {@link #availabilityZones}
*/
public String getAvailabilityZones() {
return availabilityZones;
}
/**
* Sets the value of {@link #availabilityZones}.
* @param availabilityZones - value
*/
public void setAvailabilityZones(String availabilityZones) {
this.availabilityZones = availabilityZones;
}
/**
* Gets the value of {@link #loadBalancerNames}.
* @return value of {@link #loadBalancerNames}
*/
public String getLoadBalancerNames() {
return loadBalancerNames;
}
/**
* Sets the value of {@link #loadBalancerNames}.
* @param loadBalancerNames - value
*/
public void setLoadBalancerNames(String loadBalancerNames) {
this.loadBalancerNames = loadBalancerNames;
}
/**
* Gets the value of {@link #tags}.
* @return value of {@link #tags}
*/
public String getTags() {
return tags;
}
/**
* Sets the value of {@link #tags}.
* @param tags - value
*/
public void setTags(String tags) {
this.tags = tags;
}
/**
* Gets the value of {@link #launchConfigurationName}.
* @return value of {@link #launchConfigurationName}
*/
public String getLaunchConfigurationName() {
return launchConfigurationName;
}
/**
* Sets the value of {@link #launchConfigurationName}.
* @param launchConfigurationName - value
*/
public void setLaunchConfigurationName(String launchConfigurationName) {
this.launchConfigurationName = launchConfigurationName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy