Interface TestGridProject.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TestGridProject.Builder,
,TestGridProject> SdkBuilder<TestGridProject.Builder,
,TestGridProject> SdkPojo
- Enclosing class:
TestGridProject
public static interface TestGridProject.Builder
extends SdkPojo, CopyableBuilder<TestGridProject.Builder,TestGridProject>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN for the project.When the project was created.description
(String description) A human-readable description for the project.A human-readable name for the project.default TestGridProject.Builder
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.utils.builder.CopyableBuilder
copy
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
-
arn
The ARN for the project.
- Parameters:
arn
- The ARN for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A human-readable name for the project.
- Parameters:
name
- A human-readable name for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A human-readable description for the project.
- Parameters:
description
- A human-readable description for 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
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:
-
created
When the project was created.
- Parameters:
created
- When the project was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-