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

org.xlcloud.service.heat.template.resources.AutoScalingGroup 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.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import org.xlcloud.service.heat.template.fields.ResourceType;

import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * Model of AWS::AutoScaling::AutoScalingGroup
 * @author Konrad Król, AMG.net
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "" )
@XmlRootElement(name = "autoScalingGroup")
public class AutoScalingGroup extends ScalingGroupBase {
    
    /**
     * TODO Documentation serialVersionUID
     */
    private static final long serialVersionUID = 4712820285043461576L;

    @XmlAttribute
    private String vpcZoneIdentifier;
    
    @XmlAttribute
    private String cooldown;
    
    @XmlAttribute
    private String desiredCapacity;
    
    @XmlAttribute
    private Long healthCheckGracePeriod;
    
    @XmlAttribute
    private String healthCheckType;
    

    
    @XmlAttribute
    private String maxSize;
    
    @XmlAttribute
    private String minSize;
    
    @XmlAttribute
    private String notificationConfiguration;
    
    /** {@inheritDoc} */
    @Override
    @JsonIgnore
    public ResourceType getResourceType() {
        return ResourceType.AUTO_SCALING_GROUP;
    }

    /** {@inheritDoc} */
    @Override
    @JsonIgnore
    public String getType() {
        return ResourceType.AUTO_SCALING_GROUP.value();
    }
    
    /**
     * Gets the value of {@link #vpcZoneIdentifier}.
     * @return value of {@link #vpcZoneIdentifier}
     */
    public String getVpcZoneIdentifier() {
        return vpcZoneIdentifier;
    }

    /**
     * Sets the value of {@link #vpcZoneIdentifier}.
     * @param vPCZoneIdentifier - value
     */
    public void setVpcZoneIdentifier(String vPCZoneIdentifier) {
        this.vpcZoneIdentifier = vPCZoneIdentifier;
    }

    /**
     * Gets the value of {@link #cooldown}.
     * @return value of {@link #cooldown}
     */
    public String getCooldown() {
        return cooldown;
    }

    /**
     * Sets the value of {@link #cooldown}.
     * @param cooldown - value
     */
    public void setCooldown(String cooldown) {
        this.cooldown = cooldown;
    }
    
    /**
     * Gets the value of {@link #desiredCapacity}.
     * @return value of {@link #desiredCapacity}
     */
    public String getDesiredCapacity() {
        return desiredCapacity;
    }

    /**
     * Sets the value of {@link #desiredCapacity}.
     * @param desiredCapacity - value
     */
    public void setDesiredCapacity(String desiredCapacity) {
        this.desiredCapacity = desiredCapacity;
    }
    
    /**
     * Gets the value of {@link #healthCheckGracePeriod}.
     * @return value of {@link #healthCheckGracePeriod}
     */
    public Long getHealthCheckGracePeriod() {
        return healthCheckGracePeriod;
    }

    /**
     * Sets the value of {@link #healthCheckGracePeriod}.
     * @param healthCheckGracePeriod - value
     */
    public void setHealthCheckGracePeriod(Long healthCheckGracePeriod) {
        this.healthCheckGracePeriod = healthCheckGracePeriod;
    }

    /**
     * Gets the value of {@link #healthCheckType}.
     * @return value of {@link #healthCheckType}
     */
    public String getHealthCheckType() {
        return healthCheckType;
    }
    
    /**
     * Sets the value of {@link #healthCheckType}.
     * @param healthCheckType - value
     */
    public void setHealthCheckType(String healthCheckType) {
        this.healthCheckType = healthCheckType;
    }

    /**
     * Gets the value of {@link #maxSize}.
     * @return value of {@link #maxSize}
     */
    public String getMaxSize() {
        return maxSize;
    }

    /**
     * Sets the value of {@link #maxSize}.
     * @param maxSize - value
     */
    public void setMaxSize(String maxSize) {
        this.maxSize = maxSize;
    }
    
    /**
     * Gets the value of {@link #minSize}.
     * @return value of {@link #minSize}
     */
    public String getMinSize() {
        return minSize;
    }
    
    /**
     * Sets the value of {@link #minSize}.
     * @param minSize - value
     */
    public void setMinSize(String minSize) {
        this.minSize = minSize;
    }
    
    /**
     * Gets the value of {@link #notificationConfiguration}.
     * @return value of {@link #notificationConfiguration}
     */
    public String getNotificationConfiguration() {
        return notificationConfiguration;
    }

    /**
     * Sets the value of {@link #notificationConfiguration}.
     * @param notificationConfiguration - value
     */
    public void setNotificationConfiguration(String notificationConfiguration) {
        this.notificationConfiguration = notificationConfiguration;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy