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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeProjectResponse.Builderarn(String arn)The Amazon Resource Name (ARN) for the project.DescribeProjectResponse.BuilderclientRequestToken(String clientRequestToken)A user- or system-generated token that identifies the entity that requested project creation.DescribeProjectResponse.BuildercreatedTimeStamp(Instant createdTimeStamp)The date and time the project was created, in timestamp format.DescribeProjectResponse.Builderdescription(String description)The description of the project, if any.DescribeProjectResponse.Builderid(String id)The ID of the project.DescribeProjectResponse.Buildername(String name)The display name for the project.DescribeProjectResponse.BuilderprojectTemplateId(String projectTemplateId)The ID for the AWS CodeStar project template used to create the project.DescribeProjectResponse.BuilderstackId(String stackId)The ID of the primary stack in AWS CloudFormation used to generate resources for the project.default DescribeProjectResponse.Builderstatus(Consumer<ProjectStatus.Builder> status)The project creation or deletion status.DescribeProjectResponse.Builderstatus(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 Detail
-
name
DescribeProjectResponse.Builder name(String 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
DescribeProjectResponse.Builder id(String 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
DescribeProjectResponse.Builder arn(String 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
DescribeProjectResponse.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
DescribeProjectResponse.Builder clientRequestToken(String 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
DescribeProjectResponse.Builder createdTimeStamp(Instant 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
DescribeProjectResponse.Builder stackId(String 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
DescribeProjectResponse.Builder projectTemplateId(String 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
DescribeProjectResponse.Builder status(ProjectStatus 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
default DescribeProjectResponse.Builder status(Consumer<ProjectStatus.Builder> status)
The project creation or deletion status.
This is a convenience method that creates an instance of theProjectStatus.Builderavoiding the need to create one manually viaProjectStatus.builder().When the
Consumercompletes,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:
status(ProjectStatus)
-
-