Interface Project.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Project.Builder,Project>,SdkBuilder<Project.Builder,Project>,SdkPojo
- Enclosing class:
- Project
public static interface Project.Builder extends SdkPojo, CopyableBuilder<Project.Builder,Project>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Project.Builderarn(String arn)The project's ARN.Project.Buildercreated(Instant created)When the project was created.Project.BuilderdefaultJobTimeoutMinutes(Integer defaultJobTimeoutMinutes)The default number of minutes (at the project level) a test run executes before it times out.Project.Buildername(String name)The project's name.default Project.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig)The VPC security groups and subnets that are attached to a project.Project.BuildervpcConfig(VpcConfig 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 Detail
-
arn
Project.Builder arn(String arn)
The project's ARN.
- Parameters:
arn- The project's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Project.Builder name(String name)
The project's name.
- Parameters:
name- The project's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultJobTimeoutMinutes
Project.Builder defaultJobTimeoutMinutes(Integer defaultJobTimeoutMinutes)
The default number of minutes (at the project level) a test run executes before it times out. The default value is 150 minutes.
- Parameters:
defaultJobTimeoutMinutes- The default number of minutes (at the project level) a test run executes before it times out. The default value is 150 minutes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
created
Project.Builder created(Instant 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.
-
vpcConfig
Project.Builder vpcConfig(VpcConfig 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 Project.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
The VPC security groups and subnets that are attached to a project.
This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vpcConfig(VpcConfig)
-
-