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 Details

    • 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

      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

      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

      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

      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

      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

      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

      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: