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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaTestGridVpcConfig.builder()
.When the
Consumer
completes,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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-