Interface RightExpression.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RightExpression.Builder,
,RightExpression> SdkBuilder<RightExpression.Builder,
,RightExpression> SdkPojo
- Enclosing class:
RightExpression
@Mutable
@NotThreadSafe
public static interface RightExpression.Builder
extends SdkPojo, CopyableBuilder<RightExpression.Builder,RightExpression>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RightExpression.Builder
metadataValue
(Consumer<MetadataValue.Builder> metadataValue) Value associated with the key ineventMetadata
.metadataValue
(MetadataValue metadataValue) Value associated with the key ineventMetadata
.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, sdkFieldNameToField, sdkFields
-
Method Details
-
metadataValue
Value associated with the key in
eventMetadata
.- Parameters:
metadataValue
- Value associated with the key ineventMetadata
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataValue
Value associated with the key in
This is a convenience method that creates an instance of theeventMetadata
.MetadataValue.Builder
avoiding the need to create one manually viaMetadataValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadataValue(MetadataValue)
.- Parameters:
metadataValue
- a consumer that will call methods onMetadataValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-