
com.terremark.api.CustomizationOption Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of terremark-api Show documentation
Show all versions of terremark-api Show documentation
Terremark Enterprise Cloud Java API
The newest version!
/**
* Copyright 2012 Terremark Worldwide Inc.
*
* 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.terremark.api;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
*
* Java class for CustomizationOption complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CustomizationOption">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Type" type="{}CustomizationTypeEnum"/>
* <element name="CanPowerOn" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="PasswordRequired" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="SshKeyRequired" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CustomizationOption", propOrder = {"type", "canPowerOn", "passwordRequired", "sshKeyRequired"})
public class CustomizationOption extends ToStringGenerator {
@XmlElement(name = "Type", required = true)
protected CustomizationTypeEnum type;
@XmlElement(name = "CanPowerOn")
protected boolean canPowerOn;
@XmlElement(name = "PasswordRequired")
protected boolean passwordRequired;
@XmlElement(name = "SshKeyRequired")
protected boolean sshKeyRequired;
/**
* Gets the value of the type property.
*
* @return possible object is {@link CustomizationTypeEnum }
*/
public CustomizationTypeEnum getType() {
return type;
}
/**
* Sets the value of the type property.
*
* @param value allowed object is {@link CustomizationTypeEnum }
*/
public void setType(final CustomizationTypeEnum value) {
this.type = value;
}
/**
* Gets the value of the canPowerOn property.
*/
public boolean isCanPowerOn() {
return canPowerOn;
}
/**
* Sets the value of the canPowerOn property.
*/
public void setCanPowerOn(final boolean value) {
this.canPowerOn = value;
}
/**
* Gets the value of the passwordRequired property.
*/
public boolean isPasswordRequired() {
return passwordRequired;
}
/**
* Sets the value of the passwordRequired property.
*/
public void setPasswordRequired(final boolean value) {
this.passwordRequired = value;
}
/**
* Gets the value of the sshKeyRequired property.
*/
public boolean isSshKeyRequired() {
return sshKeyRequired;
}
/**
* Sets the value of the sshKeyRequired property.
*/
public void setSshKeyRequired(final boolean value) {
this.sshKeyRequired = value;
}
}