Class AwsS3ConsumerProperties
java.lang.Object
org.springframework.cloud.fn.consumer.s3.AwsS3ConsumerProperties
@ConfigurationProperties("s3.consumer")
@Validated
public class AwsS3ConsumerProperties
extends Object
- Author:
- Artem Bilan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionsoftware.amazon.awssdk.services.s3.model.ObjectCannedACL
getAcl()
@Length(min=3) String
@jakarta.validation.constraints.AssertTrue(message="Only one of \'acl\' or \'aclExpression\' must be set") boolean
@jakarta.validation.constraints.AssertTrue(message="Exactly one of \'bucket\' or \'bucketExpression\' must be set") boolean
void
setAcl
(software.amazon.awssdk.services.s3.model.ObjectCannedACL acl) void
setAclExpression
(Expression aclExpression) void
void
setBucketExpression
(Expression bucketExpression) void
setKeyExpression
(Expression keyExpression)
-
Constructor Details
-
AwsS3ConsumerProperties
public AwsS3ConsumerProperties()
-
-
Method Details
-
getBucket
-
setBucket
-
getBucketExpression
-
setBucketExpression
-
getKeyExpression
-
setKeyExpression
-
getAcl
public software.amazon.awssdk.services.s3.model.ObjectCannedACL getAcl() -
setAcl
public void setAcl(software.amazon.awssdk.services.s3.model.ObjectCannedACL acl) -
getAclExpression
-
setAclExpression
-
isMutuallyExclusiveBucketAndBucketExpression
@AssertTrue(message="Exactly one of \'bucket\' or \'bucketExpression\' must be set") public @jakarta.validation.constraints.AssertTrue(message="Exactly one of \'bucket\' or \'bucketExpression\' must be set") boolean isMutuallyExclusiveBucketAndBucketExpression() -
isMutuallyExclusiveAclAndAclExpression
@AssertTrue(message="Only one of \'acl\' or \'aclExpression\' must be set") public @jakarta.validation.constraints.AssertTrue(message="Only one of \'acl\' or \'aclExpression\' must be set") boolean isMutuallyExclusiveAclAndAclExpression()
-