org.jenkinsci.plugins.awsbeanstalkpublisher
Class AWSEBCredentials
java.lang.Object
hudson.model.AbstractDescribableImpl<AWSEBCredentials>
org.jenkinsci.plugins.awsbeanstalkpublisher.AWSEBCredentials
- All Implemented Interfaces:
- hudson.model.Describable<AWSEBCredentials>, hudson.model.ModelObject
public class AWSEBCredentials
- extends hudson.model.AbstractDescribableImpl<AWSEBCredentials>
- implements hudson.model.ModelObject
DESCRIPTOR
@Extension
public static final AWSEBCredentials.DescriptorImpl DESCRIPTOR
AWSEBCredentials
@DataBoundConstructor
public AWSEBCredentials(String name,
String awsAccessKeyId,
String awsSecretSharedKey)
getName
public String getName()
getAwsAccessKeyId
public String getAwsAccessKeyId()
getAwsSecretSharedKey
public String getAwsSecretSharedKey()
getAwsRegion
public com.amazonaws.regions.Regions getAwsRegion()
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interface hudson.model.ModelObject
getAwsCredentials
public com.amazonaws.auth.AWSCredentialsProvider getAwsCredentials()
configureCredentials
public static void configureCredentials(Collection<AWSEBCredentials> toAdd)
getCredentials
public static Set<AWSEBCredentials> getCredentials()
getCredentialsByString
public static AWSEBCredentials getCredentialsByString(String credentialsString)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
getDescriptor
public AWSEBCredentials.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interface hudson.model.Describable<AWSEBCredentials>
- Overrides:
getDescriptor
in class hudson.model.AbstractDescribableImpl<AWSEBCredentials>
Copyright © 2014-2016. All Rights Reserved.