Interface Milestone.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Milestone.Builder,Milestone>,SdkBuilder<Milestone.Builder,Milestone>,SdkPojo
- Enclosing class:
- Milestone
public static interface Milestone.Builder extends SdkPojo, CopyableBuilder<Milestone.Builder,Milestone>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Milestone.BuildermilestoneName(String milestoneName)Sets the value of the MilestoneName property for this object.Milestone.BuildermilestoneNumber(Integer milestoneNumber)Sets the value of the MilestoneNumber property for this object.Milestone.BuilderrecordedAt(Instant recordedAt)Sets the value of the RecordedAt property for this object.default Milestone.Builderworkload(Consumer<Workload.Builder> workload)Sets the value of the Workload property for this object.Milestone.Builderworkload(Workload workload)Sets the value of the Workload property for this object.-
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
-
milestoneNumber
Milestone.Builder milestoneNumber(Integer milestoneNumber)
Sets the value of the MilestoneNumber property for this object.- Parameters:
milestoneNumber- The new value for the MilestoneNumber property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
milestoneName
Milestone.Builder milestoneName(String milestoneName)
Sets the value of the MilestoneName property for this object.- Parameters:
milestoneName- The new value for the MilestoneName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recordedAt
Milestone.Builder recordedAt(Instant recordedAt)
Sets the value of the RecordedAt property for this object.- Parameters:
recordedAt- The new value for the RecordedAt property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workload
Milestone.Builder workload(Workload workload)
Sets the value of the Workload property for this object.- Parameters:
workload- The new value for the Workload property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workload
default Milestone.Builder workload(Consumer<Workload.Builder> workload)
Sets the value of the Workload property for this object. This is a convenience method that creates an instance of theWorkload.Builderavoiding the need to create one manually viaWorkload.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkload(Workload).- Parameters:
workload- a consumer that will call methods onWorkload.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
workload(Workload)
-
-