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 Details

    • 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 the ProjectDeletionError.Builder avoiding the need to create one manually via ProjectDeletionError.builder() .

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to failureReasons(List<ProjectDeletionError>).

      Parameters:
      failureReasons - a consumer that will call methods on ProjectDeletionError.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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

      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:
    • 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.