com.xebialabs.deployit.plugin.ec2.ci
Class Credentials

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.ec2.ci.Credentials
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>

@Metadata(description="Amazon EC2 credentials",
          root=CONFIGURATION)
public class Credentials
extends com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem

Reusable AWS EC2 credentials pair

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
 
Constructor Summary
Credentials()
           
 
Method Summary
 java.lang.String getKey()
           
 java.lang.String getSecret()
           
 void setKey(java.lang.String key)
           
 void setSecret(java.lang.String secret)
           
 java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> validateCredentials()
           
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$token, setId, setProperty, setSyntheticProperties, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Credentials

public Credentials()
Method Detail

validateCredentials

@ControlTask(label="Validate credentials",
             description="Make a test call to EC2 with given credentials")
public java.util.List<com.xebialabs.deployit.plugin.api.flow.Step> validateCredentials()

getKey

public java.lang.String getKey()

getSecret

public java.lang.String getSecret()

setKey

public void setKey(java.lang.String key)

setSecret

public void setSecret(java.lang.String secret)