Interface CreateProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CodeStarRequest.Builder
,CopyableBuilder<CreateProjectRequest.Builder,
,CreateProjectRequest> SdkBuilder<CreateProjectRequest.Builder,
,CreateProjectRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateProjectRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) A user- or system-generated token that identifies the entity that requested project creation.description
(String description) The description of the project, if any.The ID of the project to be created in AWS CodeStar.The display name for the project to be created in AWS CodeStar.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceCode
(Collection<Code> sourceCode) A list of the Code objects submitted with the project request.sourceCode
(Consumer<Code.Builder>... sourceCode) A list of the Code objects submitted with the project request.sourceCode
(Code... sourceCode) A list of the Code objects submitted with the project request.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.The name of the toolchain template file submitted with the project request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.codestar.model.CodeStarRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The display name for the project to be created in AWS CodeStar.
- Parameters:
name
- The display name for the project to be created in AWS CodeStar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the project to be created in AWS CodeStar.
- Parameters:
id
- The ID of the project to be created in AWS CodeStar.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the project, if any.
- Parameters:
description
- The description of the project, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request.
- Parameters:
clientRequestToken
- A user- or system-generated token that identifies the entity that requested project creation. This token can be used to repeat the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theCode.Builder
avoiding the need to create one manually viaCode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosourceCode(List<Code>)
.- Parameters:
sourceCode
- a consumer that will call methods onCode.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 method that creates an instance of theToolchain.Builder
avoiding the need to create one manually viaToolchain.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totoolchain(Toolchain)
.- Parameters:
toolchain
- a consumer that will call methods onToolchain.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags created for the project.
- Parameters:
tags
- The tags created for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-