Interface CreateTestGridProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateTestGridProjectRequest.Builder,,CreateTestGridProjectRequest> DeviceFarmRequest.Builder,SdkBuilder<CreateTestGridProjectRequest.Builder,,CreateTestGridProjectRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateTestGridProjectRequest
public static interface CreateTestGridProjectRequest.Builder
extends DeviceFarmRequest.Builder, SdkPojo, CopyableBuilder<CreateTestGridProjectRequest.Builder,CreateTestGridProjectRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) Human-readable description of the project.Human-readable name of the Selenium testing project.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.vpcConfig(Consumer<TestGridVpcConfig.Builder> vpcConfig) The VPC security groups and subnets that are attached to a project.vpcConfig(TestGridVpcConfig vpcConfig) The VPC security groups and subnets that are attached to a project.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
Human-readable name of the Selenium testing project.
- Parameters:
name- Human-readable name of the Selenium testing project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Human-readable description of the project.
- Parameters:
description- Human-readable description of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default CreateTestGridProjectRequest.Builder vpcConfig(Consumer<TestGridVpcConfig.Builder> vpcConfig) The VPC security groups and subnets that are attached to a project.
This is a convenience method that creates an instance of theTestGridVpcConfig.Builderavoiding the need to create one manually viaTestGridVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(TestGridVpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onTestGridVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateTestGridProjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateTestGridProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-