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 Details

    • nextToken

      The token to use in a subsequent ListSegmentReferences operation to return the next set of results.

      Parameters:
      nextToken - The token to use in a subsequent ListSegmentReferences operation 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

      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

      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 the RefResource.Builder avoiding the need to create one manually via RefResource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to referencedBy(List<RefResource>).

      Parameters:
      referencedBy - a consumer that will call methods on RefResource.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: