Interface ContextChange.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ContextChange.Builder,,ContextChange> SdkBuilder<ContextChange.Builder,,ContextChange> SdkPojo
- Enclosing class:
ContextChange
-
Method Summary
Modifier and TypeMethodDescriptionchangeType(String changeType) The type of change.changeType(ContextChangeType changeType) The type of change.default ContextChange.Buildercontext(Consumer<ContextEntry.Builder> context) The context entry that was added or removed.context(ContextEntry context) The context entry that was added or removed.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
-
changeType
The type of change. The possible values are the following:
-
ADDED: The context entry was added to the context store. -
REMOVED: The context entry was removed from the context store.
- Parameters:
changeType- The type of change. The possible values are the following:-
ADDED: The context entry was added to the context store. -
REMOVED: The context entry was removed from the context store.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
changeType
The type of change. The possible values are the following:
-
ADDED: The context entry was added to the context store. -
REMOVED: The context entry was removed from the context store.
- Parameters:
changeType- The type of change. The possible values are the following:-
ADDED: The context entry was added to the context store. -
REMOVED: The context entry was removed from the context store.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
context
The context entry that was added or removed.
- Parameters:
context- The context entry that was added or removed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
context
The context entry that was added or removed.
This is a convenience method that creates an instance of theContextEntry.Builderavoiding the need to create one manually viaContextEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontext(ContextEntry).- Parameters:
context- a consumer that will call methods onContextEntry.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-