public abstract static class EC2Cloud.DescriptorImpl
extends hudson.model.Descriptor<hudson.slaves.Cloud>
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckPrivateKey(String value) |
hudson.util.FormValidation |
doCheckUseInstanceProfileForCredentials(boolean value) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems() |
protected hudson.util.FormValidation |
doTestConnection(URL ec2endpoint,
boolean useInstanceProfileForCredentials,
String credentialsId,
String privateKey,
String roleArn,
String roleSessionName,
String region)
Tests the connection settings.
|
com.amazonaws.services.ec2.model.InstanceType[] |
getInstanceTypes() |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public com.amazonaws.services.ec2.model.InstanceType[] getInstanceTypes()
public hudson.util.FormValidation doCheckUseInstanceProfileForCredentials(@QueryParameter boolean value)
public hudson.util.FormValidation doCheckPrivateKey(@QueryParameter String value) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected hudson.util.FormValidation doTestConnection(URL ec2endpoint, boolean useInstanceProfileForCredentials, String credentialsId, String privateKey, String roleArn, String roleSessionName, String region) throws IOException, javax.servlet.ServletException
@RequirePOST
ec2endpoint
- useInstanceProfileForCredentials
- credentialsId
- privateKey
- roleArn
- roleSessionName
- region
- IOException
javax.servlet.ServletException
public hudson.util.ListBoxModel doFillCredentialsIdItems()
Copyright © 2016–2020. All rights reserved.