Interface Dimension.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Dimension.Builder,
,Dimension> SdkBuilder<Dimension.Builder,
,Dimension> SdkPojo
- Enclosing class:
Dimension
@Mutable
@NotThreadSafe
public static interface Dimension.Builder
extends SdkPojo, CopyableBuilder<Dimension.Builder,Dimension>
-
Method Summary
Modifier and TypeMethodDescriptioncalculatedAttributes
(Map<String, CalculatedAttributeDimension> calculatedAttributes) Object that holds the calculated attributes to segment on.default Dimension.Builder
profileAttributes
(Consumer<ProfileAttributes.Builder> profileAttributes) Object that holds the profile attributes to segment on.profileAttributes
(ProfileAttributes profileAttributes) Object that holds the profile attributes to segment on.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
-
profileAttributes
Object that holds the profile attributes to segment on.
- Parameters:
profileAttributes
- Object that holds the profile attributes to segment on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileAttributes
Object that holds the profile attributes to segment on.
This is a convenience method that creates an instance of theProfileAttributes.Builder
avoiding the need to create one manually viaProfileAttributes.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprofileAttributes(ProfileAttributes)
.- Parameters:
profileAttributes
- a consumer that will call methods onProfileAttributes.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
calculatedAttributes
Dimension.Builder calculatedAttributes(Map<String, CalculatedAttributeDimension> calculatedAttributes) Object that holds the calculated attributes to segment on.
- Parameters:
calculatedAttributes
- Object that holds the calculated attributes to segment on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-