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