CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
, SdkBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
public static interface CreateProjectRequest.Builder extends CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateProjectRequest.Builder |
artifacts(ProjectArtifacts artifacts) |
Information about the build output artifacts for the build project.
|
CreateProjectRequest.Builder |
description(String description) |
A description that makes the build project easy to identify.
|
CreateProjectRequest.Builder |
encryptionKey(String encryptionKey) |
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output
artifacts.
|
CreateProjectRequest.Builder |
environment(ProjectEnvironment environment) |
Information about the build environment for the build project.
|
CreateProjectRequest.Builder |
name(String name) |
The name of the build project.
|
CreateProjectRequest.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.
|
CreateProjectRequest.Builder |
source(ProjectSource source) |
Information about the build input source code for the build project.
|
CreateProjectRequest.Builder |
tags(Collection<Tag> tags) |
A set of tags for this build project.
|
CreateProjectRequest.Builder |
tags(Tag... tags) |
A set of tags for this build project.
|
CreateProjectRequest.Builder |
timeoutInMinutes(Integer timeoutInMinutes) |
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has
not been marked as completed.
|
copy
apply, build
CreateProjectRequest.Builder name(String name)
The name of the build project.
name
- The name of the build project.CreateProjectRequest.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.CreateProjectRequest.Builder source(ProjectSource source)
Information about the build input source code for the build project.
source
- Information about the build input source code for the build project.CreateProjectRequest.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.CreateProjectRequest.Builder environment(ProjectEnvironment environment)
Information about the build environment for the build project.
environment
- Information about the build environment for the build project.CreateProjectRequest.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.CreateProjectRequest.Builder timeoutInMinutes(Integer timeoutInMinutes)
How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build that has not been marked as completed. The default is 60 minutes.
timeoutInMinutes
- How long, in minutes, from 5 to 480 (8 hours), for AWS CodeBuild to wait until timing out any build
that has not been marked as completed. The default is 60 minutes.CreateProjectRequest.Builder encryptionKey(String encryptionKey)
The AWS Key Management Service (AWS KMS) customer master key (CMK) to be used for encrypting the build output artifacts.
You can specify either the CMK's Amazon Resource Name (ARN) 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 specify either the CMK's Amazon Resource Name (ARN) or, if available, the CMK's alias (using
the format alias/alias-name
).
CreateProjectRequest.Builder tags(Collection<Tag> tags)
A set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
tags
- A set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
CreateProjectRequest.Builder tags(Tag... tags)
A set of 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
- A set of tags for this build project.
These tags are available for use by AWS services that support AWS CodeBuild build project tags.
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.