Interface ListSegmentReferencesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSegmentReferencesResponse.Builder,,ListSegmentReferencesResponse> EvidentlyResponse.Builder,SdkBuilder<ListSegmentReferencesResponse.Builder,,ListSegmentReferencesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSegmentReferencesResponse
@Mutable
@NotThreadSafe
public static interface ListSegmentReferencesResponse.Builder
extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<ListSegmentReferencesResponse.Builder,ListSegmentReferencesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use in a subsequentListSegmentReferencesoperation to return the next set of results.referencedBy(Collection<RefResource> referencedBy) An array of structures, where each structure contains information about one experiment or launch that uses this segment.referencedBy(Consumer<RefResource.Builder>... referencedBy) An array of structures, where each structure contains information about one experiment or launch that uses this segment.referencedBy(RefResource... referencedBy) An array of structures, where each structure contains information about one experiment or launch that uses this segment.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The token to use in a subsequent
ListSegmentReferencesoperation to return the next set of results.- Parameters:
nextToken- The token to use in a subsequentListSegmentReferencesoperation to return the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencedBy
An array of structures, where each structure contains information about one experiment or launch that uses this segment.
- Parameters:
referencedBy- An array of structures, where each structure contains information about one experiment or launch that uses this segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencedBy
An array of structures, where each structure contains information about one experiment or launch that uses this segment.
- Parameters:
referencedBy- An array of structures, where each structure contains information about one experiment or launch that uses this segment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
referencedBy
An array of structures, where each structure contains information about one experiment or launch that uses this segment.
This is a convenience method that creates an instance of theRefResource.Builderavoiding the need to create one manually viaRefResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreferencedBy(List<RefResource>).- Parameters:
referencedBy- a consumer that will call methods onRefResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-