Interface ProjectSummary.Builder

  • Method Details

    • id

      The project ID. The account's default project uses default; a named project's generated ID starts with proj_.

      Parameters:
      id - The project ID. The account's default project uses default; a named project's generated ID starts with proj_.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the project.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the project.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      The project's display name. Project names do not have to be unique.

      Parameters:
      name - The project's display name. Project names do not have to be unique.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The project's lifecycle status.

      Parameters:
      status - The project's lifecycle status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The project's lifecycle status.

      Parameters:
      status - The project's lifecycle status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createdAt

      ProjectSummary.Builder createdAt(Instant createdAt)

      The time the project was created.

      Parameters:
      createdAt - The time the project was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • archivedAt

      ProjectSummary.Builder archivedAt(Instant archivedAt)

      The time the project was archived.

      Parameters:
      archivedAt - The time the project was archived.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataRetention

      ProjectSummary.Builder dataRetention(ProjectDataRetention dataRetention)

      The project's data retention setting. A mode of inherit defers to the account setting or model default.

      Parameters:
      dataRetention - The project's data retention setting. A mode of inherit defers to the account setting or model default.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataRetention

      default ProjectSummary.Builder dataRetention(Consumer<ProjectDataRetention.Builder> dataRetention)

      The project's data retention setting. A mode of inherit defers to the account setting or model default.

      This is a convenience method that creates an instance of the ProjectDataRetention.Builder avoiding the need to create one manually via ProjectDataRetention.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to dataRetention(ProjectDataRetention).

      Parameters:
      dataRetention - a consumer that will call methods on ProjectDataRetention.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: