Package org.nuxeo.runtime.aws
Class AWSConfigurationDescriptor
- java.lang.Object
-
- org.nuxeo.runtime.aws.AWSConfigurationDescriptor
-
- All Implemented Interfaces:
Descriptor
public class AWSConfigurationDescriptor extends Object implements Descriptor
-
-
Field Summary
Fields Modifier and Type Field Description protected StringaccessKeyIdstatic StringDEFAULT_CONFIG_IDprotected Stringidprotected Stringregionprotected StringsecretKeyprotected StringsessionToken-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description AWSConfigurationDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAccessKeyId()StringgetId()The descriptor id, descriptors with same id are merged.StringgetRegion()StringgetSecretKey()StringgetSessionToken()AWSConfigurationDescriptormerge(Descriptor o)Returns a descriptor representingothermerged intothis-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
-
-
-
Field Detail
-
DEFAULT_CONFIG_ID
public static final String DEFAULT_CONFIG_ID
- See Also:
- Constant Field Values
-
accessKeyId
protected String accessKeyId
-
sessionToken
protected String sessionToken
-
-
Constructor Detail
-
AWSConfigurationDescriptor
public AWSConfigurationDescriptor()
-
-
Method Detail
-
getId
public String getId()
Description copied from interface:DescriptorThe descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()for exemple.- Specified by:
getIdin interfaceDescriptor
-
getAccessKeyId
public String getAccessKeyId()
-
getSecretKey
public String getSecretKey()
-
getSessionToken
public String getSessionToken()
-
merge
public AWSConfigurationDescriptor merge(Descriptor o)
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
-
-