public class AwsS3FileUploadTrigger extends AbstractModel
Constructor and Description |
---|
AwsS3FileUploadTrigger() |
AwsS3FileUploadTrigger(AwsS3FileUploadTrigger 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 |
---|---|
AwsSQS |
getAwsSQS()
Get The SQS queue of the AWS S3 bucket.
|
String |
getDir()
Get The bucket directory bound.
|
String[] |
getFormats()
Get The file formats that will trigger the scheme, such as ["mp4", "flv", "mov"].
|
String |
getS3Bucket()
Get The AWS S3 bucket bound to the scheme.
|
String |
getS3Region()
Get The region of the AWS S3 bucket.
|
String |
getS3SecretId()
Get The key ID of the AWS S3 bucket.
|
String |
getS3SecretKey()
Get The key of the AWS S3 bucket.
|
void |
setAwsSQS(AwsSQS AwsSQS)
Set The SQS queue of the AWS S3 bucket.
|
void |
setDir(String Dir)
Set The bucket directory bound.
|
void |
setFormats(String[] Formats)
Set The file formats that will trigger the scheme, such as ["mp4", "flv", "mov"].
|
void |
setS3Bucket(String S3Bucket)
Set The AWS S3 bucket bound to the scheme.
|
void |
setS3Region(String S3Region)
Set The region of the AWS S3 bucket.
|
void |
setS3SecretId(String S3SecretId)
Set The key ID of the AWS S3 bucket.
|
void |
setS3SecretKey(String S3SecretKey)
Set The key of the AWS S3 bucket.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AwsS3FileUploadTrigger()
public AwsS3FileUploadTrigger(AwsS3FileUploadTrigger source)
public String getS3Bucket()
public void setS3Bucket(String S3Bucket)
S3Bucket
- The AWS S3 bucket bound to the scheme.public String getS3Region()
public void setS3Region(String S3Region)
S3Region
- The region of the AWS S3 bucket.public String getDir()
public void setDir(String Dir)
Dir
- The bucket directory bound. It must be an absolute path that starts and ends with `/`, such as `/movie/201907/`. If you do not specify this, the root directory will be bound.public String[] getFormats()
public void setFormats(String[] Formats)
Formats
- The file formats that will trigger the scheme, such as ["mp4", "flv", "mov"]. If you do not specify this, the upload of files in any format will trigger the scheme.public String getS3SecretId()
public void setS3SecretId(String S3SecretId)
S3SecretId
- The key ID of the AWS S3 bucket.
Note: This field may return null, indicating that no valid values can be obtained.public String getS3SecretKey()
public void setS3SecretKey(String S3SecretKey)
S3SecretKey
- The key of the AWS S3 bucket.
Note: This field may return null, indicating that no valid values can be obtained.public AwsSQS getAwsSQS()
public void setAwsSQS(AwsSQS AwsSQS)
AwsSQS
- The SQS queue of the AWS S3 bucket.
Note: The queue must be in the same region as the bucket.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.