@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Project extends Object implements Serializable, Cloneable, StructuredPojo
Information about a build project.
Constructor and Description |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
Project |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the build project.
|
ProjectArtifacts |
getArtifacts()
Information about the build output artifacts for the build project.
|
ProjectBadge |
getBadge()
Information about the build badge for the build project.
|
ProjectBuildBatchConfig |
getBuildBatchConfig()
A ProjectBuildBatchConfig object that defines the batch build options for the project.
|
ProjectCache |
getCache()
Information about the cache for the build project.
|
Date |
getCreated()
When the build project was created, expressed in Unix time format.
|
String |
getDescription()
A description that makes the build project easy to identify.
|
String |
getEncryptionKey()
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output
artifacts.
|
ProjectEnvironment |
getEnvironment()
Information about the build environment for this build project.
|
List<ProjectFileSystemLocation> |
getFileSystemLocations()
An array of
ProjectFileSystemLocation objects for a CodeBuild build project. |
Date |
getLastModified()
When the build project's settings were last modified, expressed in Unix time format.
|
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
ProjectArtifacts objects. |
List<ProjectSource> |
getSecondarySources()
An array of
ProjectSource objects. |
List<ProjectSourceVersion> |
getSecondarySourceVersions()
An array of
ProjectSourceVersion objects. |
String |
getServiceRole()
The 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.
|
ProjectSource |
getSource()
Information about the build input source code for this build project.
|
String |
getSourceVersion()
A version of the build input to be built for this project.
|
List<Tag> |
getTags()
A list of tag key and value pairs associated with this build project.
|
Integer |
getTimeoutInMinutes()
How long, 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.
|
VpcConfig |
getVpcConfig()
Information about the VPC configuration that AWS CodeBuild accesses.
|
Webhook |
getWebhook()
Information about a webhook that connects repository events to a build project in AWS CodeBuild.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the build project.
|
void |
setArtifacts(ProjectArtifacts artifacts)
Information about the build output artifacts for the build project.
|
void |
setBadge(ProjectBadge badge)
Information about the build badge for the build project.
|
void |
setBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig)
A ProjectBuildBatchConfig object that defines the batch build options for the project.
|
void |
setCache(ProjectCache cache)
Information about the cache for the build project.
|
void |
setCreated(Date created)
When the build project was created, expressed in Unix time format.
|
void |
setDescription(String description)
A description that makes the build project easy to identify.
|
void |
setEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output
artifacts.
|
void |
setEnvironment(ProjectEnvironment environment)
Information about the build environment for this build project.
|
void |
setFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of
ProjectFileSystemLocation objects for a CodeBuild build project. |
void |
setLastModified(Date lastModified)
When the build project's settings were last modified, expressed in Unix time format.
|
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
ProjectArtifacts 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 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.
|
void |
setSource(ProjectSource source)
Information about the build input source code for this build project.
|
void |
setSourceVersion(String sourceVersion)
A version of the build input to be built for this project.
|
void |
setTags(Collection<Tag> tags)
A list of tag key and value pairs associated with this build project.
|
void |
setTimeoutInMinutes(Integer timeoutInMinutes)
How long, 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.
|
void |
setVpcConfig(VpcConfig vpcConfig)
Information about the VPC configuration that AWS CodeBuild accesses.
|
void |
setWebhook(Webhook webhook)
Information about a webhook that connects repository events to a build project in AWS CodeBuild.
|
String |
toString()
Returns a string representation of this object.
|
Project |
withArn(String arn)
The Amazon Resource Name (ARN) of the build project.
|
Project |
withArtifacts(ProjectArtifacts artifacts)
Information about the build output artifacts for the build project.
|
Project |
withBadge(ProjectBadge badge)
Information about the build badge for the build project.
|
Project |
withBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig)
A ProjectBuildBatchConfig object that defines the batch build options for the project.
|
Project |
withCache(ProjectCache cache)
Information about the cache for the build project.
|
Project |
withCreated(Date created)
When the build project was created, expressed in Unix time format.
|
Project |
withDescription(String description)
A description that makes the build project easy to identify.
|
Project |
withEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output
artifacts.
|
Project |
withEnvironment(ProjectEnvironment environment)
Information about the build environment for this build project.
|
Project |
withFileSystemLocations(Collection<ProjectFileSystemLocation> fileSystemLocations)
An array of
ProjectFileSystemLocation objects for a CodeBuild build project. |
Project |
withFileSystemLocations(ProjectFileSystemLocation... fileSystemLocations)
An array of
ProjectFileSystemLocation objects for a CodeBuild build project. |
Project |
withLastModified(Date lastModified)
When the build project's settings were last modified, expressed in Unix time format.
|
Project |
withLogsConfig(LogsConfig logsConfig)
Information about logs for the build project.
|
Project |
withName(String name)
The name of the build project.
|
Project |
withQueuedTimeoutInMinutes(Integer queuedTimeoutInMinutes)
The number of minutes a build is allowed to be queued before it times out.
|
Project |
withSecondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)
An array of
ProjectArtifacts objects. |
Project |
withSecondaryArtifacts(ProjectArtifacts... secondaryArtifacts)
An array of
ProjectArtifacts objects. |
Project |
withSecondarySources(Collection<ProjectSource> secondarySources)
An array of
ProjectSource objects. |
Project |
withSecondarySources(ProjectSource... secondarySources)
An array of
ProjectSource objects. |
Project |
withSecondarySourceVersions(Collection<ProjectSourceVersion> secondarySourceVersions)
An array of
ProjectSourceVersion objects. |
Project |
withSecondarySourceVersions(ProjectSourceVersion... secondarySourceVersions)
An array of
ProjectSourceVersion objects. |
Project |
withServiceRole(String serviceRole)
The 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.
|
Project |
withSource(ProjectSource source)
Information about the build input source code for this build project.
|
Project |
withSourceVersion(String sourceVersion)
A version of the build input to be built for this project.
|
Project |
withTags(Collection<Tag> tags)
A list of tag key and value pairs associated with this build project.
|
Project |
withTags(Tag... tags)
A list of tag key and value pairs associated with this build project.
|
Project |
withTimeoutInMinutes(Integer timeoutInMinutes)
How long, 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.
|
Project |
withVpcConfig(VpcConfig vpcConfig)
Information about the VPC configuration that AWS CodeBuild accesses.
|
Project |
withWebhook(Webhook webhook)
Information about a webhook that connects repository events to a build project in AWS CodeBuild.
|
public void setName(String name)
The name of the build project.
name
- The name of the build project.public String getName()
The name of the build project.
public Project withName(String name)
The name of the build project.
name
- The name of the build project.public void setArn(String arn)
The Amazon Resource Name (ARN) of the build project.
arn
- The Amazon Resource Name (ARN) of the build project.public String getArn()
The Amazon Resource Name (ARN) of the build project.
public Project withArn(String arn)
The Amazon Resource Name (ARN) of the build project.
arn
- The Amazon Resource Name (ARN) of the build project.public void setDescription(String description)
A description that makes the build project easy to identify.
description
- A description that makes the build project easy to identify.public String getDescription()
A description that makes the build project easy to identify.
public Project withDescription(String description)
A description that makes the build project easy to identify.
description
- A description that makes the build project easy to identify.public void setSource(ProjectSource source)
Information about the build input source code for this build project.
source
- Information about the build input source code for this build project.public ProjectSource getSource()
Information about the build input source code for this build project.
public Project withSource(ProjectSource source)
Information about the build input source code for this build project.
source
- Information about the build input source code for this 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 Project 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 Project 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 AWS 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 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 Simple Storage Service (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 AWS 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 AWS 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 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 Simple Storage Service (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 AWS 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 AWS 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 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 Simple Storage Service (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 AWS CodeBuild User Guide.
For AWS 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 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 Simple Storage Service (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 AWS CodeBuild User Guide.
public Project 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 AWS 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 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 Simple Storage Service (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 AWS 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 AWS 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 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 Simple Storage Service (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 AWS 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 Project 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 Project 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 about the build output artifacts for the build project.
artifacts
- Information about the build output artifacts for the build project.public ProjectArtifacts getArtifacts()
Information about the build output artifacts for the build project.
public Project withArtifacts(ProjectArtifacts artifacts)
Information about the build output artifacts for the build project.
artifacts
- Information about the build output artifacts for the build project.public List<ProjectArtifacts> getSecondaryArtifacts()
An array of ProjectArtifacts
objects.
ProjectArtifacts
objects.public void setSecondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)
An array of ProjectArtifacts
objects.
secondaryArtifacts
- An array of ProjectArtifacts
objects.public Project withSecondaryArtifacts(ProjectArtifacts... secondaryArtifacts)
An array of ProjectArtifacts
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 ProjectArtifacts
objects.public Project withSecondaryArtifacts(Collection<ProjectArtifacts> secondaryArtifacts)
An array of ProjectArtifacts
objects.
secondaryArtifacts
- An array of ProjectArtifacts
objects.public void setCache(ProjectCache cache)
Information about the cache for the build project.
cache
- Information about the cache for the build project.public ProjectCache getCache()
Information about the cache for the build project.
public Project withCache(ProjectCache cache)
Information about the cache for the build project.
cache
- Information about the cache for the build project.public void setEnvironment(ProjectEnvironment environment)
Information about the build environment for this build project.
environment
- Information about the build environment for this build project.public ProjectEnvironment getEnvironment()
Information about the build environment for this build project.
public Project withEnvironment(ProjectEnvironment environment)
Information about the build environment for this build project.
environment
- Information about the build environment for this build project.public void setServiceRole(String serviceRole)
The 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 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.public String getServiceRole()
The 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.
public Project withServiceRole(String serviceRole)
The 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 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.public void setTimeoutInMinutes(Integer timeoutInMinutes)
How long, 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. The default is 60 minutes.
timeoutInMinutes
- How long, 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. The default is 60 minutes.public Integer getTimeoutInMinutes()
How long, 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. The default is 60 minutes.
public Project withTimeoutInMinutes(Integer timeoutInMinutes)
How long, 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. The default is 60 minutes.
timeoutInMinutes
- How long, 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. The default is 60 minutes.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 Project 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 AWS Key Management Service (AWS KMS) 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 AWS Key Management Service (AWS KMS) 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 AWS Key Management Service (AWS KMS) 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 Project withEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) 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 AWS Key Management Service (AWS KMS) 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()
A list of tag key and value pairs associated with this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public void setTags(Collection<Tag> tags)
A list of tag key and value pairs associated with this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
tags
- A list of tag key and value pairs associated with this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public Project withTags(Tag... tags)
A list of tag key and value pairs associated with this build project.
These tags are available for use by AWS services that support AWS 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
- A list of tag key and value pairs associated with this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public Project withTags(Collection<Tag> tags)
A list of tag key and value pairs associated with this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
tags
- A list of tag key and value pairs associated with this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public void setCreated(Date created)
When the build project was created, expressed in Unix time format.
created
- When the build project was created, expressed in Unix time format.public Date getCreated()
When the build project was created, expressed in Unix time format.
public Project withCreated(Date created)
When the build project was created, expressed in Unix time format.
created
- When the build project was created, expressed in Unix time format.public void setLastModified(Date lastModified)
When the build project's settings were last modified, expressed in Unix time format.
lastModified
- When the build project's settings were last modified, expressed in Unix time format.public Date getLastModified()
When the build project's settings were last modified, expressed in Unix time format.
public Project withLastModified(Date lastModified)
When the build project's settings were last modified, expressed in Unix time format.
lastModified
- When the build project's settings were last modified, expressed in Unix time format.public void setWebhook(Webhook webhook)
Information about a webhook that connects repository events to a build project in AWS CodeBuild.
webhook
- Information about a webhook that connects repository events to a build project in AWS CodeBuild.public Webhook getWebhook()
Information about a webhook that connects repository events to a build project in AWS CodeBuild.
public Project withWebhook(Webhook webhook)
Information about a webhook that connects repository events to a build project in AWS CodeBuild.
webhook
- Information about a webhook that connects repository events to a build project in AWS CodeBuild.public void setVpcConfig(VpcConfig vpcConfig)
Information about the VPC configuration that AWS CodeBuild accesses.
vpcConfig
- Information about the VPC configuration that AWS CodeBuild accesses.public VpcConfig getVpcConfig()
Information about the VPC configuration that AWS CodeBuild accesses.
public Project withVpcConfig(VpcConfig vpcConfig)
Information about the VPC configuration that AWS CodeBuild accesses.
vpcConfig
- Information about the VPC configuration that AWS CodeBuild accesses.public void setBadge(ProjectBadge badge)
Information about the build badge for the build project.
badge
- Information about the build badge for the build project.public ProjectBadge getBadge()
Information about the build badge for the build project.
public Project withBadge(ProjectBadge badge)
Information about the build badge for the build project.
badge
- Information about the build badge for the build project.public void setLogsConfig(LogsConfig logsConfig)
Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
logsConfig
- Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, an S3
bucket, or both.public LogsConfig getLogsConfig()
Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
public Project withLogsConfig(LogsConfig logsConfig)
Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, an S3 bucket, or both.
logsConfig
- Information about logs for the build project. A project can create logs in Amazon CloudWatch Logs, 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 Project 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 Project 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)
A ProjectBuildBatchConfig object that defines the batch build options for the project.
buildBatchConfig
- A ProjectBuildBatchConfig object that defines the batch build options for the project.public ProjectBuildBatchConfig getBuildBatchConfig()
A ProjectBuildBatchConfig object that defines the batch build options for the project.
public Project withBuildBatchConfig(ProjectBuildBatchConfig buildBatchConfig)
A ProjectBuildBatchConfig object that defines the batch build options for the project.
buildBatchConfig
- A ProjectBuildBatchConfig object that defines the batch build options for the project.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.