Interface ListSegmentReferencesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSegmentReferencesResponse.Builder,ListSegmentReferencesResponse>,EvidentlyResponse.Builder,SdkBuilder<ListSegmentReferencesResponse.Builder,ListSegmentReferencesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListSegmentReferencesResponse
public static interface ListSegmentReferencesResponse.Builder extends EvidentlyResponse.Builder, SdkPojo, CopyableBuilder<ListSegmentReferencesResponse.Builder,ListSegmentReferencesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListSegmentReferencesResponse.BuildernextToken(String nextToken)The token to use in a subsequentListSegmentReferencesoperation to return the next set of results.ListSegmentReferencesResponse.BuilderreferencedBy(Collection<RefResource> referencedBy)An array of structures, where each structure contains information about one experiment or launch that uses this segment.ListSegmentReferencesResponse.BuilderreferencedBy(Consumer<RefResource.Builder>... referencedBy)An array of structures, where each structure contains information about one experiment or launch that uses this segment.ListSegmentReferencesResponse.BuilderreferencedBy(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.evidently.model.EvidentlyResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListSegmentReferencesResponse.Builder nextToken(String 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
ListSegmentReferencesResponse.Builder referencedBy(Collection<RefResource> 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
ListSegmentReferencesResponse.Builder referencedBy(RefResource... 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
ListSegmentReferencesResponse.Builder referencedBy(Consumer<RefResource.Builder>... 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 to#referencedBy(List.) - 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:
#referencedBy(java.util.Collection)
-
-