Interface GetProjectResponse.Builder

  • Method Details

    • createdAt

      GetProjectResponse.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

      GetProjectResponse.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

      GetProjectResponse.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

      GetProjectResponse.Builder domainId(String domainId)

      The ID of the Amazon DataZone domain in which the project exists.

      Parameters:
      domainId - The ID of the Amazon DataZone domain in which the project exists.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • domainUnitId

      GetProjectResponse.Builder domainUnitId(String domainUnitId)

      The ID of the domain unit.

      Parameters:
      domainUnitId - The ID of the domain unit.
      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

      GetProjectResponse.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

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

      GetProjectResponse.Builder glossaryTerms(Collection<String> glossaryTerms)

      The business glossary terms that can be used in the project.

      Parameters:
      glossaryTerms - The business 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

      GetProjectResponse.Builder glossaryTerms(String... glossaryTerms)

      The business glossary terms that can be used in the project.

      Parameters:
      glossaryTerms - The business 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 project.

      Parameters:
      id - >The ID of the project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedAt

      GetProjectResponse.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

      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

      GetProjectResponse.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

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