public static interface GetSegmentResponse.Builder extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<GetSegmentResponse.Builder,GetSegmentResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetSegmentResponse.Builder |
segment(Consumer<Segment.Builder> segment)
A structure that contains the complete information about the segment.
|
GetSegmentResponse.Builder |
segment(Segment segment)
A structure that contains the complete information about the segment.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSegmentResponse.Builder segment(Segment segment)
A structure that contains the complete information about the segment.
segment - A structure that contains the complete information about the segment.default GetSegmentResponse.Builder segment(Consumer<Segment.Builder> segment)
A structure that contains the complete information about the segment.
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.