Interface Dimension.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Dimension.Builder,Dimension>,SdkBuilder<Dimension.Builder,Dimension>,SdkPojo
- Enclosing class:
- Dimension
public static interface Dimension.Builder extends SdkPojo, CopyableBuilder<Dimension.Builder,Dimension>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Dimension.BuildercalculatedAttributes(Map<String,CalculatedAttributeDimension> calculatedAttributes)Object that holds the calculated attributes to segment on.default Dimension.BuilderprofileAttributes(Consumer<ProfileAttributes.Builder> profileAttributes)Object that holds the profile attributes to segment on.Dimension.BuilderprofileAttributes(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 Detail
-
profileAttributes
Dimension.Builder profileAttributes(ProfileAttributes 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
default Dimension.Builder profileAttributes(Consumer<ProfileAttributes.Builder> profileAttributes)
Object that holds the profile attributes to segment on.
This is a convenience method that creates an instance of theProfileAttributes.Builderavoiding the need to create one manually viaProfileAttributes.builder().When the
Consumercompletes,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:
profileAttributes(ProfileAttributes)
-
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.
-
-