Class CfnUpload.Builder
java.lang.Object
software.amazon.awscdk.services.devicefarm.CfnUpload.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUpload>
- Enclosing class:
CfnUpload
@Stability(Stable)
public static final class CfnUpload.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUpload>
A fluent builder for
CfnUpload.-
Method Summary
Modifier and TypeMethodDescriptionbuild()contentType(String contentType) The upload's content type (for example, application/octet-stream).static CfnUpload.BuilderThe 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 CfnUpload.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnUpload.Builder.
-
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:
-
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:
-
build
-