public static interface UpdateSegmentResponse.Builder extends PinpointResponse.Builder, CopyableBuilder<UpdateSegmentResponse.Builder,UpdateSegmentResponse>
Modifier and Type | Method and Description |
---|---|
default UpdateSegmentResponse.Builder |
segmentResponse(Consumer<SegmentResponse.Builder> segmentResponse)
Sets the value of the SegmentResponse property for this object.
|
UpdateSegmentResponse.Builder |
segmentResponse(SegmentResponse segmentResponse)
Sets the value of the SegmentResponse property for this object.
|
build
copy
apply, build
UpdateSegmentResponse.Builder segmentResponse(SegmentResponse segmentResponse)
segmentResponse
- The new value for the SegmentResponse property for this object.default UpdateSegmentResponse.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 © 2017 Amazon Web Services, Inc. All Rights Reserved.