Interface ProjectSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProjectSummary.Builder,ProjectSummary>,SdkBuilder<ProjectSummary.Builder,ProjectSummary>,SdkPojo
- Enclosing class:
- ProjectSummary
public static interface ProjectSummary.Builder extends SdkPojo, CopyableBuilder<ProjectSummary.Builder,ProjectSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProjectSummary.BuildercreatedAt(Instant createdAt)The timestamp of when a project was created.ProjectSummary.BuildercreatedBy(String createdBy)The Amazon DataZone user who created the project.ProjectSummary.Builderdescription(String description)The description of a project.ProjectSummary.BuilderdomainId(String domainId)The identifier of a Amazon DataZone domain where the project exists.ProjectSummary.BuilderfailureReasons(Collection<ProjectDeletionError> failureReasons)Specifies the error message that is returned if the operation cannot be successfully completed.ProjectSummary.BuilderfailureReasons(Consumer<ProjectDeletionError.Builder>... failureReasons)Specifies the error message that is returned if the operation cannot be successfully completed.ProjectSummary.BuilderfailureReasons(ProjectDeletionError... failureReasons)Specifies the error message that is returned if the operation cannot be successfully completed.ProjectSummary.Builderid(String id)The identifier of a project.ProjectSummary.Buildername(String name)The name of a project.ProjectSummary.BuilderprojectStatus(String projectStatus)The status of the project.ProjectSummary.BuilderprojectStatus(ProjectStatus projectStatus)The status of the project.ProjectSummary.BuilderupdatedAt(Instant updatedAt)The timestamp of when the project was updated.-
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
-
-
-
-
Method Detail
-
createdAt
ProjectSummary.Builder createdAt(Instant createdAt)
The timestamp of when a project was created.
- Parameters:
createdAt- The timestamp of when a project was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
ProjectSummary.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
ProjectSummary.Builder description(String description)
The description of a project.
- Parameters:
description- The description of a project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domainId
ProjectSummary.Builder domainId(String domainId)
The identifier of a Amazon DataZone domain where the project exists.
- Parameters:
domainId- The identifier of a Amazon DataZone domain where the project exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReasons
ProjectSummary.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
ProjectSummary.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
ProjectSummary.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)
-
id
ProjectSummary.Builder id(String id)
The identifier of a project.
- Parameters:
id- The identifier of a project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ProjectSummary.Builder name(String name)
The name of a project.
- Parameters:
name- The name of a project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectStatus
ProjectSummary.Builder projectStatus(String projectStatus)
The status of the project.
- Parameters:
projectStatus- The status of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProjectStatus,ProjectStatus
-
projectStatus
ProjectSummary.Builder projectStatus(ProjectStatus projectStatus)
The status of the project.
- Parameters:
projectStatus- The status of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ProjectStatus,ProjectStatus
-
updatedAt
ProjectSummary.Builder updatedAt(Instant updatedAt)
The timestamp of when the project was updated.
- Parameters:
updatedAt- The timestamp of when the project was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-