Class CfnUserSettings.ImageMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.workspacesweb.CfnUserSettings.ImageMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserSettings.ImageMetadataProperty>
- Enclosing interface:
CfnUserSettings.ImageMetadataProperty
@Stability(Stable)
public static final class CfnUserSettings.ImageMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserSettings.ImageMetadataProperty>
A builder for
CfnUserSettings.ImageMetadataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileExtension(String fileExtension) Sets the value ofCfnUserSettings.ImageMetadataProperty.getFileExtension()lastUploadTimestamp(String lastUploadTimestamp) Sets the value ofCfnUserSettings.ImageMetadataProperty.getLastUploadTimestamp()Sets the value ofCfnUserSettings.ImageMetadataProperty.getMimeType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileExtension
@Stability(Stable) public CfnUserSettings.ImageMetadataProperty.Builder fileExtension(String fileExtension) Sets the value ofCfnUserSettings.ImageMetadataProperty.getFileExtension()- Parameters:
fileExtension- the value to be set. This parameter is required.- Returns:
this
-
lastUploadTimestamp
@Stability(Stable) public CfnUserSettings.ImageMetadataProperty.Builder lastUploadTimestamp(String lastUploadTimestamp) Sets the value ofCfnUserSettings.ImageMetadataProperty.getLastUploadTimestamp()- Parameters:
lastUploadTimestamp- the value to be set. This parameter is required.- Returns:
this
-
mimeType
Sets the value ofCfnUserSettings.ImageMetadataProperty.getMimeType()- Parameters:
mimeType- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserSettings.ImageMetadataProperty>- Returns:
- a new instance of
CfnUserSettings.ImageMetadataProperty - Throws:
NullPointerException- if any required attribute was not provided
-