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 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

      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

      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 the Code.Builder avoiding the need to create one manually via Code.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceCode(List<Code>).

      Parameters:
      sourceCode - a consumer that will call methods on Code.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 the Toolchain.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).

      Parameters:
      toolchain - a consumer that will call methods on Toolchain.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.