public static class LaunchInstanceContext.Builder extends org.kuali.common.core.build.ValidatingBuilder<LaunchInstanceContext>
Constructor and Description |
---|
LaunchInstanceContext.Builder(String ami,
org.kuali.common.core.ssh.PublicKey publicKey) |
Modifier and Type | Method and Description |
---|---|
LaunchInstanceContext |
build() |
String |
getAmi() |
com.google.common.base.Optional<String> |
getAvailabilityZone() |
org.kuali.common.core.ssh.PublicKey |
getPublicKey() |
com.google.common.base.Optional<RootVolume> |
getRootVolume() |
List<KualiSecurityGroup> |
getSecurityGroups() |
List<com.amazonaws.services.ec2.model.Tag> |
getTags() |
int |
getTimeoutMillis() |
com.amazonaws.services.ec2.model.InstanceType |
getType() |
boolean |
isEbsOptimized() |
boolean |
isEnableMonitoring() |
boolean |
isOverrideExistingSecurityGroupPermissions() |
boolean |
isPreventTermination() |
void |
setAvailabilityZone(com.google.common.base.Optional<String> availabilityZone) |
void |
setEbsOptimized(boolean ebsOptimized) |
void |
setEnableMonitoring(boolean enableMonitoring) |
void |
setOverrideExistingSecurityGroupPermissions(boolean overrideExistingSecurityGroupPermissions) |
void |
setPreventTermination(boolean preventTermination) |
void |
setRootVolume(com.google.common.base.Optional<RootVolume> rootVolume) |
void |
setSecurityGroups(List<KualiSecurityGroup> securityGroups) |
void |
setTags(List<com.amazonaws.services.ec2.model.Tag> tags) |
void |
setTimeoutMillis(int timeoutMillis) |
void |
setType(com.amazonaws.services.ec2.model.InstanceType type) |
LaunchInstanceContext.Builder |
withAdditionalMappings(List<com.amazonaws.services.ec2.model.BlockDeviceMapping> additionalMappings) |
LaunchInstanceContext.Builder |
withAvailabilityZone(com.google.common.base.Optional<String> availabilityZone) |
LaunchInstanceContext.Builder |
withEbsOptimized(boolean ebsOptimized) |
LaunchInstanceContext.Builder |
withEnableMonitoring(boolean enableMonitoring) |
LaunchInstanceContext.Builder |
withOverrideExistingSecurityGroupPermissions(boolean overrideExistingSecurityGroupPermissions) |
LaunchInstanceContext.Builder |
withPreventTermination(boolean preventTermination) |
LaunchInstanceContext.Builder |
withRootVolume(com.google.common.base.Optional<RootVolume> rootVolume) |
LaunchInstanceContext.Builder |
withRootVolume(RootVolume rootVolume) |
LaunchInstanceContext.Builder |
withSecurityGroup(KualiSecurityGroup securityGroup) |
LaunchInstanceContext.Builder |
withSecurityGroups(List<KualiSecurityGroup> securityGroups) |
LaunchInstanceContext.Builder |
withTags(List<com.amazonaws.services.ec2.model.Tag> tags) |
LaunchInstanceContext.Builder |
withTimeoutMillis(int timeoutMillis) |
LaunchInstanceContext.Builder |
withType(com.amazonaws.services.ec2.model.InstanceType type) |
public LaunchInstanceContext.Builder(String ami, org.kuali.common.core.ssh.PublicKey publicKey)
public LaunchInstanceContext.Builder withType(com.amazonaws.services.ec2.model.InstanceType type)
public LaunchInstanceContext.Builder withAdditionalMappings(List<com.amazonaws.services.ec2.model.BlockDeviceMapping> additionalMappings)
public LaunchInstanceContext.Builder withSecurityGroups(List<KualiSecurityGroup> securityGroups)
public LaunchInstanceContext.Builder withSecurityGroup(KualiSecurityGroup securityGroup)
public LaunchInstanceContext.Builder withOverrideExistingSecurityGroupPermissions(boolean overrideExistingSecurityGroupPermissions)
public LaunchInstanceContext.Builder withTags(List<com.amazonaws.services.ec2.model.Tag> tags)
public LaunchInstanceContext.Builder withAvailabilityZone(com.google.common.base.Optional<String> availabilityZone)
public LaunchInstanceContext.Builder withTimeoutMillis(int timeoutMillis)
public LaunchInstanceContext.Builder withPreventTermination(boolean preventTermination)
public LaunchInstanceContext.Builder withEbsOptimized(boolean ebsOptimized)
public LaunchInstanceContext.Builder withEnableMonitoring(boolean enableMonitoring)
public LaunchInstanceContext.Builder withRootVolume(com.google.common.base.Optional<RootVolume> rootVolume)
public LaunchInstanceContext.Builder withRootVolume(RootVolume rootVolume)
public LaunchInstanceContext build()
public com.amazonaws.services.ec2.model.InstanceType getType()
public void setType(com.amazonaws.services.ec2.model.InstanceType type)
public List<KualiSecurityGroup> getSecurityGroups()
public void setSecurityGroups(List<KualiSecurityGroup> securityGroups)
public boolean isOverrideExistingSecurityGroupPermissions()
public void setOverrideExistingSecurityGroupPermissions(boolean overrideExistingSecurityGroupPermissions)
public com.google.common.base.Optional<String> getAvailabilityZone()
public void setAvailabilityZone(com.google.common.base.Optional<String> availabilityZone)
public int getTimeoutMillis()
public void setTimeoutMillis(int timeoutMillis)
public boolean isPreventTermination()
public void setPreventTermination(boolean preventTermination)
public boolean isEbsOptimized()
public void setEbsOptimized(boolean ebsOptimized)
public boolean isEnableMonitoring()
public void setEnableMonitoring(boolean enableMonitoring)
public com.google.common.base.Optional<RootVolume> getRootVolume()
public void setRootVolume(com.google.common.base.Optional<RootVolume> rootVolume)
public org.kuali.common.core.ssh.PublicKey getPublicKey()
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.