Interface ProjectSummary.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ProjectSummary.Builder,,ProjectSummary> SdkBuilder<ProjectSummary.Builder,,ProjectSummary> SdkPojo
- Enclosing class:
ProjectSummary
@Mutable
@NotThreadSafe
public static interface ProjectSummary.Builder
extends SdkPojo, CopyableBuilder<ProjectSummary.Builder,ProjectSummary>
-
Method Summary
Modifier and TypeMethodDescriptionarchivedAt(Instant archivedAt) The time the project was archived.The Amazon Resource Name (ARN) of the project.The time the project was created.default ProjectSummary.BuilderdataRetention(Consumer<ProjectDataRetention.Builder> dataRetention) The project's data retention setting.dataRetention(ProjectDataRetention dataRetention) The project's data retention setting.The project ID.The project's display name.The project's lifecycle status.status(ProjectStatus status) The project's lifecycle status.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
id
The project ID. The account's default project uses
default; a named project's generated ID starts withproj_.- Parameters:
id- The project ID. The account's default project usesdefault; a named project's generated ID starts withproj_.- 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
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
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
The project's data retention setting. A mode of
inheritdefers to the account setting or model default.- Parameters:
dataRetention- The project's data retention setting. A mode ofinheritdefers to the account setting or model default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataRetention
The project's data retention setting. A mode of
This is a convenience method that creates an instance of theinheritdefers to the account setting or model default.ProjectDataRetention.Builderavoiding the need to create one manually viaProjectDataRetention.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataRetention(ProjectDataRetention).- Parameters:
dataRetention- a consumer that will call methods onProjectDataRetention.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-