Class CfnStreamingImageProps.Builder
java.lang.Object
software.amazon.awscdk.services.nimblestudio.CfnStreamingImageProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStreamingImageProps>
- Enclosing interface:
- CfnStreamingImageProps
@Stability(Stable)
public static final class CfnStreamingImageProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStreamingImageProps>
A builder for
CfnStreamingImageProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnStreamingImageProps.getDescription()
ec2ImageId
(String ec2ImageId) Sets the value ofCfnStreamingImageProps.getEc2ImageId()
Sets the value ofCfnStreamingImageProps.getName()
Sets the value ofCfnStreamingImageProps.getStudioId()
Sets the value ofCfnStreamingImageProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ec2ImageId
Sets the value ofCfnStreamingImageProps.getEc2ImageId()
- Parameters:
ec2ImageId
- The ID of an EC2 machine image with which to create the streaming image. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnStreamingImageProps.getName()
- Parameters:
name
- A friendly name for a streaming image resource. This parameter is required.- Returns:
this
-
studioId
Sets the value ofCfnStreamingImageProps.getStudioId()
- Parameters:
studioId
- The unique identifier for a studio resource. This parameter is required. In Nimble Studio , all other resources are contained in a studio resource.- Returns:
this
-
description
Sets the value ofCfnStreamingImageProps.getDescription()
- Parameters:
description
- A human-readable description of the streaming image.- Returns:
this
-
tags
Sets the value ofCfnStreamingImageProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStreamingImageProps>
- Returns:
- a new instance of
CfnStreamingImageProps
- Throws:
NullPointerException
- if any required attribute was not provided
-