Interface DescribeProjectResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeStarResponse.Builder
,CopyableBuilder<DescribeProjectResponse.Builder,
,DescribeProjectResponse> SdkBuilder<DescribeProjectResponse.Builder,
,DescribeProjectResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeProjectResponse
public static interface DescribeProjectResponse.Builder
extends CodeStarResponse.Builder, SdkPojo, CopyableBuilder<DescribeProjectResponse.Builder,DescribeProjectResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) for the project.clientRequestToken
(String clientRequestToken) A user- or system-generated token that identifies the entity that requested project creation.createdTimeStamp
(Instant createdTimeStamp) The date and time the project was created, in timestamp format.description
(String description) The description of the project, if any.The ID of the project.The display name for the project.projectTemplateId
(String projectTemplateId) The ID for the AWS CodeStar project template used to create the project.The ID of the primary stack in AWS CloudFormation used to generate resources for the project.default DescribeProjectResponse.Builder
status
(Consumer<ProjectStatus.Builder> status) The project creation or deletion status.status
(ProjectStatus status) The project creation or deletion status.Methods inherited from interface software.amazon.awssdk.services.codestar.model.CodeStarResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
name
The display name for the project.
- Parameters:
name
- The display name for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the project.
- Parameters:
id
- The ID of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The Amazon Resource Name (ARN) for the project.
- Parameters:
arn
- The Amazon Resource Name (ARN) for the project.- 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.
- Parameters:
clientRequestToken
- A user- or system-generated token that identifies the entity that requested project creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdTimeStamp
The date and time the project was created, in timestamp format.
- Parameters:
createdTimeStamp
- The date and time the project was created, in timestamp format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stackId
The ID of the primary stack in AWS CloudFormation used to generate resources for the project.
- Parameters:
stackId
- The ID of the primary stack in AWS CloudFormation used to generate resources for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectTemplateId
The ID for the AWS CodeStar project template used to create the project.
- Parameters:
projectTemplateId
- The ID for the AWS CodeStar project template used to create the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The project creation or deletion status.
- Parameters:
status
- The project creation or deletion status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The project creation or deletion status.
This is a convenience method that creates an instance of theProjectStatus.Builder
avoiding the need to create one manually viaProjectStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatus(ProjectStatus)
.- Parameters:
status
- a consumer that will call methods onProjectStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-