Interface CreateSegmentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateSegmentResponse.Builder,,CreateSegmentResponse> EvidentlyResponse.Builder,SdkBuilder<CreateSegmentResponse.Builder,,CreateSegmentResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateSegmentResponse
public static interface CreateSegmentResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<CreateSegmentResponse.Builder,CreateSegmentResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateSegmentResponse.Buildersegment(Consumer<Segment.Builder> segment) A structure that contains the complete information about the segment that was just created.A structure that contains the complete information about the segment that was just created.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
segment
A structure that contains the complete information about the segment that was just created.
- Parameters:
segment- A structure that contains the complete information about the segment that was just created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
segment
A structure that contains the complete information about the segment that was just created.
This is a convenience method that creates an instance of theSegment.Builderavoiding the need to create one manually viaSegment.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosegment(Segment).- Parameters:
segment- a consumer that will call methods onSegment.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-