Interface UpdateProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateProjectRequest.Builder,,UpdateProjectRequest> DeviceFarmRequest.Builder,SdkBuilder<UpdateProjectRequest.Builder,,UpdateProjectRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateProjectRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the project whose name to update.defaultJobTimeoutMinutes(Integer defaultJobTimeoutMinutes) The number of minutes a test run in the project executes before it times out.environmentVariables(Collection<EnvironmentVariable> environmentVariables) A set of environment variables which are used by default for all runs in the project.environmentVariables(Consumer<EnvironmentVariable.Builder>... environmentVariables) A set of environment variables which are used by default for all runs in the project.environmentVariables(EnvironmentVariable... environmentVariables) A set of environment variables which are used by default for all runs in the project.executionRoleArn(String executionRoleArn) An IAM role to be assumed by the test host for all runs in the project.A string that represents the new name of the project that you are updating.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateProjectRequest.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig) The VPC security groups and subnets that are attached to a project.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, sdkFieldNameToField, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the project whose name to update.
- Parameters:
arn- The Amazon Resource Name (ARN) of the project whose name to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A string that represents the new name of the project that you are updating.
- Parameters:
name- A string that represents the new name of the project that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultJobTimeoutMinutes
The number of minutes a test run in the project executes before it times out.
- Parameters:
defaultJobTimeoutMinutes- The number of minutes a test run in the project executes before it times out.- 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 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:
-
environmentVariables
UpdateProjectRequest.Builder environmentVariables(Collection<EnvironmentVariable> environmentVariables) A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file.
For more information about using test spec files, please see Custom test environments in AWS Device Farm.
- Parameters:
environmentVariables- A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file.For more information about using test spec files, please see Custom test environments in AWS Device Farm.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVariables
A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file.
For more information about using test spec files, please see Custom test environments in AWS Device Farm.
- Parameters:
environmentVariables- A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file.For more information about using test spec files, please see Custom test environments in AWS Device Farm.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentVariables
UpdateProjectRequest.Builder environmentVariables(Consumer<EnvironmentVariable.Builder>... environmentVariables) A set of environment variables which are used by default for all runs in the project. These environment variables are applied to the test run during the execution of a test spec file.
For more information about using test spec files, please see Custom test environments in AWS Device Farm.
This is a convenience method that creates an instance of theEnvironmentVariable.Builderavoiding the need to create one manually viaEnvironmentVariable.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvironmentVariables(List<EnvironmentVariable>).- Parameters:
environmentVariables- a consumer that will call methods onEnvironmentVariable.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionRoleArn
An IAM role to be assumed by the test host for all runs in the project.
- Parameters:
executionRoleArn- An IAM role to be assumed by the test host for all runs in the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateProjectRequest.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
UpdateProjectRequest.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.
-