public class AWSConfigurationDescriptor extends Object implements Descriptor
Modifier and Type | Field and Description |
---|---|
protected String |
accessKeyId |
protected String |
region |
protected String |
secretKey |
protected String |
sessionToken |
UNIQUE_DESCRIPTOR_ID
Constructor and Description |
---|
AWSConfigurationDescriptor() |
Modifier and Type | Method and 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 representing
other merged into this |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
doesRemove
protected String accessKeyId
protected String sessionToken
public AWSConfigurationDescriptor()
public String getId()
Descriptor
To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden toString()
for exemple.
getId
in interface Descriptor
public String getAccessKeyId()
public String getSecretKey()
public String getSessionToken()
public AWSConfigurationDescriptor merge(Descriptor o)
Descriptor
other
merged into this
Default implementation returns other
.
merge
in interface Descriptor
Copyright © 2018 Nuxeo. All rights reserved.