@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.
|
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.
|
Date |
getLastModified()
When the build project's settings were last modified, expressed in Unix time format.
|
String |
getName()
The name of the build project.
|
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.
|
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 before timing out any related build that
did not get marked as completed.
|
Webhook |
getWebhook()
Information about a webhook in GitHub 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 |
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 |
setLastModified(Date lastModified)
When the build project's settings were last modified, expressed in Unix time format.
|
void |
setName(String name)
The name of the build project.
|
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 |
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 before timing out any related build that
did not get marked as completed.
|
void |
setWebhook(Webhook webhook)
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 |
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 |
withLastModified(Date lastModified)
When the build project's settings were last modified, expressed in Unix time format.
|
Project |
withName(String name)
The name of the build project.
|
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 |
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 before timing out any related build that
did not get marked as completed.
|
Project |
withWebhook(Webhook webhook)
Information about a webhook in GitHub 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 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 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 setEncryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the 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
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 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 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
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 void setWebhook(Webhook webhook)
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
webhook
- Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.public Webhook getWebhook()
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
public Project withWebhook(Webhook webhook)
Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.
webhook
- Information about a webhook in GitHub that connects repository events to a build project in AWS CodeBuild.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.