Interface CreateProjectRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CodeStarRequest.Builder,CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>,SdkBuilder<CreateProjectRequest.Builder,CreateProjectRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateProjectRequest
public static interface CreateProjectRequest.Builder extends CodeStarRequest.Builder, SdkPojo, CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateProjectRequest.BuilderclientRequestToken(String clientRequestToken)A user- or system-generated token that identifies the entity that requested project creation.CreateProjectRequest.Builderdescription(String description)The description of the project, if any.CreateProjectRequest.Builderid(String id)The ID of the project to be created in AWS CodeStar.CreateProjectRequest.Buildername(String name)The display name for the project to be created in AWS CodeStar.CreateProjectRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateProjectRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateProjectRequest.BuildersourceCode(Collection<Code> sourceCode)A list of the Code objects submitted with the project request.CreateProjectRequest.BuildersourceCode(Consumer<Code.Builder>... sourceCode)A list of the Code objects submitted with the project request.CreateProjectRequest.BuildersourceCode(Code... sourceCode)A list of the Code objects submitted with the project request.CreateProjectRequest.Buildertags(Map<String,String> tags)The tags created for the project.default CreateProjectRequest.Buildertoolchain(Consumer<Toolchain.Builder> toolchain)The name of the toolchain template file submitted with the project request.CreateProjectRequest.Buildertoolchain(Toolchain toolchain)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 Detail
-
name
CreateProjectRequest.Builder name(String 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
CreateProjectRequest.Builder id(String 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
CreateProjectRequest.Builder description(String 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
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.
- 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
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.
- 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
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.
- 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
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 method that creates an instance of theCode.Builderavoiding the need to create one manually viaCode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sourceCode(List).- 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:
#sourceCode(java.util.Collection)
-
toolchain
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.
- 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
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 method that creates an instance of theToolchain.Builderavoiding the need to create one manually viaToolchain.builder().When the
Consumercompletes,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:
toolchain(Toolchain)
-
tags
CreateProjectRequest.Builder tags(Map<String,String> 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateProjectRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-