public static interface UpdateProjectRequest.Builder extends CodeBuildRequest.Builder, SdkPojo, 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 |
badgeEnabled(Boolean badgeEnabled)
Set this to true to generate a publicly accessible URL for your project's build badge.
|
default UpdateProjectRequest.Builder |
cache(Consumer<ProjectCache.Builder> cache)
Stores recently used information so that it can be quickly accessed at a later time.
|
UpdateProjectRequest.Builder |
cache(ProjectCache cache)
Stores recently used information so that it can be quickly accessed at a later time.
|
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.
|
default UpdateProjectRequest.Builder |
logsConfig(Consumer<LogsConfig.Builder> logsConfig)
Information about logs for the build project.
|
UpdateProjectRequest.Builder |
logsConfig(LogsConfig logsConfig)
Information about logs 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 |
queuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)
The number of minutes a build is allowed to be queued before it times out.
|
UpdateProjectRequest.Builder |
secondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)
An array of
ProjectSource objects. |
UpdateProjectRequest.Builder |
secondaryArtifacts(Consumer<ProjectArtifacts.Builder>... secondaryArtifacts)
An array of
ProjectSource objects. |
UpdateProjectRequest.Builder |
secondaryArtifacts(ProjectArtifacts... secondaryArtifacts)
An array of
ProjectSource objects. |
UpdateProjectRequest.Builder |
secondarySources(Collection<ProjectSource> secondarySources)
An array of
ProjectSource objects. |
UpdateProjectRequest.Builder |
secondarySources(Consumer<ProjectSource.Builder>... secondarySources)
An array of
ProjectSource objects. |
UpdateProjectRequest.Builder |
secondarySources(ProjectSource... secondarySources)
An array of
ProjectSource objects. |
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.
|
default UpdateProjectRequest.Builder |
vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
|
UpdateProjectRequest.Builder |
vpcConfig(VpcConfig vpcConfig)
VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
|
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 secondarySources(Collection<ProjectSource> secondarySources)
An array of ProjectSource
objects.
secondarySources
- An array of ProjectSource
objects.UpdateProjectRequest.Builder secondarySources(ProjectSource... secondarySources)
An array of ProjectSource
objects.
secondarySources
- An array of ProjectSource
objects.UpdateProjectRequest.Builder secondarySources(Consumer<ProjectSource.Builder>... secondarySources)
An array of ProjectSource
objects.
List.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 #secondarySources(List)
.secondarySources
- a consumer that will call methods on List.Builder
#secondarySources(List)
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 secondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)
An array of ProjectSource
objects.
secondaryArtifacts
- An array of ProjectSource
objects.UpdateProjectRequest.Builder secondaryArtifacts(ProjectArtifacts... secondaryArtifacts)
An array of ProjectSource
objects.
secondaryArtifacts
- An array of ProjectSource
objects.UpdateProjectRequest.Builder secondaryArtifacts(Consumer<ProjectArtifacts.Builder>... secondaryArtifacts)
An array of ProjectSource
objects.
List.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 #secondaryArtifacts(List)
.secondaryArtifacts
- a consumer that will call methods on List.Builder
#secondaryArtifacts(List)
UpdateProjectRequest.Builder cache(ProjectCache cache)
Stores recently used information so that it can be quickly accessed at a later time.
cache
- Stores recently used information so that it can be quickly accessed at a later time.default UpdateProjectRequest.Builder cache(Consumer<ProjectCache.Builder> cache)
Stores recently used information so that it can be quickly accessed at a later time.
This is a convenience that creates an instance of theProjectCache.Builder
avoiding the need to
create one manually via ProjectCache.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to cache(ProjectCache)
.cache
- a consumer that will call methods on ProjectCache.Builder
cache(ProjectCache)
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 queuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)
The number of minutes a build is allowed to be queued before it times out.
queuedTimeoutInMinutes
- The number of minutes a build is allowed to be queued before it times out.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 Amazon Resource Name (ARN)of the CMK 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 Amazon Resource Name (ARN)of the CMK 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 vpcConfig(VpcConfig vpcConfig)
VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
vpcConfig
- VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.default UpdateProjectRequest.Builder vpcConfig(Consumer<VpcConfig.Builder> vpcConfig)
VpcConfig enables AWS CodeBuild to access resources in an Amazon VPC.
This is a convenience that creates an instance of theVpcConfig.Builder
avoiding the need to create
one manually via VpcConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to vpcConfig(VpcConfig)
.vpcConfig
- a consumer that will call methods on VpcConfig.Builder
vpcConfig(VpcConfig)
UpdateProjectRequest.Builder badgeEnabled(Boolean badgeEnabled)
Set this to true to generate a publicly accessible URL for your project's build badge.
badgeEnabled
- Set this to true to generate a publicly accessible URL for your project's build badge.UpdateProjectRequest.Builder logsConfig(LogsConfig logsConfig)
Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
logsConfig
- Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs,
logs in an S3 bucket, or both.default UpdateProjectRequest.Builder logsConfig(Consumer<LogsConfig.Builder> logsConfig)
Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, logs in an S3 bucket, or both.
This is a convenience that creates an instance of theLogsConfig.Builder
avoiding the need to create
one manually via LogsConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to logsConfig(LogsConfig)
.logsConfig
- a consumer that will call methods on LogsConfig.Builder
logsConfig(LogsConfig)
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.