Interface RelatedChange.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<RelatedChange.Builder,,RelatedChange> SdkBuilder<RelatedChange.Builder,,RelatedChange> SdkPojo
- Enclosing class:
RelatedChange
@Mutable
@NotThreadSafe
public static interface RelatedChange.Builder
extends SdkPojo, CopyableBuilder<RelatedChange.Builder,RelatedChange>
-
Method Summary
Modifier and TypeMethodDescriptionWhen the change happened at its source.The identifier of the change.default RelatedChange.Buildernode(Consumer<ObservationNode.Builder> node) The node where the change happened, in the same shape as an affected node.node(ObservationNode node) The node where the change happened, in the same shape as an affected node.The system that reported the change.One line on what the change did.The kind of change.type(RelatedChangeType type) The kind of change.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
changeId
The identifier of the change.
- Parameters:
changeId- The identifier of the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changedAt
When the change happened at its source.
- Parameters:
changedAt- When the change happened at its source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The kind of change.
- Parameters:
type- The kind of change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The kind of change.
- Parameters:
type- The kind of change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
source
The system that reported the change.
- Parameters:
source- The system that reported the change.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
One line on what the change did.
- Parameters:
summary- One line on what the change did.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
node
The node where the change happened, in the same shape as an affected node.
- Parameters:
node- The node where the change happened, in the same shape as an affected node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
node
The node where the change happened, in the same shape as an affected node.
This is a convenience method that creates an instance of theObservationNode.Builderavoiding the need to create one manually viaObservationNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonode(ObservationNode).- Parameters:
node- a consumer that will call methods onObservationNode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-