@Symbol(value="awsCredentials") @Extension public class CredentialsAwsGlobalConfiguration extends AbstractAwsGlobalConfiguration
Descriptor.FormException, Descriptor.PropertyType, Descriptor.SelfExtensionPoint.LegacyInstancesAreScopedToHudsonclazz| Constructor and Description |
|---|
CredentialsAwsGlobalConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
FormValidation |
doCheckRegion(String region) |
ListBoxModel |
doFillCredentialsIdItems() |
ListBoxModel |
doFillRegionItems() |
static CredentialsAwsGlobalConfiguration |
get() |
com.cloudbees.jenkins.plugins.awscredentials.AmazonWebServicesCredentials |
getCredentials() |
String |
getCredentialsId() |
String |
getDisplayName() |
String |
getRegion() |
int |
getSessionDuration() |
com.amazonaws.auth.AWSSessionCredentials |
sessionCredentials(com.amazonaws.client.builder.AwsClientBuilder<?,?> builder)
Select the type of AWS credential that has to be created based on the configuration.
|
void |
setCredentialsId(String credentialsId) |
void |
setRegion(String region) |
getCategory, processExceptionMessageall, configure, getDescriptor, getGlobalConfigPageaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, 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, toMappublic String getRegion()
@DataBoundSetter public void setRegion(String region)
public String getCredentialsId()
@DataBoundSetter public void setCredentialsId(String credentialsId)
public com.cloudbees.jenkins.plugins.awscredentials.AmazonWebServicesCredentials getCredentials()
public com.amazonaws.auth.AWSSessionCredentials sessionCredentials(com.amazonaws.client.builder.AwsClientBuilder<?,?> builder)
throws IOException
IOException - in case of error.public int getSessionDuration()
@Nonnull public String getDisplayName()
getDisplayName in class Descriptor<GlobalConfiguration>@Nonnull public static CredentialsAwsGlobalConfiguration get()
public ListBoxModel doFillRegionItems()
public ListBoxModel doFillCredentialsIdItems()
public FormValidation doCheckRegion(@QueryParameter String region)
Copyright © 2016–2018. All rights reserved.