Class CfnUploadPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devicefarm.CfnUploadPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUploadPropsMixin>
- Enclosing class:
CfnUploadPropsMixin
@Stability(Stable)
public static final class CfnUploadPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUploadPropsMixin>
A fluent builder for
CfnUploadPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()contentType(String contentType) The upload's content type (for example, application/octet-stream).static CfnUploadPropsMixin.Buildercreate()static CfnUploadPropsMixin.Buildercreate(CfnPropertyMixinOptions options) The upload's file name.projectArn(String projectArn) The ARN of the project for the upload.The upload's type.
-
Method Details
-
create
@Stability(Stable) public static CfnUploadPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnUploadPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnUploadPropsMixin.Builder.
-
contentType
The upload's content type (for example, application/octet-stream).- Parameters:
contentType- The upload's content type (for example, application/octet-stream). This parameter is required.- Returns:
this- See Also:
-
name
The upload's file name.- Parameters:
name- The upload's file name. This parameter is required.- Returns:
this- See Also:
-
projectArn
The ARN of the project for the upload.- Parameters:
projectArn- The ARN of the project for the upload. This parameter is required.- Returns:
this- See Also:
-
type
The upload's type.- Parameters:
type- The upload's type. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUploadPropsMixin>- Returns:
- a newly built instance of
CfnUploadPropsMixin.
-