CopyableBuilder<Project.Builder,Project>
, SdkBuilder<Project.Builder,Project>
public static interface Project.Builder extends CopyableBuilder<Project.Builder,Project>
Modifier and Type | Method | Description |
---|---|---|
Project.Builder |
arn(String arn) |
The Amazon Resource Name (ARN) of the build project.
|
Project.Builder |
artifacts(ProjectArtifacts artifacts) |
Information about the build output artifacts for the build project.
|
Project.Builder |
created(Date created) |
When the build project was created, expressed in Unix time format.
|
Project.Builder |
description(String description) |
A description that makes the build project easy to identify.
|
Project.Builder |
encryptionKey(String encryptionKey) |
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output
artifacts.
|
Project.Builder |
environment(ProjectEnvironment environment) |
Information about the build environment for this build project.
|
Project.Builder |
lastModified(Date lastModified) |
When the build project's settings were last modified, expressed in Unix time format.
|
Project.Builder |
name(String name) |
The name of the build project.
|
Project.Builder |
serviceRole(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.Builder |
source(ProjectSource source) |
Information about the build input source code for this build project.
|
Project.Builder |
tags(Collection<Tag> tags) |
The tags for this build project.
|
Project.Builder |
tags(Tag... tags) |
The tags for this build project.
|
Project.Builder |
timeoutInMinutes(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.
|
copy
apply, build
Project.Builder name(String name)
The name of the build project.
name
- The name of the build project.Project.Builder arn(String arn)
The Amazon Resource Name (ARN) of the build project.
arn
- The Amazon Resource Name (ARN) of the build project.Project.Builder description(String description)
A description that makes the build project easy to identify.
description
- A description that makes the build project easy to identify.Project.Builder source(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.Project.Builder artifacts(ProjectArtifacts artifacts)
Information about the build output artifacts for the build project.
artifacts
- Information about the build output artifacts for the build project.Project.Builder environment(ProjectEnvironment environment)
Information about the build environment for this build project.
environment
- Information about the build environment for this build project.Project.Builder serviceRole(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.Project.Builder timeoutInMinutes(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.Project.Builder encryptionKey(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
).
Project.Builder tags(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.
Project.Builder tags(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.
Project.Builder created(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.Project.Builder lastModified(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.