Class CfnProjectPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devicefarm.CfnProjectPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectPropsMixin>
- Enclosing class:
CfnProjectPropsMixin
@Stability(Stable)
public static final class CfnProjectPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectPropsMixin>
A fluent builder for
CfnProjectPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnProjectPropsMixin.Buildercreate()static CfnProjectPropsMixin.Buildercreate(CfnPropertyMixinOptions options) defaultJobTimeoutMinutes(Number defaultJobTimeoutMinutes) Sets the execution timeout value (in minutes) for a project.environmentVariables(List<? extends Object> environmentVariables) environmentVariables(IResolvable environmentVariables) executionRoleArn(String executionRoleArn) The project's name.The tags to add to the resource.vpcConfig(CfnProjectPropsMixin.VpcConfigProperty vpcConfig) The VPC security groups and subnets that are attached to a project.vpcConfig(IResolvable vpcConfig) The VPC security groups and subnets that are attached to a project.
-
Method Details
-
create
@Stability(Stable) public static CfnProjectPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnProjectPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnProjectPropsMixin.Builder.
-
defaultJobTimeoutMinutes
@Stability(Stable) public CfnProjectPropsMixin.Builder defaultJobTimeoutMinutes(Number defaultJobTimeoutMinutes) Sets the execution timeout value (in minutes) for a project.All test runs in this project use the specified execution timeout value unless overridden when scheduling a run.
- Parameters:
defaultJobTimeoutMinutes- Sets the execution timeout value (in minutes) for a project. This parameter is required.- Returns:
this- See Also:
-
environmentVariables
@Stability(Stable) public CfnProjectPropsMixin.Builder environmentVariables(IResolvable environmentVariables) - Parameters:
environmentVariables- This parameter is required.- Returns:
this- See Also:
-
environmentVariables
@Stability(Stable) public CfnProjectPropsMixin.Builder environmentVariables(List<? extends Object> environmentVariables) - Parameters:
environmentVariables- This parameter is required.- Returns:
this- See Also:
-
executionRoleArn
- Parameters:
executionRoleArn- This parameter is required.- Returns:
this- See Also:
-
name
The project's name.- Parameters:
name- The project's name. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to add to the resource.A tag is an array of key-value pairs. Tag keys can have a maximum character length of 128 characters. Tag values can have a maximum length of 256 characters.
- Parameters:
tags- The tags to add to the resource. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
The VPC security groups and subnets that are attached to a project.- Parameters:
vpcConfig- The VPC security groups and subnets that are attached to a project. This parameter is required.- Returns:
this- See Also:
-
vpcConfig
@Stability(Stable) public CfnProjectPropsMixin.Builder vpcConfig(CfnProjectPropsMixin.VpcConfigProperty vpcConfig) The VPC security groups and subnets that are attached to a project.- Parameters:
vpcConfig- The VPC security groups and subnets that are attached to a project. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectPropsMixin>- Returns:
- a newly built instance of
CfnProjectPropsMixin.
-