org.kuali.common.aws.ec2.util
Class LaunchUtils
java.lang.Object
org.kuali.common.aws.ec2.util.LaunchUtils
public class LaunchUtils
- extends Object
Method Summary |
static com.amazonaws.services.ec2.AmazonEC2Client |
getClient(EC2ServiceContext context)
|
static LaunchInstanceContext |
getContext(org.kuali.common.util.spring.env.EnvironmentService env,
LaunchInstanceContext provided)
Use the values from provided except where they are overidden by values from the environment. |
protected static com.google.common.base.Optional<Boolean> |
getDeleteOnTermination(org.kuali.common.util.spring.env.EnvironmentService env,
com.google.common.base.Optional<RootVolume> provided)
|
static org.kuali.common.core.ssh.KeyPair |
getKeyPair(org.kuali.common.util.spring.env.EnvironmentService env,
org.kuali.common.core.ssh.KeyPair provided)
Get a key pair based on the values from provided unless overridden by values from the environment. |
protected static com.google.common.base.Optional<RootVolume> |
getRootVolume(org.kuali.common.util.spring.env.EnvironmentService env,
com.google.common.base.Optional<RootVolume> provided)
|
protected static com.google.common.base.Optional<Integer> |
getSizeInGigaBytes(org.kuali.common.util.spring.env.EnvironmentService env,
com.google.common.base.Optional<RootVolume> provided)
|
protected static List<com.amazonaws.services.ec2.model.Tag> |
getTags(org.kuali.common.util.spring.env.EnvironmentService env)
|
protected static List<com.amazonaws.services.ec2.model.Tag> |
getTags(org.kuali.common.util.spring.env.EnvironmentService env,
List<com.amazonaws.services.ec2.model.Tag> provided)
|
protected static com.amazonaws.services.ec2.model.InstanceType |
getType(org.kuali.common.util.spring.env.EnvironmentService env,
com.amazonaws.services.ec2.model.InstanceType type)
|
protected static com.amazonaws.services.ec2.AmazonEC2Client |
newAmazonEC2Client(EC2ServiceContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LaunchUtils
public LaunchUtils()
getKeyPair
public static org.kuali.common.core.ssh.KeyPair getKeyPair(org.kuali.common.util.spring.env.EnvironmentService env,
org.kuali.common.core.ssh.KeyPair provided)
- Get a key pair based on the values from
provided
unless overridden by values from the environment.
newAmazonEC2Client
protected static com.amazonaws.services.ec2.AmazonEC2Client newAmazonEC2Client(EC2ServiceContext context)
getClient
public static com.amazonaws.services.ec2.AmazonEC2Client getClient(EC2ServiceContext context)
getContext
public static LaunchInstanceContext getContext(org.kuali.common.util.spring.env.EnvironmentService env,
LaunchInstanceContext provided)
- Use the values from
provided
except where they are overidden by values from the environment.
getRootVolume
protected static com.google.common.base.Optional<RootVolume> getRootVolume(org.kuali.common.util.spring.env.EnvironmentService env,
com.google.common.base.Optional<RootVolume> provided)
getDeleteOnTermination
protected static com.google.common.base.Optional<Boolean> getDeleteOnTermination(org.kuali.common.util.spring.env.EnvironmentService env,
com.google.common.base.Optional<RootVolume> provided)
getSizeInGigaBytes
protected static com.google.common.base.Optional<Integer> getSizeInGigaBytes(org.kuali.common.util.spring.env.EnvironmentService env,
com.google.common.base.Optional<RootVolume> provided)
getTags
protected static List<com.amazonaws.services.ec2.model.Tag> getTags(org.kuali.common.util.spring.env.EnvironmentService env,
List<com.amazonaws.services.ec2.model.Tag> provided)
getTags
protected static List<com.amazonaws.services.ec2.model.Tag> getTags(org.kuali.common.util.spring.env.EnvironmentService env)
getType
protected static com.amazonaws.services.ec2.model.InstanceType getType(org.kuali.common.util.spring.env.EnvironmentService env,
com.amazonaws.services.ec2.model.InstanceType type)
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.