public static interface UpdateSegmentRequest.Builder extends PinpointRequest.Builder, CopyableBuilder<UpdateSegmentRequest.Builder,UpdateSegmentRequest>
Modifier and Type | Method and Description |
---|---|
UpdateSegmentRequest.Builder |
applicationId(String applicationId)
Sets the value of the ApplicationId property for this object.
|
UpdateSegmentRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
UpdateSegmentRequest.Builder |
segmentId(String segmentId)
Sets the value of the SegmentId property for this object.
|
default UpdateSegmentRequest.Builder |
writeSegmentRequest(Consumer<WriteSegmentRequest.Builder> writeSegmentRequest)
Sets the value of the WriteSegmentRequest property for this object.
|
UpdateSegmentRequest.Builder |
writeSegmentRequest(WriteSegmentRequest writeSegmentRequest)
Sets the value of the WriteSegmentRequest property for this object.
|
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
UpdateSegmentRequest.Builder applicationId(String applicationId)
applicationId
- The new value for the ApplicationId property for this object.UpdateSegmentRequest.Builder segmentId(String segmentId)
segmentId
- The new value for the SegmentId property for this object.UpdateSegmentRequest.Builder writeSegmentRequest(WriteSegmentRequest writeSegmentRequest)
writeSegmentRequest
- The new value for the WriteSegmentRequest property for this object.default UpdateSegmentRequest.Builder writeSegmentRequest(Consumer<WriteSegmentRequest.Builder> writeSegmentRequest)
WriteSegmentRequest.Builder
avoiding the need
to create one manually via WriteSegmentRequest.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to writeSegmentRequest(WriteSegmentRequest)
.writeSegmentRequest
- a consumer that will call methods on WriteSegmentRequest.Builder
writeSegmentRequest(WriteSegmentRequest)
UpdateSegmentRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.