public static interface CreateProjectRequest.Builder extends CodeBuildRequest.Builder, CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
Modifier and Type | Method and Description |
---|---|
default CreateProjectRequest.Builder |
artifacts(Consumer<ProjectArtifacts.Builder> artifacts)
Information about the build output artifacts for the build project.
|
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.
|
default CreateProjectRequest.Builder |
environment(Consumer<ProjectEnvironment.Builder> environment)
Information about the build environment for the build project.
|
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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateProjectRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
default CreateProjectRequest.Builder |
source(Consumer<ProjectSource.Builder> source)
Information about the build input source code for the build project.
|
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(Consumer<Tag.Builder>... 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.
|
build
overrideConfiguration
copy
applyMutation, 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.default CreateProjectRequest.Builder source(Consumer<ProjectSource.Builder> source)
Information about the build input source code for the build project.
This is a convenience that creates an instance of theProjectSource.Builder
avoiding the need to
create one manually via ProjectSource.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to source(ProjectSource)
.source
- a consumer that will call methods on ProjectSource.Builder
source(ProjectSource)
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.default CreateProjectRequest.Builder artifacts(Consumer<ProjectArtifacts.Builder> artifacts)
Information about the build output artifacts for the build project.
This is a convenience that creates an instance of theProjectArtifacts.Builder
avoiding the need to
create one manually via ProjectArtifacts.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to artifacts(ProjectArtifacts)
.artifacts
- a consumer that will call methods on ProjectArtifacts.Builder
artifacts(ProjectArtifacts)
CreateProjectRequest.Builder environment(ProjectEnvironment environment)
Information about the build environment for the build project.
environment
- Information about the build environment for the build project.default CreateProjectRequest.Builder environment(Consumer<ProjectEnvironment.Builder> environment)
Information about the build environment for the build project.
This is a convenience that creates an instance of theProjectEnvironment.Builder
avoiding the need to
create one manually via ProjectEnvironment.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to environment(ProjectEnvironment)
.environment
- a consumer that will call methods on ProjectEnvironment.Builder
environment(ProjectEnvironment)
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.
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(Consumer<Tag.Builder>... 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.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
CreateProjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.