public static interface GetSegmentResponse.Builder extends PinpointResponse.Builder, SdkPojo, CopyableBuilder<GetSegmentResponse.Builder,GetSegmentResponse>
Modifier and Type | Method and Description |
---|---|
default GetSegmentResponse.Builder |
segmentResponse(Consumer<SegmentResponse.Builder> segmentResponse)
Sets the value of the SegmentResponse property for this object.
|
GetSegmentResponse.Builder |
segmentResponse(SegmentResponse segmentResponse)
Sets the value of the SegmentResponse property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetSegmentResponse.Builder segmentResponse(SegmentResponse segmentResponse)
segmentResponse
- The new value for the SegmentResponse property for this object.default GetSegmentResponse.Builder segmentResponse(Consumer<SegmentResponse.Builder> segmentResponse)
SegmentResponse.Builder
avoiding the need to
create one manually via SegmentResponse.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to segmentResponse(SegmentResponse)
.segmentResponse
- a consumer that will call methods on SegmentResponse.Builder
segmentResponse(SegmentResponse)
Copyright © 2019. All rights reserved.