public static interface CreateSegmentResponse.Builder extends PinpointResponse.Builder, CopyableBuilder<CreateSegmentResponse.Builder,CreateSegmentResponse>
Modifier and Type | Method and Description |
---|---|
default CreateSegmentResponse.Builder |
segmentResponse(Consumer<SegmentResponse.Builder> segmentResponse)
Sets the value of the SegmentResponse property for this object.
|
CreateSegmentResponse.Builder |
segmentResponse(SegmentResponse segmentResponse)
Sets the value of the SegmentResponse property for this object.
|
build
copy
apply, build
CreateSegmentResponse.Builder segmentResponse(SegmentResponse segmentResponse)
segmentResponse
- The new value for the SegmentResponse property for this object.default CreateSegmentResponse.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.