Class CfnTestGridProjectProps.Builder
java.lang.Object
software.amazon.awscdk.services.devicefarm.CfnTestGridProjectProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTestGridProjectProps>
- Enclosing interface:
CfnTestGridProjectProps
@Stability(Stable)
public static final class CfnTestGridProjectProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTestGridProjectProps>
A builder for
CfnTestGridProjectProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnTestGridProjectProps.getDescription()
Sets the value ofCfnTestGridProjectProps.getName()
Sets the value ofCfnTestGridProjectProps.getTags()
vpcConfig
(IResolvable vpcConfig) Sets the value ofCfnTestGridProjectProps.getVpcConfig()
vpcConfig
(CfnTestGridProject.VpcConfigProperty vpcConfig) Sets the value ofCfnTestGridProjectProps.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnTestGridProjectProps.getName()
- Parameters:
name
- A human-readable name for the project. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnTestGridProjectProps.getDescription()
- Parameters:
description
- A human-readable description for the project.- Returns:
this
-
tags
Sets the value ofCfnTestGridProjectProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag in the guide .- Returns:
this
-
vpcConfig
Sets the value ofCfnTestGridProjectProps.getVpcConfig()
- Parameters:
vpcConfig
- The VPC security groups and subnets that are attached to a project.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnTestGridProjectProps.Builder vpcConfig(CfnTestGridProject.VpcConfigProperty vpcConfig) Sets the value ofCfnTestGridProjectProps.getVpcConfig()
- Parameters:
vpcConfig
- The VPC security groups and subnets that are attached to a project.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTestGridProjectProps>
- Returns:
- a new instance of
CfnTestGridProjectProps
- Throws:
NullPointerException
- if any required attribute was not provided
-