public abstract static class EC2Cloud.DescriptorImpl extends Descriptor<Cloud>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
FormValidation |
doCheckSshKeysCredentialsId(ItemGroup context,
String value) |
FormValidation |
doCheckUseInstanceProfileForCredentials(boolean value) |
ListBoxModel |
doFillCredentialsIdItems(ItemGroup context) |
ListBoxModel |
doFillSshKeysCredentialsIdItems(ItemGroup context,
String sshKeysCredentialsId) |
protected FormValidation |
doTestConnection(ItemGroup context,
URL ec2endpoint,
boolean useInstanceProfileForCredentials,
String credentialsId,
String sshKeysCredentialsId,
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, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public com.amazonaws.services.ec2.model.InstanceType[] getInstanceTypes()
public FormValidation doCheckUseInstanceProfileForCredentials(@QueryParameter boolean value)
public ListBoxModel doFillSshKeysCredentialsIdItems(@AncestorInPath ItemGroup context, @QueryParameter String sshKeysCredentialsId)
public FormValidation doCheckSshKeysCredentialsId(@AncestorInPath ItemGroup context, @QueryParameter String value) throws IOException, javax.servlet.ServletException
IOException
javax.servlet.ServletException
protected FormValidation doTestConnection(@AncestorInPath ItemGroup context, URL ec2endpoint, boolean useInstanceProfileForCredentials, String credentialsId, String sshKeysCredentialsId, String roleArn, String roleSessionName, String region) throws IOException, javax.servlet.ServletException
@RequirePOST
ec2endpoint
- useInstanceProfileForCredentials
- credentialsId
- sshKeysCredentialsId
- roleArn
- roleSessionName
- region
- IOException
javax.servlet.ServletException
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath ItemGroup context)
Copyright © 2016–2021. All rights reserved.