toggle menu
few
jvm
switch theme
search in API
storage
/
storage.config
/
StorageClientConfig
Storage
Client
Config
@
Configuration
class
StorageClientConfig
(
@
Value
(
value
=
"${storage.url}"
)
val
url
:
String
,
@
Value
(
value
=
"${storage.access-key}"
)
val
accessKey
:
String
,
@
Value
(
value
=
"${storage.secret-key}"
)
val
secretKey
:
String
,
@
Value
(
value
=
"${storage.region}"
)
val
region
:
String
)
Members
Constructors
Storage
Client
Config
Link copied to clipboard
constructor
(
@
Value
(
value
=
"${storage.url}"
)
url
:
String
,
@
Value
(
value
=
"${storage.access-key}"
)
accessKey
:
String
,
@
Value
(
value
=
"${storage.secret-key}"
)
secretKey
:
String
,
@
Value
(
value
=
"${storage.region}"
)
region
:
String
)
Properties
access
Key
Link copied to clipboard
val
accessKey
:
String
region
Link copied to clipboard
val
region
:
String
secret
Key
Link copied to clipboard
val
secretKey
:
String
url
Link copied to clipboard
val
url
:
String
Functions
local
S3Storage
Client
Link copied to clipboard
@
Profile
(
value
=
[
"!prd"
]
)
@
Bean
fun
localS3StorageClient
(
)
:
AmazonS3Client
prd
S3Storage
Client
Link copied to clipboard
@
Profile
(
value
=
[
"prd"
]
)
@
Bean
fun
prdS3StorageClient
(
)
:
AmazonS3Client