Interface DescribeProjectResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeProjectResponse.Builder,
,DescribeProjectResponse> LookoutVisionResponse.Builder
,SdkBuilder<DescribeProjectResponse.Builder,
,DescribeProjectResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeProjectResponse
public static interface DescribeProjectResponse.Builder
extends LookoutVisionResponse.Builder, SdkPojo, CopyableBuilder<DescribeProjectResponse.Builder,DescribeProjectResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DescribeProjectResponse.Builder
projectDescription
(Consumer<ProjectDescription.Builder> projectDescription) The description of the project.projectDescription
(ProjectDescription projectDescription) The description of the project.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutvision.model.LookoutVisionResponse.Builder
build, responseMetadata, responseMetadata
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
-
projectDescription
The description of the project.
- Parameters:
projectDescription
- The description of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectDescription
default DescribeProjectResponse.Builder projectDescription(Consumer<ProjectDescription.Builder> projectDescription) The description of the project.
This is a convenience method that creates an instance of theProjectDescription.Builder
avoiding the need to create one manually viaProjectDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprojectDescription(ProjectDescription)
.- Parameters:
projectDescription
- a consumer that will call methods onProjectDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-