Class CfnWorkspacePropsMixin.MediaItemProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.connect.CfnWorkspacePropsMixin.MediaItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnWorkspacePropsMixin.MediaItemProperty>
- Enclosing interface:
CfnWorkspacePropsMixin.MediaItemProperty
@Stability(Stable)
public static final class CfnWorkspacePropsMixin.MediaItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnWorkspacePropsMixin.MediaItemProperty>
A builder for
CfnWorkspacePropsMixin.MediaItemProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnWorkspacePropsMixin.MediaItemProperty.getSource()Sets the value ofCfnWorkspacePropsMixin.MediaItemProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
Sets the value ofCfnWorkspacePropsMixin.MediaItemProperty.getSource()- Parameters:
source- The source URL or data for the media asset.- Returns:
this
-
type
Sets the value ofCfnWorkspacePropsMixin.MediaItemProperty.getType()- Parameters:
type- The type of media. Valid values are:IMAGE_LOGO_FAVICONandIMAGE_LOGO_HORIZONTAL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnWorkspacePropsMixin.MediaItemProperty>- Returns:
- a new instance of
CfnWorkspacePropsMixin.MediaItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-