Interface DimensionGroupDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DimensionGroupDetail.Builder,
,DimensionGroupDetail> SdkBuilder<DimensionGroupDetail.Builder,
,DimensionGroupDetail> SdkPojo
- Enclosing class:
DimensionGroupDetail
@Mutable
@NotThreadSafe
public static interface DimensionGroupDetail.Builder
extends SdkPojo, CopyableBuilder<DimensionGroupDetail.Builder,DimensionGroupDetail>
-
Method Summary
Modifier and TypeMethodDescriptiondimensions
(Collection<DimensionDetail> dimensions) The dimensions within a dimension group.dimensions
(Consumer<DimensionDetail.Builder>... dimensions) The dimensions within a dimension group.dimensions
(DimensionDetail... dimensions) The dimensions within a dimension group.The name of the dimension group.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
-
group
The name of the dimension group.
- Parameters:
group
- The name of the dimension group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions within a dimension group.
- Parameters:
dimensions
- The dimensions within a dimension group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions within a dimension group.
- Parameters:
dimensions
- The dimensions within a dimension group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dimensions
The dimensions within a dimension group.
This is a convenience method that creates an instance of theDimensionDetail.Builder
avoiding the need to create one manually viaDimensionDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todimensions(List<DimensionDetail>)
.- Parameters:
dimensions
- a consumer that will call methods onDimensionDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-