Interface FileUploaderFieldConfig.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<FileUploaderFieldConfig.Builder,,- FileUploaderFieldConfig> - SdkBuilder<FileUploaderFieldConfig.Builder,,- FileUploaderFieldConfig> - SdkPojo
- Enclosing class:
- FileUploaderFieldConfig
- 
Method SummaryModifier and TypeMethodDescriptionacceptedFileTypes(String... acceptedFileTypes) The file types that are allowed to be uploaded by the file uploader.acceptedFileTypes(Collection<String> acceptedFileTypes) The file types that are allowed to be uploaded by the file uploader.accessLevel(String accessLevel) The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored.accessLevel(StorageAccessLevel accessLevel) The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored.isResumable(Boolean isResumable) Allows the file upload operation to be paused and resumed.maxFileCount(Integer maxFileCount) Specifies the maximum number of files that can be selected to upload.The maximum file size in bytes that the file uploader will accept.showThumbnails(Boolean showThumbnails) Specifies whether to display or hide the image preview after selecting a file for upload.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
accessLevelThe access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are private,protected, orpublic. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.- Parameters:
- accessLevel- The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are- private,- protected, or- public. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accessLevelThe access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are private,protected, orpublic. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.- Parameters:
- accessLevel- The access level to assign to the uploaded files in the Amazon S3 bucket where they are stored. The valid values for this property are- private,- protected, or- public. For detailed information about the permissions associated with each access level, see File access levels in the Amplify documentation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
acceptedFileTypesThe file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions. - Parameters:
- acceptedFileTypes- The file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
acceptedFileTypesThe file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions. - Parameters:
- acceptedFileTypes- The file types that are allowed to be uploaded by the file uploader. Provide this information in an array of strings specifying the valid file extensions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
showThumbnailsSpecifies whether to display or hide the image preview after selecting a file for upload. The default value is trueto display the image preview.- Parameters:
- showThumbnails- Specifies whether to display or hide the image preview after selecting a file for upload. The default value is- trueto display the image preview.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
isResumableAllows the file upload operation to be paused and resumed. The default value is false.When isResumableis set totrue, the file uploader uses a multipart upload to break the files into chunks before upload. The progress of the upload isn't continuous, because the file uploader uploads a chunk at a time.- Parameters:
- isResumable- Allows the file upload operation to be paused and resumed. The default value is- false.- When - isResumableis set to- true, the file uploader uses a multipart upload to break the files into chunks before upload. The progress of the upload isn't continuous, because the file uploader uploads a chunk at a time.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxFileCountSpecifies the maximum number of files that can be selected to upload. The default value is an unlimited number of files. - Parameters:
- maxFileCount- Specifies the maximum number of files that can be selected to upload. The default value is an unlimited number of files.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
maxSizeThe maximum file size in bytes that the file uploader will accept. The default value is an unlimited file size. - Parameters:
- maxSize- The maximum file size in bytes that the file uploader will accept. The default value is an unlimited file size.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-