Class CfnUserSettingsPropsMixin.ImageMetadataProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.workspacesweb.CfnUserSettingsPropsMixin.ImageMetadataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserSettingsPropsMixin.ImageMetadataProperty>
- Enclosing interface:
CfnUserSettingsPropsMixin.ImageMetadataProperty
@Stability(Stable)
public static final class CfnUserSettingsPropsMixin.ImageMetadataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserSettingsPropsMixin.ImageMetadataProperty>
A builder for
CfnUserSettingsPropsMixin.ImageMetadataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileExtension(String fileExtension) Sets the value ofCfnUserSettingsPropsMixin.ImageMetadataProperty.getFileExtension()lastUploadTimestamp(String lastUploadTimestamp) Sets the value ofCfnUserSettingsPropsMixin.ImageMetadataProperty.getLastUploadTimestamp()Sets the value ofCfnUserSettingsPropsMixin.ImageMetadataProperty.getMimeType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileExtension
@Stability(Stable) public CfnUserSettingsPropsMixin.ImageMetadataProperty.Builder fileExtension(String fileExtension) Sets the value ofCfnUserSettingsPropsMixin.ImageMetadataProperty.getFileExtension()- Parameters:
fileExtension- The file extension of the image.- Returns:
this
-
lastUploadTimestamp
@Stability(Stable) public CfnUserSettingsPropsMixin.ImageMetadataProperty.Builder lastUploadTimestamp(String lastUploadTimestamp) Sets the value ofCfnUserSettingsPropsMixin.ImageMetadataProperty.getLastUploadTimestamp()- Parameters:
lastUploadTimestamp- The timestamp when the image was last uploaded.- Returns:
this
-
mimeType
@Stability(Stable) public CfnUserSettingsPropsMixin.ImageMetadataProperty.Builder mimeType(String mimeType) Sets the value ofCfnUserSettingsPropsMixin.ImageMetadataProperty.getMimeType()- Parameters:
mimeType- The MIME type of the image.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserSettingsPropsMixin.ImageMetadataProperty>- Returns:
- a new instance of
CfnUserSettingsPropsMixin.ImageMetadataProperty - Throws:
NullPointerException- if any required attribute was not provided
-