public class AmazonS3Settings extends AbstractModel
header, skipSign
Constructor and Description |
---|
AmazonS3Settings() |
AmazonS3Settings(AmazonS3Settings source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
String |
getAccessKeyID()
Get Access key ID of the S3 sub-account.
|
String |
getBucket()
Get Bucket name of S3.
|
String |
getFileExt()
Get File suffix, only supports `jpg`.
|
String |
getFileName()
Get User-defined name, supports alphanumeric characters, underscores, and hyphens, with a length between 1 and 32 characters.
|
String |
getFilePath()
Get File output path, which can be empty.
|
String |
getRegion()
Get Region of S3.
|
String |
getSecretAccessKey()
Get Secret access key of the S3 sub-account.
|
String |
getTimeFormat()
Get Support `unix` or `utc0`, default unix.
|
void |
setAccessKeyID(String AccessKeyID)
Set Access key ID of the S3 sub-account.
|
void |
setBucket(String Bucket)
Set Bucket name of S3.
|
void |
setFileExt(String FileExt)
Set File suffix, only supports `jpg`.
|
void |
setFileName(String FileName)
Set User-defined name, supports alphanumeric characters, underscores, and hyphens, with a length between 1 and 32 characters.
|
void |
setFilePath(String FilePath)
Set File output path, which can be empty.
|
void |
setRegion(String Region)
Set Region of S3.
|
void |
setSecretAccessKey(String SecretAccessKey)
Set Secret access key of the S3 sub-account.
|
void |
setTimeFormat(String TimeFormat)
Set Support `unix` or `utc0`, default unix.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public AmazonS3Settings()
public AmazonS3Settings(AmazonS3Settings source)
public String getAccessKeyID()
public void setAccessKeyID(String AccessKeyID)
AccessKeyID
- Access key ID of the S3 sub-account.public String getSecretAccessKey()
public void setSecretAccessKey(String SecretAccessKey)
SecretAccessKey
- Secret access key of the S3 sub-account.public String getRegion()
public void setRegion(String Region)
Region
- Region of S3.public String getBucket()
public void setBucket(String Bucket)
Bucket
- Bucket name of S3.public String getFilePath()
public void setFilePath(String FilePath)
FilePath
- File output path, which can be empty. If it is not empty, it starts with / and ends with /.public String getFileName()
public void setFileName(String FileName)
FileName
- User-defined name, supports alphanumeric characters, underscores, and hyphens, with a length between 1 and 32 characters.public String getFileExt()
public void setFileExt(String FileExt)
FileExt
- File suffix, only supports `jpg`.public String getTimeFormat()
public void setTimeFormat(String TimeFormat)
TimeFormat
- Support `unix` or `utc0`, default unix.Copyright © 2024. All rights reserved.