Interface RelatedObservations.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RelatedObservations.Builder,RelatedObservations>,SdkBuilder<RelatedObservations.Builder,RelatedObservations>,SdkPojo
- Enclosing class:
- RelatedObservations
public static interface RelatedObservations.Builder extends SdkPojo, CopyableBuilder<RelatedObservations.Builder,RelatedObservations>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RelatedObservations.BuilderobservationList(Collection<Observation> observationList)The list of observations related to the problem.RelatedObservations.BuilderobservationList(Consumer<Observation.Builder>... observationList)The list of observations related to the problem.RelatedObservations.BuilderobservationList(Observation... observationList)The list of observations related to the problem.-
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
-
observationList
RelatedObservations.Builder observationList(Collection<Observation> observationList)
The list of observations related to the problem.
- Parameters:
observationList- The list of observations related to the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observationList
RelatedObservations.Builder observationList(Observation... observationList)
The list of observations related to the problem.
- Parameters:
observationList- The list of observations related to the problem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
observationList
RelatedObservations.Builder observationList(Consumer<Observation.Builder>... observationList)
The list of observations related to the problem.
This is a convenience method that creates an instance of theObservation.Builderavoiding the need to create one manually viaObservation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#observationList(List.) - Parameters:
observationList- a consumer that will call methods onObservation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#observationList(java.util.Collection)
-
-