public class S3 extends AbstractModel
header, skipSign
Constructor and Description |
---|
S3() |
S3(S3 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 |
getAccessId()
Get The Access Key ID used to access the bucket.
|
String |
getAccessKey()
Get The secret key used to access the bucket.
|
String |
getBucket()
Get The bucket name and log storage directory, for example: `your_bucket_name/EO-logs/`.
|
String |
getCompressType()
Get The data compress type.
|
String |
getEndpoint()
Get The URL without bucket name or path, for example: `https://storage.googleapis.com`, `https://s3.ap-northeast-2.amazonaws.com`, and `https://cos.ap-nanjing.myqcloud.com`.
|
String |
getRegion()
Get The region where the bucket is located, for example: `ap-northeast-2`.
|
void |
setAccessId(String AccessId)
Set The Access Key ID used to access the bucket.
|
void |
setAccessKey(String AccessKey)
Set The secret key used to access the bucket.
|
void |
setBucket(String Bucket)
Set The bucket name and log storage directory, for example: `your_bucket_name/EO-logs/`.
|
void |
setCompressType(String CompressType)
Set The data compress type.
|
void |
setEndpoint(String Endpoint)
Set The URL without bucket name or path, for example: `https://storage.googleapis.com`, `https://s3.ap-northeast-2.amazonaws.com`, and `https://cos.ap-nanjing.myqcloud.com`.
|
void |
setRegion(String Region)
Set The region where the bucket is located, for example: `ap-northeast-2`.
|
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 S3()
public S3(S3 source)
public String getEndpoint()
public void setEndpoint(String Endpoint)
Endpoint
- The URL without bucket name or path, for example: `https://storage.googleapis.com`, `https://s3.ap-northeast-2.amazonaws.com`, and `https://cos.ap-nanjing.myqcloud.com`.public String getRegion()
public void setRegion(String Region)
Region
- The region where the bucket is located, for example: `ap-northeast-2`.public String getBucket()
public void setBucket(String Bucket)
Bucket
- The bucket name and log storage directory, for example: `your_bucket_name/EO-logs/`. If the directory does not exist in the bucket, it will be created automatically.public String getAccessId()
public void setAccessId(String AccessId)
AccessId
- The Access Key ID used to access the bucket.public String getAccessKey()
public void setAccessKey(String AccessKey)
AccessKey
- The secret key used to access the bucket.public String getCompressType()
public void setCompressType(String CompressType)
CompressType
- The data compress type. Valid values:Copyright © 2024. All rights reserved.