/** * Copyright (c) 2015-2016 Inria * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * -Fawaz Paraiso <fawaz.paraiso@inria.fr> * - Philippe Merle <philippe.merle@inria.fr> */ package org.occiware.clouddesigner.occi.docker; /** * <!-- begin-user-doc --> * A representation of the model object '<em><b>Machine Digital Ocean</b></em>'. * <!-- end-user-doc --> * * <p> * The following features are supported: * </p> * <ul> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Digital_Ocean#getAccess_token <em>Access token</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Digital_Ocean#getImage <em>Image</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Digital_Ocean#getRegion <em>Region</em>}</li> * <li>{@link org.occiware.clouddesigner.occi.docker.Machine_Digital_Ocean#getSize <em>Size</em>}</li> * </ul> * * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Digital_Ocean() * @model annotation="OCCIE2Ecore title='Machine on Digital Ocean'" * @generated */ public interface Machine_Digital_Ocean extends Machine { /** * Returns the value of the '<em><b>Access token</b></em>' attribute. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Access token</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Access token</em>' attribute. * @see #setAccess_token(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Digital_Ocean_Access_token() * @model dataType="org.occiware.clouddesigner.occi.String" required="true" * annotation="OCCIE2Ecore description='Your personal access token for the Digital Ocean API'" * @generated */ String getAccess_token(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Digital_Ocean#getAccess_token <em>Access token</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Access token</em>' attribute. * @see #getAccess_token() * @generated */ void setAccess_token(String value); /** * Returns the value of the '<em><b>Image</b></em>' attribute. * The default value is <code>"docker"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Image</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Image</em>' attribute. * @see #setImage(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Digital_Ocean_Image() * @model default="docker" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='The name of the Digital Ocean image to use'" * @generated */ String getImage(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Digital_Ocean#getImage <em>Image</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Image</em>' attribute. * @see #getImage() * @generated */ void setImage(String value); /** * Returns the value of the '<em><b>Region</b></em>' attribute. * The default value is <code>"nyc3"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Region</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Region</em>' attribute. * @see #setRegion(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Digital_Ocean_Region() * @model default="nyc3" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='The region to create the droplet in'" * @generated */ String getRegion(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Digital_Ocean#getRegion <em>Region</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Region</em>' attribute. * @see #getRegion() * @generated */ void setRegion(String value); /** * Returns the value of the '<em><b>Size</b></em>' attribute. * The default value is <code>"512mb"</code>. * <!-- begin-user-doc --> * <p> * If the meaning of the '<em>Size</em>' attribute isn't clear, * there really should be more of a description here... * </p> * <!-- end-user-doc --> * @return the value of the '<em>Size</em>' attribute. * @see #setSize(String) * @see org.occiware.clouddesigner.occi.docker.DockerPackage#getMachine_Digital_Ocean_Size() * @model default="512mb" dataType="org.occiware.clouddesigner.occi.String" * annotation="OCCIE2Ecore description='The size of the Digital Ocean driver (larger than default options are of the form 2gb)'" * @generated */ String getSize(); /** * Sets the value of the '{@link org.occiware.clouddesigner.occi.docker.Machine_Digital_Ocean#getSize <em>Size</em>}' attribute. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param value the new value of the '<em>Size</em>' attribute. * @see #getSize() * @generated */ void setSize(String value); } // Machine_Digital_Ocean