Class CfnUploadMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devicefarm.CfnUploadMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUploadMixinProps>
- Enclosing interface:
CfnUploadMixinProps
@Stability(Stable)
public static final class CfnUploadMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUploadMixinProps>
A builder for
CfnUploadMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.contentType(String contentType) Sets the value ofCfnUploadMixinProps.getContentType()Sets the value ofCfnUploadMixinProps.getName()projectArn(String projectArn) Sets the value ofCfnUploadMixinProps.getProjectArn()Sets the value ofCfnUploadMixinProps.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
contentType
Sets the value ofCfnUploadMixinProps.getContentType()- Parameters:
contentType- The upload's content type (for example, application/octet-stream).- Returns:
this
-
name
Sets the value ofCfnUploadMixinProps.getName()- Parameters:
name- The upload's file name.- Returns:
this
-
projectArn
Sets the value ofCfnUploadMixinProps.getProjectArn()- Parameters:
projectArn- The ARN of the project for the upload.- Returns:
this
-
type
Sets the value ofCfnUploadMixinProps.getType()- Parameters:
type- The upload's type.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUploadMixinProps>- Returns:
- a new instance of
CfnUploadMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-