public class WarehouseS3Credentials extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.springframework.web.util.UriTemplate |
TEMPLATE |
static String |
URI |
| Constructor and Description |
|---|
WarehouseS3Credentials(String region,
String accessKey,
String secretKey)
Used to add new S3 credentials
|
WarehouseS3Credentials(String region,
String accessKey,
String updatedBy,
org.joda.time.DateTime updated)
Used to list saved S3 credentials (not intended for the end user)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessKey() |
Map<String,String> |
getLinks() |
String |
getRegion() |
String |
getSecretKey()
not returned when listing
|
org.joda.time.DateTime |
getUpdated() |
String |
getUpdatedBy() |
String |
getUri() |
String |
toString() |
WarehouseS3Credentials |
withLinks(Map<String,String> links) |
public static final String URI
public static final org.springframework.web.util.UriTemplate TEMPLATE
public WarehouseS3Credentials(String region, String accessKey, String secretKey)
region - S3 regionaccessKey - S3 access keysecretKey - S3 secret keypublic WarehouseS3Credentials(String region, String accessKey, String updatedBy, org.joda.time.DateTime updated)
region - S3 regionaccessKey - S3 access keyupdatedBy - URI of the user who updated the credentials lastupdated - last modification datepublic org.joda.time.DateTime getUpdated()
public String getUpdatedBy()
public String getSecretKey()
public String getAccessKey()
public String getRegion()
public WarehouseS3Credentials withLinks(Map<String,String> links)
public String getUri()
Copyright © 2017. All rights reserved.