Interface CreateProjectResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateProjectResponse.Builder,CreateProjectResponse>,DataZoneResponse.Builder,SdkBuilder<CreateProjectResponse.Builder,CreateProjectResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateProjectResponse
public static interface CreateProjectResponse.Builder extends DataZoneResponse.Builder, SdkPojo, CopyableBuilder<CreateProjectResponse.Builder,CreateProjectResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateProjectResponse.BuildercreatedAt(Instant createdAt)The timestamp of when the project was created.CreateProjectResponse.BuildercreatedBy(String createdBy)The Amazon DataZone user who created the project.CreateProjectResponse.Builderdescription(String description)The description of the project.CreateProjectResponse.BuilderdomainId(String domainId)The identifier of the Amazon DataZone domain in which the project was created.CreateProjectResponse.BuilderfailureReasons(Collection<ProjectDeletionError> failureReasons)Specifies the error message that is returned if the operation cannot be successfully completed.CreateProjectResponse.BuilderfailureReasons(Consumer<ProjectDeletionError.Builder>... failureReasons)Specifies the error message that is returned if the operation cannot be successfully completed.CreateProjectResponse.BuilderfailureReasons(ProjectDeletionError... failureReasons)Specifies the error message that is returned if the operation cannot be successfully completed.CreateProjectResponse.BuilderglossaryTerms(String... glossaryTerms)The glossary terms that can be used in the project.CreateProjectResponse.BuilderglossaryTerms(Collection<String> glossaryTerms)The glossary terms that can be used in the project.CreateProjectResponse.Builderid(String id)The ID of the Amazon DataZone project.CreateProjectResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)The timestamp of when the project was last updated.CreateProjectResponse.Buildername(String name)The name of the project.CreateProjectResponse.BuilderprojectStatus(String projectStatus)The status of the Amazon DataZone project that was created.CreateProjectResponse.BuilderprojectStatus(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 Detail
-
createdAt
CreateProjectResponse.Builder createdAt(Instant 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
CreateProjectResponse.Builder createdBy(String 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
CreateProjectResponse.Builder description(String 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
CreateProjectResponse.Builder domainId(String 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
CreateProjectResponse.Builder failureReasons(Collection<ProjectDeletionError> 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(ProjectDeletionError... 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.Builderavoiding the need to create one manually viaProjectDeletionError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failureReasons(List.) - 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:
#failureReasons(java.util.Collection)
-
glossaryTerms
CreateProjectResponse.Builder glossaryTerms(Collection<String> 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
CreateProjectResponse.Builder glossaryTerms(String... 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
CreateProjectResponse.Builder id(String 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
CreateProjectResponse.Builder lastUpdatedAt(Instant 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
CreateProjectResponse.Builder name(String 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
CreateProjectResponse.Builder projectStatus(String 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,ProjectStatus
-
projectStatus
CreateProjectResponse.Builder projectStatus(ProjectStatus 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,ProjectStatus
-
-