Class CfnTestGridProjectMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devicefarm.CfnTestGridProjectMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTestGridProjectMixinProps>
- Enclosing interface:
CfnTestGridProjectMixinProps
@Stability(Stable)
public static final class CfnTestGridProjectMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTestGridProjectMixinProps>
A builder for
CfnTestGridProjectMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnTestGridProjectMixinProps.getDescription()Sets the value ofCfnTestGridProjectMixinProps.getName()Sets the value ofCfnTestGridProjectMixinProps.getTags()Sets the value ofCfnTestGridProjectMixinProps.getVpcConfig()vpcConfig(IResolvable vpcConfig) Sets the value ofCfnTestGridProjectMixinProps.getVpcConfig()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnTestGridProjectMixinProps.getDescription()- Parameters:
description- A human-readable description for the project.- Returns:
this
-
name
Sets the value ofCfnTestGridProjectMixinProps.getName()- Parameters:
name- A human-readable name for the project.- Returns:
this
-
tags
Sets the value ofCfnTestGridProjectMixinProps.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 ofCfnTestGridProjectMixinProps.getVpcConfig()- Parameters:
vpcConfig- The VPC security groups and subnets that are attached to a project.- Returns:
this
-
vpcConfig
@Stability(Stable) public CfnTestGridProjectMixinProps.Builder vpcConfig(CfnTestGridProjectPropsMixin.VpcConfigProperty vpcConfig) Sets the value ofCfnTestGridProjectMixinProps.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<CfnTestGridProjectMixinProps>- Returns:
- a new instance of
CfnTestGridProjectMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-