Class CfnProjectProps.Builder
java.lang.Object
software.amazon.awscdk.services.devicefarm.CfnProjectProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnProjectProps>
- Enclosing interface:
CfnProjectProps
@Stability(Stable)
public static final class CfnProjectProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnProjectProps>
A builder for
CfnProjectProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultJobTimeoutMinutes(Number defaultJobTimeoutMinutes) Sets the value ofCfnProjectProps.getDefaultJobTimeoutMinutes()Sets the value ofCfnProjectProps.getName()Sets the value ofCfnProjectProps.getTags()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnProjectProps.getVpcConfig()vpcConfig(CfnProject.VpcConfigProperty vpcConfig) Sets the value ofCfnProjectProps.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnProjectProps.getName()- Parameters:
name- The project's name. This parameter is required.- Returns:
this
-
defaultJobTimeoutMinutes
@Stability(Stable) public CfnProjectProps.Builder defaultJobTimeoutMinutes(Number defaultJobTimeoutMinutes) Sets the value ofCfnProjectProps.getDefaultJobTimeoutMinutes()- Parameters:
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.- Returns:
this
-
tags
Sets the value ofCfnProjectProps.getTags()- Parameters:
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.- Returns:
this
-
vpcConfig
Sets the value ofCfnProjectProps.getVpcConfig()- Parameters:
vpcConfig- The VPC security groups and subnets that are attached to a project.- Returns:
this
-
vpcConfig
Sets the value ofCfnProjectProps.getVpcConfig()- Parameters:
vpcConfig- The VPC security groups and subnets that are attached to a project.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnProjectProps>- Returns:
- a new instance of
CfnProjectProps - Throws:
NullPointerException- if any required attribute was not provided
-