public static interface CreateProjectRequest.Builder extends CodeStarRequest.Builder, SdkPojo, CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
Modifier and Type | Method and Description |
---|---|
CreateProjectRequest.Builder |
clientRequestToken(String clientRequestToken)
A user- or system-generated token that identifies the entity that requested project creation.
|
CreateProjectRequest.Builder |
description(String description)
The description of the project, if any.
|
CreateProjectRequest.Builder |
id(String id)
The ID of the project to be created in AWS CodeStar.
|
CreateProjectRequest.Builder |
name(String name)
The display name for the project to be created in AWS CodeStar.
|
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 |
sourceCode(Code... sourceCode)
A list of the Code objects submitted with the project request.
|
CreateProjectRequest.Builder |
sourceCode(Collection<Code> sourceCode)
A list of the Code objects submitted with the project request.
|
CreateProjectRequest.Builder |
sourceCode(Consumer<Code.Builder>... sourceCode)
A list of the Code objects submitted with the project request.
|
CreateProjectRequest.Builder |
tags(Map<String,String> tags)
The tags created for the project.
|
default CreateProjectRequest.Builder |
toolchain(Consumer<Toolchain.Builder> toolchain)
The name of the toolchain template file submitted with the project request.
|
CreateProjectRequest.Builder |
toolchain(Toolchain toolchain)
The name of the toolchain template file submitted with the project request.
|
build
overrideConfiguration
copy
applyMutation, build
CreateProjectRequest.Builder name(String name)
The display name for the project to be created in AWS CodeStar.
name
- The display name for the project to be created in AWS CodeStar.CreateProjectRequest.Builder id(String id)
The ID of the project to be created in AWS CodeStar.
id
- The ID of the project to be created in AWS CodeStar.CreateProjectRequest.Builder description(String description)
The description of the project, if any.
description
- The description of the project, if any.CreateProjectRequest.Builder clientRequestToken(String clientRequestToken)
A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request.
clientRequestToken
- A user- or system-generated token that identifies the entity that requested project creation. This
token can be used to repeat the request.CreateProjectRequest.Builder sourceCode(Collection<Code> sourceCode)
A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.
sourceCode
- A list of the Code objects submitted with the project request. If this parameter is specified, the
request must also include the toolchain parameter.CreateProjectRequest.Builder sourceCode(Code... sourceCode)
A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.
sourceCode
- A list of the Code objects submitted with the project request. If this parameter is specified, the
request must also include the toolchain parameter.CreateProjectRequest.Builder sourceCode(Consumer<Code.Builder>... sourceCode)
A list of the Code objects submitted with the project request. If this parameter is specified, the request must also include the toolchain parameter.
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 #sourceCode(List)
.
sourceCode
- a consumer that will call methods on List.Builder
#sourceCode(List)
CreateProjectRequest.Builder toolchain(Toolchain toolchain)
The name of the toolchain template file submitted with the project request. If this parameter is specified, the request must also include the sourceCode parameter.
toolchain
- The name of the toolchain template file submitted with the project request. If this parameter is
specified, the request must also include the sourceCode parameter.default CreateProjectRequest.Builder toolchain(Consumer<Toolchain.Builder> toolchain)
The name of the toolchain template file submitted with the project request. If this parameter is specified, the request must also include the sourceCode parameter.
This is a convenience that creates an instance of theToolchain.Builder
avoiding the need to create
one manually via Toolchain.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to toolchain(Toolchain)
.toolchain
- a consumer that will call methods on Toolchain.Builder
toolchain(Toolchain)
CreateProjectRequest.Builder tags(Map<String,String> tags)
The tags created for the project.
tags
- The tags created for the project.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.