public static interface CreateSegmentResponse.Builder extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<CreateSegmentResponse.Builder,CreateSegmentResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateSegmentResponse.Builder |
segment(Consumer<Segment.Builder> segment)
A structure that contains the complete information about the segment that was just created.
|
CreateSegmentResponse.Builder |
segment(Segment segment)
A structure that contains the complete information about the segment that was just created.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSegmentResponse.Builder segment(Segment segment)
A structure that contains the complete information about the segment that was just created.
segment - A structure that contains the complete information about the segment that was just created.default CreateSegmentResponse.Builder segment(Consumer<Segment.Builder> segment)
A structure that contains the complete information about the segment that was just created.
This is a convenience method that creates an instance of theSegment.Builder avoiding the need to
create one manually via Segment.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to segment(Segment).
segment - a consumer that will call methods on Segment.Buildersegment(Segment)Copyright © 2022. All rights reserved.