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 String
accessKeyId
static String
DEFAULT_CONFIG_ID
protected String
id
protected String
region
protected String
secretKey
protected String
sessionToken
-
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 String
getAccessKeyId()
String
getId()
The descriptor id, descriptors with same id are merged.String
getRegion()
String
getSecretKey()
String
getSessionToken()
AWSConfigurationDescriptor
merge(Descriptor o)
Returns a descriptor representingother
merged 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:Descriptor
The 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:
getId
in interfaceDescriptor
-
getAccessKeyId
public String getAccessKeyId()
-
getSecretKey
public String getSecretKey()
-
getSessionToken
public String getSessionToken()
-
merge
public AWSConfigurationDescriptor merge(Descriptor o)
Description copied from interface:Descriptor
Returns a descriptor representingother
merged intothis
Default implementation returns
other
.- Specified by:
merge
in interfaceDescriptor
- Returns:
- the merged descriptor
-
-