Interface ProjectDescription.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProjectDescription.Builder,
,ProjectDescription> SdkBuilder<ProjectDescription.Builder,
,ProjectDescription> SdkPojo
- Enclosing class:
ProjectDescription
public static interface ProjectDescription.Builder
extends SdkPojo, CopyableBuilder<ProjectDescription.Builder,ProjectDescription>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the project.createdDate
(Instant createdDate) The date when the project was originally created, in UNIX epoch time format.description
(String description) The description of the project.default ProjectDescription.Builder
placementTemplate
(Consumer<PlacementTemplate.Builder> placementTemplate) An object describing the project's placement specifications.placementTemplate
(PlacementTemplate placementTemplate) An object describing the project's placement specifications.projectName
(String projectName) The name of the project for which to obtain information from.The tags (metadata key/value pairs) associated with the project.updatedDate
(Instant updatedDate) The date when the project was last updated, in UNIX epoch time format.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
arn
The ARN of the project.
- Parameters:
arn
- The ARN of the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectName
The name of the project for which to obtain information from.
- Parameters:
projectName
- The name of the project for which to obtain information from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
createdDate
The date when the project was originally created, in UNIX epoch time format.
- Parameters:
createdDate
- The date when the project was originally created, in UNIX epoch time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedDate
The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then
createdDate
andupdatedDate
are the same.- Parameters:
updatedDate
- The date when the project was last updated, in UNIX epoch time format. If the project was not updated, thencreatedDate
andupdatedDate
are the same.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementTemplate
An object describing the project's placement specifications.
- Parameters:
placementTemplate
- An object describing the project's placement specifications.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementTemplate
default ProjectDescription.Builder placementTemplate(Consumer<PlacementTemplate.Builder> placementTemplate) An object describing the project's placement specifications.
This is a convenience method that creates an instance of thePlacementTemplate.Builder
avoiding the need to create one manually viaPlacementTemplate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toplacementTemplate(PlacementTemplate)
.- Parameters:
placementTemplate
- a consumer that will call methods onPlacementTemplate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags (metadata key/value pairs) associated with the project.
- Parameters:
tags
- The tags (metadata key/value pairs) associated with the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-