Class AwsS3SupplierProperties
java.lang.Object
org.springframework.cloud.fn.supplier.s3.AwsS3SupplierProperties
@ConfigurationProperties("s3.supplier")
@Validated
public class AwsS3SupplierProperties
extends Object
- Author:
- Artem Bilan
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@NotNull File
@Length(min=3) String
@NotBlank String
@NotBlank String
boolean
boolean
@jakarta.validation.constraints.AssertTrue(message="filenamePattern and filenameRegex are mutually exclusive") boolean
boolean
boolean
void
setAutoCreateLocalDir
(boolean autoCreateLocalDir) void
setDeleteRemoteFiles
(boolean deleteRemoteFiles) void
setFilenamePattern
(String filenamePattern) void
setFilenameRegex
(Pattern filenameRegex) void
setListOnly
(boolean listOnly) final void
setLocalDir
(File localDir) void
setPreserveTimestamp
(boolean preserveTimestamp) final void
setRemoteDir
(String remoteDir) void
setRemoteFileSeparator
(String remoteFileSeparator) void
setTmpFileSuffix
(String tmpFileSuffix)
-
Constructor Details
-
AwsS3SupplierProperties
public AwsS3SupplierProperties()
-
-
Method Details
-
getRemoteDir
-
setRemoteDir
-
getTmpFileSuffix
-
setTmpFileSuffix
-
getRemoteFileSeparator
-
setRemoteFileSeparator
-
isAutoCreateLocalDir
public boolean isAutoCreateLocalDir() -
setAutoCreateLocalDir
public void setAutoCreateLocalDir(boolean autoCreateLocalDir) -
isDeleteRemoteFiles
public boolean isDeleteRemoteFiles() -
setDeleteRemoteFiles
public void setDeleteRemoteFiles(boolean deleteRemoteFiles) -
getLocalDir
-
setLocalDir
-
getFilenamePattern
-
setFilenamePattern
-
getFilenameRegex
-
setFilenameRegex
-
isPreserveTimestamp
public boolean isPreserveTimestamp() -
setPreserveTimestamp
public void setPreserveTimestamp(boolean preserveTimestamp) -
isExclusivePatterns
@AssertTrue(message="filenamePattern and filenameRegex are mutually exclusive") public @jakarta.validation.constraints.AssertTrue(message="filenamePattern and filenameRegex are mutually exclusive") boolean isExclusivePatterns() -
isListOnly
public boolean isListOnly() -
setListOnly
public void setListOnly(boolean listOnly)
-