Interface SegmentGroup.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SegmentGroup.Builder,,- SegmentGroup> - SdkBuilder<SegmentGroup.Builder,,- SegmentGroup> - SdkPojo
- Enclosing class:
- SegmentGroup
- 
Method SummaryModifier and TypeMethodDescriptiondimensions(Collection<SegmentDimensions> dimensions) An array that defines the dimensions for the segment.dimensions(Consumer<SegmentDimensions.Builder>... dimensions) An array that defines the dimensions for the segment.dimensions(SegmentDimensions... dimensions) An array that defines the dimensions for the segment.sourceSegments(Collection<SegmentReference> sourceSegments) The base segment to build the segment on.sourceSegments(Consumer<SegmentReference.Builder>... sourceSegments) The base segment to build the segment on.sourceSegments(SegmentReference... sourceSegments) The base segment to build the segment on.sourceType(String sourceType) Specifies how to handle multiple base segments for the segment.sourceType(SourceType sourceType) Specifies how to handle multiple base segments for the segment.Specifies how to handle multiple dimensions for the segment.Specifies how to handle multiple dimensions for the segment.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
dimensionsAn array that defines the dimensions for the segment. - Parameters:
- dimensions- An array that defines the dimensions for the segment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dimensionsAn array that defines the dimensions for the segment. - Parameters:
- dimensions- An array that defines the dimensions for the segment.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
dimensionsAn array that defines the dimensions for the segment. This is a convenience method that creates an instance of theSegmentDimensions.Builderavoiding the need to create one manually viaSegmentDimensions.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todimensions(List<SegmentDimensions>).- Parameters:
- dimensions- a consumer that will call methods on- SegmentDimensions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sourceSegmentsThe base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify. You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it. - Parameters:
- sourceSegments- The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.- You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceSegmentsThe base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify. You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it. - Parameters:
- sourceSegments- The base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify.- You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sourceSegmentsThe base segment to build the segment on. A base segment, also referred to as a source segment, defines the initial population of endpoints for a segment. When you add dimensions to a segment, Amazon Pinpoint filters the base segment by using the dimensions that you specify. You can specify more than one dimensional segment or only one imported segment. If you specify an imported segment, the Amazon Pinpoint console displays a segment size estimate that indicates the size of the imported segment without any filters applied to it. This is a convenience method that creates an instance of theSegmentReference.Builderavoiding the need to create one manually viaSegmentReference.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceSegments(List<SegmentReference>).- Parameters:
- sourceSegments- a consumer that will call methods on- SegmentReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sourceTypeSpecifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments. - Parameters:
- sourceType- Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
sourceTypeSpecifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments. - Parameters:
- sourceType- Specifies how to handle multiple base segments for the segment. For example, if you specify three base segments for the segment, whether the resulting segment is based on all, any, or none of the base segments.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeSpecifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions. - Parameters:
- type- Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
typeSpecifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions. - Parameters:
- type- Specifies how to handle multiple dimensions for the segment. For example, if you specify three dimensions for the segment, whether the resulting segment includes endpoints that match all, any, or none of the dimensions.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-