Interface CreateSegmentResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<CreateSegmentResponse.Builder,,- CreateSegmentResponse> - EvidentlyResponse.Builder,- SdkBuilder<CreateSegmentResponse.Builder,,- CreateSegmentResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateSegmentResponse
@Mutable
@NotThreadSafe
public static interface CreateSegmentResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<CreateSegmentResponse.Builder,CreateSegmentResponse> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
segmentA 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.
 
- 
segmentA 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 on- Segment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-