Interface Expression.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Expression.Builder,
,Expression> SdkBuilder<Expression.Builder,
,Expression> SdkPojo
- Enclosing class:
Expression
@Mutable
@NotThreadSafe
public static interface Expression.Builder
extends SdkPojo, CopyableBuilder<Expression.Builder,Expression>
-
Method Summary
Modifier and TypeMethodDescriptiondefault Expression.Builder
dimensions
(Consumer<DimensionValues.Builder> dimensions) The specificDimension
to use forExpression
.dimensions
(DimensionValues dimensions) The specificDimension
to use forExpression
.default Expression.Builder
tags
(Consumer<TagValues.Builder> tags) The specificTag
to use forExpression
.The specificTag
to use forExpression
.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
-
dimensions
The specific
Dimension
to use forExpression
.- Parameters:
dimensions
- The specificDimension
to use forExpression
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The specific
This is a convenience method that creates an instance of theDimension
to use forExpression
.DimensionValues.Builder
avoiding the need to create one manually viaDimensionValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensions(DimensionValues)
.- Parameters:
dimensions
- a consumer that will call methods onDimensionValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The specific
Tag
to use forExpression
.- Parameters:
tags
- The specificTag
to use forExpression
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The specific
This is a convenience method that creates an instance of theTag
to use forExpression
.TagValues.Builder
avoiding the need to create one manually viaTagValues.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(TagValues)
.- Parameters:
tags
- a consumer that will call methods onTagValues.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-