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
Modifier and TypeMethodDescriptioncalculatedAttributes(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.profileAttributes(ProfileAttributes profileAttributes) Object that holds the profile attributes to segment on.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
-
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.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:
-
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.
-