Interface CreateProjectRequest.Builder

    • 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 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).

        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:
        #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.
      • 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.