org.apache.airavata.experiment.execution
Class AmazonWebServicesSettings

java.lang.Object
  extended by org.apache.airavata.experiment.execution.AmazonWebServicesSettings
All Implemented Interfaces:
Serializable, Cloneable, Comparable<AmazonWebServicesSettings>, org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>

public class AmazonWebServicesSettings
extends Object
implements org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>, Serializable, Cloneable, Comparable<AmazonWebServicesSettings>

See Also:
Serialized Form

Nested Class Summary
static class AmazonWebServicesSettings._Fields
          The set of fields this struct contains, along with convenience methods for finding and manipulating them.
 
Field Summary
 String accessKey
           
 String amiID
           
 String instanceID
           
 String instanceType
           
static Map<AmazonWebServicesSettings._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
           
 String secretAccessKey
           
 String username
           
 
Constructor Summary
AmazonWebServicesSettings()
           
AmazonWebServicesSettings(AmazonWebServicesSettings other)
          Performs a deep copy on other.
 
Method Summary
 void clear()
           
 int compareTo(AmazonWebServicesSettings other)
           
 AmazonWebServicesSettings deepCopy()
           
 boolean equals(AmazonWebServicesSettings that)
           
 boolean equals(Object that)
           
 AmazonWebServicesSettings._Fields fieldForId(int fieldId)
           
 String getAccessKey()
           
 String getAmiID()
           
 Object getFieldValue(AmazonWebServicesSettings._Fields field)
           
 String getInstanceID()
           
 String getInstanceType()
           
 String getSecretAccessKey()
           
 String getUsername()
           
 int hashCode()
           
 boolean isSet(AmazonWebServicesSettings._Fields field)
          Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
 boolean isSetAccessKey()
          Returns true if field accessKey is set (has been assigned a value) and false otherwise
 boolean isSetAmiID()
          Returns true if field amiID is set (has been assigned a value) and false otherwise
 boolean isSetInstanceID()
          Returns true if field instanceID is set (has been assigned a value) and false otherwise
 boolean isSetInstanceType()
          Returns true if field instanceType is set (has been assigned a value) and false otherwise
 boolean isSetSecretAccessKey()
          Returns true if field secretAccessKey is set (has been assigned a value) and false otherwise
 boolean isSetUsername()
          Returns true if field username is set (has been assigned a value) and false otherwise
 void read(org.apache.thrift.protocol.TProtocol iprot)
           
 AmazonWebServicesSettings setAccessKey(String accessKey)
           
 void setAccessKeyIsSet(boolean value)
           
 AmazonWebServicesSettings setAmiID(String amiID)
           
 void setAmiIDIsSet(boolean value)
           
 void setFieldValue(AmazonWebServicesSettings._Fields field, Object value)
           
 AmazonWebServicesSettings setInstanceID(String instanceID)
           
 void setInstanceIDIsSet(boolean value)
           
 AmazonWebServicesSettings setInstanceType(String instanceType)
           
 void setInstanceTypeIsSet(boolean value)
           
 AmazonWebServicesSettings setSecretAccessKey(String secretAccessKey)
           
 void setSecretAccessKeyIsSet(boolean value)
           
 AmazonWebServicesSettings setUsername(String username)
           
 void setUsernameIsSet(boolean value)
           
 String toString()
           
 void unsetAccessKey()
           
 void unsetAmiID()
           
 void unsetInstanceID()
           
 void unsetInstanceType()
           
 void unsetSecretAccessKey()
           
 void unsetUsername()
           
 void validate()
           
 void write(org.apache.thrift.protocol.TProtocol oprot)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

accessKey

public String accessKey

amiID

public String amiID

instanceID

public String instanceID

instanceType

public String instanceType

secretAccessKey

public String secretAccessKey

username

public String username

metaDataMap

public static final Map<AmazonWebServicesSettings._Fields,org.apache.thrift.meta_data.FieldMetaData> metaDataMap
Constructor Detail

AmazonWebServicesSettings

public AmazonWebServicesSettings()

AmazonWebServicesSettings

public AmazonWebServicesSettings(AmazonWebServicesSettings other)
Performs a deep copy on other.

Method Detail

deepCopy

public AmazonWebServicesSettings deepCopy()
Specified by:
deepCopy in interface org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>

clear

public void clear()
Specified by:
clear in interface org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>

getAccessKey

public String getAccessKey()

setAccessKey

public AmazonWebServicesSettings setAccessKey(String accessKey)

unsetAccessKey

public void unsetAccessKey()

isSetAccessKey

public boolean isSetAccessKey()
Returns true if field accessKey is set (has been assigned a value) and false otherwise


setAccessKeyIsSet

public void setAccessKeyIsSet(boolean value)

getAmiID

public String getAmiID()

setAmiID

public AmazonWebServicesSettings setAmiID(String amiID)

unsetAmiID

public void unsetAmiID()

isSetAmiID

public boolean isSetAmiID()
Returns true if field amiID is set (has been assigned a value) and false otherwise


setAmiIDIsSet

public void setAmiIDIsSet(boolean value)

getInstanceID

public String getInstanceID()

setInstanceID

public AmazonWebServicesSettings setInstanceID(String instanceID)

unsetInstanceID

public void unsetInstanceID()

isSetInstanceID

public boolean isSetInstanceID()
Returns true if field instanceID is set (has been assigned a value) and false otherwise


setInstanceIDIsSet

public void setInstanceIDIsSet(boolean value)

getInstanceType

public String getInstanceType()

setInstanceType

public AmazonWebServicesSettings setInstanceType(String instanceType)

unsetInstanceType

public void unsetInstanceType()

isSetInstanceType

public boolean isSetInstanceType()
Returns true if field instanceType is set (has been assigned a value) and false otherwise


setInstanceTypeIsSet

public void setInstanceTypeIsSet(boolean value)

getSecretAccessKey

public String getSecretAccessKey()

setSecretAccessKey

public AmazonWebServicesSettings setSecretAccessKey(String secretAccessKey)

unsetSecretAccessKey

public void unsetSecretAccessKey()

isSetSecretAccessKey

public boolean isSetSecretAccessKey()
Returns true if field secretAccessKey is set (has been assigned a value) and false otherwise


setSecretAccessKeyIsSet

public void setSecretAccessKeyIsSet(boolean value)

getUsername

public String getUsername()

setUsername

public AmazonWebServicesSettings setUsername(String username)

unsetUsername

public void unsetUsername()

isSetUsername

public boolean isSetUsername()
Returns true if field username is set (has been assigned a value) and false otherwise


setUsernameIsSet

public void setUsernameIsSet(boolean value)

setFieldValue

public void setFieldValue(AmazonWebServicesSettings._Fields field,
                          Object value)
Specified by:
setFieldValue in interface org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>

getFieldValue

public Object getFieldValue(AmazonWebServicesSettings._Fields field)
Specified by:
getFieldValue in interface org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>

isSet

public boolean isSet(AmazonWebServicesSettings._Fields field)
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise

Specified by:
isSet in interface org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>

equals

public boolean equals(Object that)
Overrides:
equals in class Object

equals

public boolean equals(AmazonWebServicesSettings that)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

compareTo

public int compareTo(AmazonWebServicesSettings other)
Specified by:
compareTo in interface Comparable<AmazonWebServicesSettings>

fieldForId

public AmazonWebServicesSettings._Fields fieldForId(int fieldId)
Specified by:
fieldForId in interface org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>

read

public void read(org.apache.thrift.protocol.TProtocol iprot)
          throws org.apache.thrift.TException
Specified by:
read in interface org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>
Throws:
org.apache.thrift.TException

write

public void write(org.apache.thrift.protocol.TProtocol oprot)
           throws org.apache.thrift.TException
Specified by:
write in interface org.apache.thrift.TBase<AmazonWebServicesSettings,AmazonWebServicesSettings._Fields>
Throws:
org.apache.thrift.TException

toString

public String toString()
Overrides:
toString in class Object

validate

public void validate()
              throws org.apache.thrift.TException
Throws:
org.apache.thrift.TException


Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.