Class CfnForm.FileUploaderFieldConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.amplifyuibuilder.CfnForm.FileUploaderFieldConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnForm.FileUploaderFieldConfigProperty>
- Enclosing interface:
- CfnForm.FileUploaderFieldConfigProperty
@Stability(Stable)
public static final class CfnForm.FileUploaderFieldConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnForm.FileUploaderFieldConfigProperty>
A builder for
CfnForm.FileUploaderFieldConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptedFileTypes(List<String> acceptedFileTypes) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getAcceptedFileTypes()accessLevel(String accessLevel) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getAccessLevel()build()Builds the configured instance.isResumable(Boolean isResumable) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getIsResumable()isResumable(IResolvable isResumable) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getIsResumable()maxFileCount(Number maxFileCount) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getMaxFileCount()Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getMaxSize()showThumbnails(Boolean showThumbnails) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getShowThumbnails()showThumbnails(IResolvable showThumbnails) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getShowThumbnails()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptedFileTypes
@Stability(Stable) public CfnForm.FileUploaderFieldConfigProperty.Builder acceptedFileTypes(List<String> acceptedFileTypes) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getAcceptedFileTypes()- Parameters:
acceptedFileTypes-CfnForm.FileUploaderFieldConfigProperty.AcceptedFileTypes. This parameter is required.- Returns:
this
-
accessLevel
@Stability(Stable) public CfnForm.FileUploaderFieldConfigProperty.Builder accessLevel(String accessLevel) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getAccessLevel()- Parameters:
accessLevel-CfnForm.FileUploaderFieldConfigProperty.AccessLevel. This parameter is required.- Returns:
this
-
isResumable
@Stability(Stable) public CfnForm.FileUploaderFieldConfigProperty.Builder isResumable(Boolean isResumable) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getIsResumable()- Parameters:
isResumable-CfnForm.FileUploaderFieldConfigProperty.IsResumable.- Returns:
this
-
isResumable
@Stability(Stable) public CfnForm.FileUploaderFieldConfigProperty.Builder isResumable(IResolvable isResumable) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getIsResumable()- Parameters:
isResumable-CfnForm.FileUploaderFieldConfigProperty.IsResumable.- Returns:
this
-
maxFileCount
@Stability(Stable) public CfnForm.FileUploaderFieldConfigProperty.Builder maxFileCount(Number maxFileCount) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getMaxFileCount()- Parameters:
maxFileCount-CfnForm.FileUploaderFieldConfigProperty.MaxFileCount.- Returns:
this
-
maxSize
Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getMaxSize()- Parameters:
maxSize-CfnForm.FileUploaderFieldConfigProperty.MaxSize.- Returns:
this
-
showThumbnails
@Stability(Stable) public CfnForm.FileUploaderFieldConfigProperty.Builder showThumbnails(Boolean showThumbnails) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getShowThumbnails()- Parameters:
showThumbnails-CfnForm.FileUploaderFieldConfigProperty.ShowThumbnails.- Returns:
this
-
showThumbnails
@Stability(Stable) public CfnForm.FileUploaderFieldConfigProperty.Builder showThumbnails(IResolvable showThumbnails) Sets the value ofCfnForm.FileUploaderFieldConfigProperty.getShowThumbnails()- Parameters:
showThumbnails-CfnForm.FileUploaderFieldConfigProperty.ShowThumbnails.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnForm.FileUploaderFieldConfigProperty>- Returns:
- a new instance of
CfnForm.FileUploaderFieldConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-