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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ProjectDescription.Builderarn(String arn)The ARN of the project.ProjectDescription.BuildercreatedDate(Instant createdDate)The date when the project was originally created, in UNIX epoch time format.ProjectDescription.Builderdescription(String description)The description of the project.default ProjectDescription.BuilderplacementTemplate(Consumer<PlacementTemplate.Builder> placementTemplate)An object describing the project's placement specifications.ProjectDescription.BuilderplacementTemplate(PlacementTemplate placementTemplate)An object describing the project's placement specifications.ProjectDescription.BuilderprojectName(String projectName)The name of the project for which to obtain information from.ProjectDescription.Buildertags(Map<String,String> tags)The tags (metadata key/value pairs) associated with the project.ProjectDescription.BuilderupdatedDate(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 Detail
-
arn
ProjectDescription.Builder arn(String 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
ProjectDescription.Builder projectName(String 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
ProjectDescription.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.
-
createdDate
ProjectDescription.Builder createdDate(Instant 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
ProjectDescription.Builder updatedDate(Instant updatedDate)
The date when the project was last updated, in UNIX epoch time format. If the project was not updated, then
createdDateandupdatedDateare the same.- Parameters:
updatedDate- The date when the project was last updated, in UNIX epoch time format. If the project was not updated, thencreatedDateandupdatedDateare the same.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementTemplate
ProjectDescription.Builder placementTemplate(PlacementTemplate 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.Builderavoiding the need to create one manually viaPlacementTemplate.builder().When the
Consumercompletes,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:
placementTemplate(PlacementTemplate)
-
tags
ProjectDescription.Builder tags(Map<String,String> 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.
-
-