@Immutable @Loggable(value=1) public final class EC2 extends Object implements Environments
| Constructor and Description |
|---|
EC2(Coordinates wrk,
Wallet wlt,
String tpe,
String image,
String grp,
String par,
String azone,
EC2Client clnt)
Public ctor.
|
EC2(Coordinates wrk,
Wallet wlt,
String tpe,
String image,
String grp,
String par,
String akey,
String scrt)
Public ctor.
|
EC2(Coordinates wrk,
Wallet wlt,
String tpe,
String image,
String grp,
String par,
String azone,
String akey,
String scrt)
Public ctor.
|
public EC2(Coordinates wrk, Wallet wlt, String tpe, String image, String grp, String par, String akey, String scrt)
wrk - Coordinates we're inwlt - Wallet to chargetpe - Instance type, for example "t1.micro"image - AMI namegrp - Security grouppar - Key pairakey - AWS keyscrt - AWS secretpublic EC2(Coordinates wrk, Wallet wlt, String tpe, String image, String grp, String par, String azone, String akey, String scrt)
wrk - Coordinates we're inwlt - Wallet to chargetpe - Instance type, for example "t1.micro"image - AMI namegrp - Security grouppar - Key pairazone - Availability zoneakey - AWS keyscrt - AWS secretpublic EC2(@NotNull(message="work can\'t be NULL") Coordinates wrk, @NotNull(message="wallet can\'t be NULL") Wallet wlt, @NotNull(message="instance type can\'t be NULL") String tpe, @NotNull(message="AMI can\'t be NULL") String image, @NotNull(message="security group can\'t be NULL") String grp, @NotNull(message="key pair can\'t be NULL") String par, @NotNull(message="avlt zone can\'t be NULL") String azone, @NotNull(message="AWS client can\'t be NULL") EC2Client clnt)
wrk - Coordinates we're inwlt - Wallet to chargetpe - Instance type, for example "t1.micro"image - AMI namegrp - Security grouppar - Key pairazone - Availability zoneclnt - EC2 clientpublic Environment acquire() throws IOException
Environmentsacquire in interface EnvironmentsIOException - If failspublic Iterator<Environment> iterator()
iterator in interface Iterable<Environment>Copyright © 2009–2014 Rultor Inc.. All rights reserved.