public static interface UpdateProjectRequest.Builder extends CodeBuildRequest.Builder, CopyableBuilder<UpdateProjectRequest.Builder,UpdateProjectRequest>
Modifier and Type | Method and Description |
---|---|
default UpdateProjectRequest.Builder |
artifacts(Consumer<ProjectArtifacts.Builder> artifacts)
Information to be changed about the build output artifacts for the build project.
|
UpdateProjectRequest.Builder |
artifacts(ProjectArtifacts artifacts)
Information to be changed about the build output artifacts for the build project.
|
UpdateProjectRequest.Builder |
description(String description)
A new or replacement description of the build project.
|
UpdateProjectRequest.Builder |
encryptionKey(String encryptionKey)
The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the
build output artifacts.
|
default UpdateProjectRequest.Builder |
environment(Consumer<ProjectEnvironment.Builder> environment)
Information to be changed about the build environment for the build project.
|
UpdateProjectRequest.Builder |
environment(ProjectEnvironment environment)
Information to be changed about the build environment for the build project.
|
UpdateProjectRequest.Builder |
name(String name)
The name of the build project.
|
UpdateProjectRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateProjectRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateProjectRequest.Builder |
serviceRole(String serviceRole)
The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to
interact with dependent AWS services on behalf of the AWS account.
|
default UpdateProjectRequest.Builder |
source(Consumer<ProjectSource.Builder> source)
Information to be changed about the build input source code for the build project.
|
UpdateProjectRequest.Builder |
source(ProjectSource source)
Information to be changed about the build input source code for the build project.
|
UpdateProjectRequest.Builder |
tags(Collection<Tag> tags)
The replacement set of tags for this build project.
|
UpdateProjectRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The replacement set of tags for this build project.
|
UpdateProjectRequest.Builder |
tags(Tag... tags)
The replacement set of tags for this build project.
|
UpdateProjectRequest.Builder |
timeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any
related build that did not get marked as completed.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateProjectRequest.Builder name(String name)
The name of the build project.
You cannot change a build project's name.
name
- The name of the build project. You cannot change a build project's name.
UpdateProjectRequest.Builder description(String description)
A new or replacement description of the build project.
description
- A new or replacement description of the build project.UpdateProjectRequest.Builder source(ProjectSource source)
Information to be changed about the build input source code for the build project.
source
- Information to be changed about the build input source code for the build project.default UpdateProjectRequest.Builder source(Consumer<ProjectSource.Builder> source)
Information to be changed about the build input source code for the build project.
This is a convenience that creates an instance of theProjectSource.Builder
avoiding the need to
create one manually via ProjectSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to source(ProjectSource)
.source
- a consumer that will call methods on ProjectSource.Builder
source(ProjectSource)
UpdateProjectRequest.Builder artifacts(ProjectArtifacts artifacts)
Information to be changed about the build output artifacts for the build project.
artifacts
- Information to be changed about the build output artifacts for the build project.default UpdateProjectRequest.Builder artifacts(Consumer<ProjectArtifacts.Builder> artifacts)
Information to be changed about the build output artifacts for the build project.
This is a convenience that creates an instance of theProjectArtifacts.Builder
avoiding the need to
create one manually via ProjectArtifacts.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to artifacts(ProjectArtifacts)
.artifacts
- a consumer that will call methods on ProjectArtifacts.Builder
artifacts(ProjectArtifacts)
UpdateProjectRequest.Builder environment(ProjectEnvironment environment)
Information to be changed about the build environment for the build project.
environment
- Information to be changed about the build environment for the build project.default UpdateProjectRequest.Builder environment(Consumer<ProjectEnvironment.Builder> environment)
Information to be changed about the build environment for the build project.
This is a convenience that creates an instance of theProjectEnvironment.Builder
avoiding the need to
create one manually via ProjectEnvironment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to environment(ProjectEnvironment)
.environment
- a consumer that will call methods on ProjectEnvironment.Builder
environment(ProjectEnvironment)
UpdateProjectRequest.Builder serviceRole(String serviceRole)
The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to interact with dependent AWS services on behalf of the AWS account.
serviceRole
- The replacement ARN of the AWS Identity and Access Management (IAM) role that enables AWS CodeBuild to
interact with dependent AWS services on behalf of the AWS account.UpdateProjectRequest.Builder timeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out any related build that did not get marked as completed.
timeoutInMinutes
- The replacement value in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait before timing out
any related build that did not get marked as completed.UpdateProjectRequest.Builder encryptionKey(String encryptionKey)
The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using the
format alias/alias-name
).
encryptionKey
- The replacement AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for
encrypting the build output artifacts.
You can specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using
the format alias/alias-name
).
UpdateProjectRequest.Builder tags(Collection<Tag> tags)
The replacement set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
tags
- The replacement set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
UpdateProjectRequest.Builder tags(Tag... tags)
The replacement set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
tags
- The replacement set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
UpdateProjectRequest.Builder tags(Consumer<Tag.Builder>... tags)
The replacement set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
UpdateProjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.