@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateProjectRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateProjectRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateProjectRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ProjectArtifacts |
getArtifacts()
Information to be changed about the build output artifacts for the build project.
|
Boolean |
getBadgeEnabled()
Set this to true to generate a publicly accessible URL for your project's build badge.
|
ProjectBuildBatchConfig |
getBuildBatchConfig() |
ProjectCache |
getCache()
Stores recently used information so that it can be quickly accessed at a later time.
|
Integer |
getConcurrentBuildLimit()
The maximum number of concurrent builds that are allowed for this project.
|
String |
getDescription()
A new or replacement description of the build project.
|
String |
getEncryptionKey()
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
|
ProjectEnvironment |
getEnvironment()
Information to be changed about the build environment for the build project.
|
List<ProjectFileSystemLocation> |
getFileSystemLocations()
An array of
ProjectFileSystemLocation objects for a CodeBuild build project. |
LogsConfig |
getLogsConfig()
Information about logs for the build project.
|
String |
getName()
The name of the build project.
|
Integer |
getQueuedTimeoutInMinutes()
The number of minutes a build is allowed to be queued before it times out.
|
List<ProjectArtifacts> |
getSecondaryArtifacts()
An array of
ProjectArtifact objects. |
List<ProjectSource> |
getSecondarySources()
An array of
ProjectSource objects. |
List<ProjectSourceVersion> |
getSecondarySourceVersions()
An array of
ProjectSourceVersion objects. |
String |
getServiceRole()
The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services
services on behalf of the Amazon Web Services account.
|
ProjectSource |
getSource()
Information to be changed about the build input source code for the build project.
|
String |
getSourceVersion()
A version of the build input to be built for this project.
|
List<Tag> |
getTags()
An updated list of tag key and value pairs associated with this build project.
|
Integer |
getTimeoutInMinutes()
The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related
build that did not get marked as completed.
|
VpcConfig |
getVpcConfig()
VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
int |
hashCode() |
Boolean |
isBadgeEnabled()
Set this to true to generate a publicly accessible URL for your project's build badge.
|
void |
setArtifacts(ProjectArtifacts artifacts)
Information to be changed about the build output artifacts for the build project.
|
void |
setBadgeEnabled(Boolean badgeEnabled)
Set this to true to generate a publicly accessible URL for your project's build badge.
|
void |
setBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig) |
void |
setCache(ProjectCache cache)
Stores recently used information so that it can be quickly accessed at a later time.
|
void |
setConcurrentBuildLimit(Integer concurrentBuildLimit)
The maximum number of concurrent builds that are allowed for this project.
|
void |
setDescription(String description)
A new or replacement description of the build project.
|
void |
setEncryptionKey(String encryptionKey)
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
|
void |
setEnvironment(ProjectEnvironment environment)
Information to be changed about the build environment for the build project.
|
void |
setFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of
ProjectFileSystemLocation objects for a CodeBuild build project. |
void |
setLogsConfig(LogsConfig logsConfig)
Information about logs for the build project.
|
void |
setName(String name)
The name of the build project.
|
void |
setQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)
The number of minutes a build is allowed to be queued before it times out.
|
void |
setSecondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)
An array of
ProjectArtifact objects. |
void |
setSecondarySources(Collection<ProjectSource> secondarySources)
An array of
ProjectSource objects. |
void |
setSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)
An array of
ProjectSourceVersion objects. |
void |
setServiceRole(String serviceRole)
The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services
services on behalf of the Amazon Web Services account.
|
void |
setSource(ProjectSource source)
Information to be changed about the build input source code for the build project.
|
void |
setSourceVersion(String sourceVersion)
A version of the build input to be built for this project.
|
void |
setTags(Collection<Tag> tags)
An updated list of tag key and value pairs associated with this build project.
|
void |
setTimeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related
build that did not get marked as completed.
|
void |
setVpcConfig(VpcConfig vpcConfig)
VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
String |
toString()
Returns a string representation of this object.
|
UpdateProjectRequest |
withArtifacts(ProjectArtifacts artifacts)
Information to be changed about the build output artifacts for the build project.
|
UpdateProjectRequest |
withBadgeEnabled(Boolean badgeEnabled)
Set this to true to generate a publicly accessible URL for your project's build badge.
|
UpdateProjectRequest |
withBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig) |
UpdateProjectRequest |
withCache(ProjectCache cache)
Stores recently used information so that it can be quickly accessed at a later time.
|
UpdateProjectRequest |
withConcurrentBuildLimit(Integer concurrentBuildLimit)
The maximum number of concurrent builds that are allowed for this project.
|
UpdateProjectRequest |
withDescription(String description)
A new or replacement description of the build project.
|
UpdateProjectRequest |
withEncryptionKey(String encryptionKey)
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
|
UpdateProjectRequest |
withEnvironment(ProjectEnvironment environment)
Information to be changed about the build environment for the build project.
|
UpdateProjectRequest |
withFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of
ProjectFileSystemLocation objects for a CodeBuild build project. |
UpdateProjectRequest |
withFileSystemLocations(ProjectFileSystemLocation... fileSystemLocations)
An array of
ProjectFileSystemLocation objects for a CodeBuild build project. |
UpdateProjectRequest |
withLogsConfig(LogsConfig logsConfig)
Information about logs for the build project.
|
UpdateProjectRequest |
withName(String name)
The name of the build project.
|
UpdateProjectRequest |
withQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)
The number of minutes a build is allowed to be queued before it times out.
|
UpdateProjectRequest |
withSecondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)
An array of
ProjectArtifact objects. |
UpdateProjectRequest |
withSecondaryArtifacts(ProjectArtifacts... secondaryArtifacts)
An array of
ProjectArtifact objects. |
UpdateProjectRequest |
withSecondarySources(Collection<ProjectSource> secondarySources)
An array of
ProjectSource objects. |
UpdateProjectRequest |
withSecondarySources(ProjectSource... secondarySources)
An array of
ProjectSource objects. |
UpdateProjectRequest |
withSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)
An array of
ProjectSourceVersion objects. |
UpdateProjectRequest |
withSecondarySourceVersions(ProjectSourceVersion... secondarySourceVersions)
An array of
ProjectSourceVersion objects. |
UpdateProjectRequest |
withServiceRole(String serviceRole)
The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services
services on behalf of the Amazon Web Services account.
|
UpdateProjectRequest |
withSource(ProjectSource source)
Information to be changed about the build input source code for the build project.
|
UpdateProjectRequest |
withSourceVersion(String sourceVersion)
A version of the build input to be built for this project.
|
UpdateProjectRequest |
withTags(Collection<Tag> tags)
An updated list of tag key and value pairs associated with this build project.
|
UpdateProjectRequest |
withTags(Tag... tags)
An updated list of tag key and value pairs associated with this build project.
|
UpdateProjectRequest |
withTimeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related
build that did not get marked as completed.
|
UpdateProjectRequest |
withVpcConfig(VpcConfig vpcConfig)
VpcConfig enables CodeBuild to access resources in an Amazon VPC.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setName(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.
public String getName()
The name of the build project.
You cannot change a build project's name.
You cannot change a build project's name.
public UpdateProjectRequest withName(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.
public void setDescription(String description)
A new or replacement description of the build project.
description
- A new or replacement description of the build project.public String getDescription()
A new or replacement description of the build project.
public UpdateProjectRequest withDescription(String description)
A new or replacement description of the build project.
description
- A new or replacement description of the build project.public void setSource(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.public ProjectSource getSource()
Information to be changed about the build input source code for the build project.
public UpdateProjectRequest withSource(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.public List<ProjectSource> getSecondarySources()
An array of ProjectSource
objects.
ProjectSource
objects.public void setSecondarySources(Collection<ProjectSource> secondarySources)
An array of ProjectSource
objects.
secondarySources
- An array of ProjectSource
objects.public UpdateProjectRequest withSecondarySources(ProjectSource... secondarySources)
An array of ProjectSource
objects.
NOTE: This method appends the values to the existing list (if any). Use
setSecondarySources(java.util.Collection)
or withSecondarySources(java.util.Collection)
if you
want to override the existing values.
secondarySources
- An array of ProjectSource
objects.public UpdateProjectRequest withSecondarySources(Collection<ProjectSource> secondarySources)
An array of ProjectSource
objects.
secondarySources
- An array of ProjectSource
objects.public void setSourceVersion(String sourceVersion)
A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the branch's
HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For GitLab: the commit ID, branch, or Git tag to use.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the build level, then that version takes precedence over this
sourceVersion
(at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
sourceVersion
- A version of the build input to be built for this project. If not specified, the latest version is used.
If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
the source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the
branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For GitLab: the commit ID, branch, or Git tag to use.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the build level, then that version takes precedence over
this sourceVersion
(at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
public String getSourceVersion()
A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the branch's
HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For GitLab: the commit ID, branch, or Git tag to use.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the build level, then that version takes precedence over this
sourceVersion
(at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
the source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the
branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For GitLab: the commit ID, branch, or Git tag to use.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the build level, then that version takes precedence over
this sourceVersion
(at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
public UpdateProjectRequest withSourceVersion(String sourceVersion)
A version of the build input to be built for this project. If not specified, the latest version is used. If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of the
source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the branch's
HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For GitLab: the commit ID, branch, or Git tag to use.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the build level, then that version takes precedence over this
sourceVersion
(at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
sourceVersion
- A version of the build input to be built for this project. If not specified, the latest version is used.
If specified, it must be one of:
For CodeCommit: the commit ID, branch, or Git tag to use.
For GitHub: the commit ID, pull request ID, branch name, or tag name that corresponds to the version of
the source code you want to build. If a pull request ID is specified, it must use the format
pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the
branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For GitLab: the commit ID, branch, or Git tag to use.
For Bitbucket: the commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
For Amazon S3: the version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the build level, then that version takes precedence over
this sourceVersion
(at the project level).
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
public List<ProjectSourceVersion> getSecondarySourceVersions()
An array of ProjectSourceVersion
objects. If secondarySourceVersions
is specified at
the build level, then they take over these secondarySourceVersions
(at the project level).
ProjectSourceVersion
objects. If secondarySourceVersions
is
specified at the build level, then they take over these secondarySourceVersions
(at the
project level).public void setSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)
An array of ProjectSourceVersion
objects. If secondarySourceVersions
is specified at
the build level, then they take over these secondarySourceVersions
(at the project level).
secondarySourceVersions
- An array of ProjectSourceVersion
objects. If secondarySourceVersions
is
specified at the build level, then they take over these secondarySourceVersions
(at the
project level).public UpdateProjectRequest withSecondarySourceVersions(ProjectSourceVersion... secondarySourceVersions)
An array of ProjectSourceVersion
objects. If secondarySourceVersions
is specified at
the build level, then they take over these secondarySourceVersions
(at the project level).
NOTE: This method appends the values to the existing list (if any). Use
setSecondarySourceVersions(java.util.Collection)
or
withSecondarySourceVersions(java.util.Collection)
if you want to override the existing values.
secondarySourceVersions
- An array of ProjectSourceVersion
objects. If secondarySourceVersions
is
specified at the build level, then they take over these secondarySourceVersions
(at the
project level).public UpdateProjectRequest withSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)
An array of ProjectSourceVersion
objects. If secondarySourceVersions
is specified at
the build level, then they take over these secondarySourceVersions
(at the project level).
secondarySourceVersions
- An array of ProjectSourceVersion
objects. If secondarySourceVersions
is
specified at the build level, then they take over these secondarySourceVersions
(at the
project level).public void setArtifacts(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.public ProjectArtifacts getArtifacts()
Information to be changed about the build output artifacts for the build project.
public UpdateProjectRequest withArtifacts(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.public List<ProjectArtifacts> getSecondaryArtifacts()
An array of ProjectArtifact
objects.
ProjectArtifact
objects.public void setSecondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)
An array of ProjectArtifact
objects.
secondaryArtifacts
- An array of ProjectArtifact
objects.public UpdateProjectRequest withSecondaryArtifacts(ProjectArtifacts... secondaryArtifacts)
An array of ProjectArtifact
objects.
NOTE: This method appends the values to the existing list (if any). Use
setSecondaryArtifacts(java.util.Collection)
or withSecondaryArtifacts(java.util.Collection)
if
you want to override the existing values.
secondaryArtifacts
- An array of ProjectArtifact
objects.public UpdateProjectRequest withSecondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)
An array of ProjectArtifact
objects.
secondaryArtifacts
- An array of ProjectArtifact
objects.public void setCache(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.public ProjectCache getCache()
Stores recently used information so that it can be quickly accessed at a later time.
public UpdateProjectRequest withCache(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.public void setEnvironment(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.public ProjectEnvironment getEnvironment()
Information to be changed about the build environment for the build project.
public UpdateProjectRequest withEnvironment(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.public void setServiceRole(String serviceRole)
The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
serviceRole
- The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services
services on behalf of the Amazon Web Services account.public String getServiceRole()
The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
public UpdateProjectRequest withServiceRole(String serviceRole)
The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
serviceRole
- The replacement ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services
services on behalf of the Amazon Web Services account.public void setTimeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 2160 (36 hours), for 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 2160 (36 hours), for CodeBuild to wait before timing out any
related build that did not get marked as completed.public Integer getTimeoutInMinutes()
The replacement value in minutes, from 5 to 2160 (36 hours), for CodeBuild to wait before timing out any related build that did not get marked as completed.
public UpdateProjectRequest withTimeoutInMinutes(Integer timeoutInMinutes)
The replacement value in minutes, from 5 to 2160 (36 hours), for 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 2160 (36 hours), for CodeBuild to wait before timing out any
related build that did not get marked as completed.public void setQueuedTimeoutInMinutes(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.public Integer getQueuedTimeoutInMinutes()
The number of minutes a build is allowed to be queued before it times out.
public UpdateProjectRequest withQueuedTimeoutInMinutes(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.public void setEncryptionKey(String encryptionKey)
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
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 Key Management Service customer master key (CMK) to be used for encrypting the build output
artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
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>
).
public String getEncryptionKey()
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
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>
).
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
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>
).
public UpdateProjectRequest withEncryptionKey(String encryptionKey)
The Key Management Service customer master key (CMK) to be used for encrypting the build output artifacts.
You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
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 Key Management Service customer master key (CMK) to be used for encrypting the build output
artifacts. You can use a cross-account KMS key to encrypt the build output artifacts if your service role has permission to that key.
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>
).
public List<Tag> getTags()
An updated list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
public void setTags(Collection<Tag> tags)
An updated list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
tags
- An updated list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
public UpdateProjectRequest withTags(Tag... tags)
An updated list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- An updated list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
public UpdateProjectRequest withTags(Collection<Tag> tags)
An updated list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
tags
- An updated list of tag key and value pairs associated with this build project.
These tags are available for use by Amazon Web Services services that support CodeBuild build project tags.
public void setVpcConfig(VpcConfig vpcConfig)
VpcConfig enables CodeBuild to access resources in an Amazon VPC.
vpcConfig
- VpcConfig enables CodeBuild to access resources in an Amazon VPC.public VpcConfig getVpcConfig()
VpcConfig enables CodeBuild to access resources in an Amazon VPC.
public UpdateProjectRequest withVpcConfig(VpcConfig vpcConfig)
VpcConfig enables CodeBuild to access resources in an Amazon VPC.
vpcConfig
- VpcConfig enables CodeBuild to access resources in an Amazon VPC.public void setBadgeEnabled(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.public Boolean getBadgeEnabled()
Set this to true to generate a publicly accessible URL for your project's build badge.
public UpdateProjectRequest withBadgeEnabled(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.public Boolean isBadgeEnabled()
Set this to true to generate a publicly accessible URL for your project's build badge.
public void setLogsConfig(LogsConfig logsConfig)
Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.
logsConfig
- Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3
bucket, or both.public LogsConfig getLogsConfig()
Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.
public UpdateProjectRequest withLogsConfig(LogsConfig logsConfig)
Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3 bucket, or both.
logsConfig
- Information about logs for the build project. A project can create logs in CloudWatch Logs, logs in an S3
bucket, or both.public List<ProjectFileSystemLocation> getFileSystemLocations()
An array of ProjectFileSystemLocation
objects for a CodeBuild build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
,
mountOptions
, mountPoint
, and type
of a file system created using Amazon
Elastic File System.
ProjectFileSystemLocation
objects for a CodeBuild build project. A
ProjectFileSystemLocation
object specifies the identifier
,
location
, mountOptions
, mountPoint
, and type
of a
file system created using Amazon Elastic File System.public void setFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of ProjectFileSystemLocation
objects for a CodeBuild build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
,
mountOptions
, mountPoint
, and type
of a file system created using Amazon
Elastic File System.
fileSystemLocations
- An array of ProjectFileSystemLocation
objects for a CodeBuild build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
, mountOptions
, mountPoint
, and type
of a file system created using
Amazon Elastic File System.public UpdateProjectRequest withFileSystemLocations(ProjectFileSystemLocation... fileSystemLocations)
An array of ProjectFileSystemLocation
objects for a CodeBuild build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
,
mountOptions
, mountPoint
, and type
of a file system created using Amazon
Elastic File System.
NOTE: This method appends the values to the existing list (if any). Use
setFileSystemLocations(java.util.Collection)
or withFileSystemLocations(java.util.Collection)
if you want to override the existing values.
fileSystemLocations
- An array of ProjectFileSystemLocation
objects for a CodeBuild build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
, mountOptions
, mountPoint
, and type
of a file system created using
Amazon Elastic File System.public UpdateProjectRequest withFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of ProjectFileSystemLocation
objects for a CodeBuild build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
,
mountOptions
, mountPoint
, and type
of a file system created using Amazon
Elastic File System.
fileSystemLocations
- An array of ProjectFileSystemLocation
objects for a CodeBuild build project. A
ProjectFileSystemLocation
object specifies the identifier
, location
, mountOptions
, mountPoint
, and type
of a file system created using
Amazon Elastic File System.public void setBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig)
buildBatchConfig
- public ProjectBuildBatchConfig getBuildBatchConfig()
public UpdateProjectRequest withBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig)
buildBatchConfig
- public void setConcurrentBuildLimit(Integer concurrentBuildLimit)
The maximum number of concurrent builds that are allowed for this project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
To remove this limit, set this value to -1.
concurrentBuildLimit
- The maximum number of concurrent builds that are allowed for this project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
To remove this limit, set this value to -1.
public Integer getConcurrentBuildLimit()
The maximum number of concurrent builds that are allowed for this project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
To remove this limit, set this value to -1.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
To remove this limit, set this value to -1.
public UpdateProjectRequest withConcurrentBuildLimit(Integer concurrentBuildLimit)
The maximum number of concurrent builds that are allowed for this project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
To remove this limit, set this value to -1.
concurrentBuildLimit
- The maximum number of concurrent builds that are allowed for this project.
New builds are only started if the current number of builds is less than or equal to this limit. If the current build count meets this limit, new builds are throttled and are not run.
To remove this limit, set this value to -1.
public String toString()
toString
in class Object
Object.toString()
public UpdateProjectRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()