Interface CreateProjectResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateProjectResponse.Builder,
,CreateProjectResponse> DataZoneResponse.Builder
,SdkBuilder<CreateProjectResponse.Builder,
,CreateProjectResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateProjectResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe timestamp of when the project was created.The Amazon DataZone user who created the project.description
(String description) The description of the project.The identifier of the Amazon DataZone domain in which the project was created.failureReasons
(Collection<ProjectDeletionError> failureReasons) Specifies the error message that is returned if the operation cannot be successfully completed.failureReasons
(Consumer<ProjectDeletionError.Builder>... failureReasons) Specifies the error message that is returned if the operation cannot be successfully completed.failureReasons
(ProjectDeletionError... failureReasons) Specifies the error message that is returned if the operation cannot be successfully completed.glossaryTerms
(String... glossaryTerms) The glossary terms that can be used in the project.glossaryTerms
(Collection<String> glossaryTerms) The glossary terms that can be used in the project.The ID of the Amazon DataZone project.lastUpdatedAt
(Instant lastUpdatedAt) The timestamp of when the project was last updated.The name of the project.projectStatus
(String projectStatus) The status of the Amazon DataZone project that was created.projectStatus
(ProjectStatus projectStatus) The status of the Amazon DataZone project that was created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datazone.model.DataZoneResponse.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
-
createdAt
The timestamp of when the project was created.
- Parameters:
createdAt
- The timestamp of when the project was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The Amazon DataZone user who created the project.
- Parameters:
createdBy
- The Amazon DataZone user who created the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the project.
- Parameters:
description
- The description of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
The identifier of the Amazon DataZone domain in which the project was created.
- Parameters:
domainId
- The identifier of the Amazon DataZone domain in which the project was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
Specifies the error message that is returned if the operation cannot be successfully completed.
- Parameters:
failureReasons
- Specifies the error message that is returned if the operation cannot be successfully completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
Specifies the error message that is returned if the operation cannot be successfully completed.
- Parameters:
failureReasons
- Specifies the error message that is returned if the operation cannot be successfully completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
CreateProjectResponse.Builder failureReasons(Consumer<ProjectDeletionError.Builder>... failureReasons) Specifies the error message that is returned if the operation cannot be successfully completed.
This is a convenience method that creates an instance of theProjectDeletionError.Builder
avoiding the need to create one manually viaProjectDeletionError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailureReasons(List<ProjectDeletionError>)
.- Parameters:
failureReasons
- a consumer that will call methods onProjectDeletionError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
glossaryTerms
The glossary terms that can be used in the project.
- Parameters:
glossaryTerms
- The glossary terms that can be used in the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
glossaryTerms
The glossary terms that can be used in the project.
- Parameters:
glossaryTerms
- The glossary terms that can be used in the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the Amazon DataZone project.
- Parameters:
id
- The ID of the Amazon DataZone project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
The timestamp of when the project was last updated.
- Parameters:
lastUpdatedAt
- The timestamp of when the project was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the project.
- Parameters:
name
- The name of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectStatus
The status of the Amazon DataZone project that was created.
- Parameters:
projectStatus
- The status of the Amazon DataZone project that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
projectStatus
The status of the Amazon DataZone project that was created.
- Parameters:
projectStatus
- The status of the Amazon DataZone project that was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-