public class Project extends Object implements Serializable, Cloneable
Information about a build project.
Constructor and Description |
---|
Project() |
Modifier and Type | Method and Description |
---|---|
Project |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The build project's Amazon Resource Name (ARN).
|
ProjectArtifacts |
getArtifacts()
Information about the build project's build output artifacts.
|
Date |
getCreated()
When the build project was created, expressed in Unix time format.
|
String |
getDescription()
A meaningful description of the build project.
|
String |
getEncryptionKey()
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's
build output artifacts.
|
ProjectEnvironment |
getEnvironment()
Information about the build environment for this build project.
|
Date |
getLastModified()
When the build project's settings were last modified, expressed in Unix time format.
|
String |
getName()
The build project's name.
|
String |
getServiceRole()
The Amazon Resource Name (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 project's build input source code.
|
List<Tag> |
getTags()
The tags for this build project.
|
Integer |
getTimeoutInMinutes()
How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any related build that did not
get marked as completed.
|
int |
hashCode() |
void |
setArn(String arn)
The build project's Amazon Resource Name (ARN).
|
void |
setArtifacts(ProjectArtifacts artifacts)
Information about the build project's build output artifacts.
|
void |
setCreated(Date created)
When the build project was created, expressed in Unix time format.
|
void |
setDescription(String description)
A meaningful description of the build project.
|
void |
setEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's
build output artifacts.
|
void |
setEnvironment(ProjectEnvironment environment)
Information about the build environment for this build project.
|
void |
setLastModified(Date lastModified)
When the build project's settings were last modified, expressed in Unix time format.
|
void |
setName(String name)
The build project's name.
|
void |
setServiceRole(String serviceRole)
The Amazon Resource Name (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 project's build input source code.
|
void |
setTags(Collection<Tag> tags)
The tags for this build project.
|
void |
setTimeoutInMinutes(Integer timeoutInMinutes)
How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any related build that did not
get marked as completed.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Project |
withArn(String arn)
The build project's Amazon Resource Name (ARN).
|
Project |
withArtifacts(ProjectArtifacts artifacts)
Information about the build project's build output artifacts.
|
Project |
withCreated(Date created)
When the build project was created, expressed in Unix time format.
|
Project |
withDescription(String description)
A meaningful description of the build project.
|
Project |
withEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's
build output artifacts.
|
Project |
withEnvironment(ProjectEnvironment environment)
Information about the build environment for this build project.
|
Project |
withLastModified(Date lastModified)
When the build project's settings were last modified, expressed in Unix time format.
|
Project |
withName(String name)
The build project's name.
|
Project |
withServiceRole(String serviceRole)
The Amazon Resource Name (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 project's build input source code.
|
Project |
withTags(Collection<Tag> tags)
The tags for this build project.
|
Project |
withTags(Tag... tags)
The tags for this build project.
|
Project |
withTimeoutInMinutes(Integer timeoutInMinutes)
How long in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait to timeout any related build that did not
get marked as completed.
|
public void setName(String name)
The build project's name.
name
- The build project's name.public String getName()
The build project's name.
public Project withName(String name)
The build project's name.
name
- The build project's name.public void setArn(String arn)
The build project's Amazon Resource Name (ARN).
arn
- The build project's Amazon Resource Name (ARN).public String getArn()
The build project's Amazon Resource Name (ARN).
public Project withArn(String arn)
The build project's Amazon Resource Name (ARN).
arn
- The build project's Amazon Resource Name (ARN).public void setDescription(String description)
A meaningful description of the build project.
description
- A meaningful description of the build project.public String getDescription()
A meaningful description of the build project.
public Project withDescription(String description)
A meaningful description of the build project.
description
- A meaningful description of the build project.public void setSource(ProjectSource source)
Information about the build project's build input source code.
source
- Information about the build project's build input source code.public ProjectSource getSource()
Information about the build project's build input source code.
public Project withSource(ProjectSource source)
Information about the build project's build input source code.
source
- Information about the build project's build input source code.public void setArtifacts(ProjectArtifacts artifacts)
Information about the build project's build output artifacts.
artifacts
- Information about the build project's build output artifacts.public ProjectArtifacts getArtifacts()
Information about the build project's build output artifacts.
public Project withArtifacts(ProjectArtifacts artifacts)
Information about the build project's build output artifacts.
artifacts
- Information about the build project's build output artifacts.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 Amazon Resource Name (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 Amazon Resource Name (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 Amazon Resource Name (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 Amazon Resource Name (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 Amazon Resource Name (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 to timeout 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 to timeout 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 to timeout 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 to timeout 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 to timeout any related build that
did not get marked as completed. The default is 60 minutes.public void setEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build project's build output artifacts.
This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, 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
project's build output artifacts.
This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, 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 project's build output artifacts.
This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, the CMK's alias (using the
format alias/alias-name
).
This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, 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 project's build output artifacts.
This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, 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
project's build output artifacts.
This is expressed either as the CMK's Amazon Resource Name (ARN) or, if specified, the CMK's alias (using
the format alias/alias-name
).
public List<Tag> getTags()
The tags for 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)
The tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
tags
- The tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
public Project withTags(Tag... tags)
The tags for 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
- The tags for 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)
The tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
tags
- The tags for 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 String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.