Interface TrialSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<TrialSummary.Builder,TrialSummary>, SdkBuilder<TrialSummary.Builder,TrialSummary>, SdkPojo
Enclosing class:
TrialSummary

public static interface TrialSummary.Builder extends SdkPojo, CopyableBuilder<TrialSummary.Builder,TrialSummary>
  • Method Details

    • trialArn

      TrialSummary.Builder trialArn(String trialArn)

      The Amazon Resource Name (ARN) of the trial.

      Parameters:
      trialArn - The Amazon Resource Name (ARN) of the trial.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trialName

      TrialSummary.Builder trialName(String trialName)

      The name of the trial.

      Parameters:
      trialName - The name of the trial.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • displayName

      TrialSummary.Builder displayName(String displayName)

      The name of the trial as displayed. If DisplayName isn't specified, TrialName is displayed.

      Parameters:
      displayName - The name of the trial as displayed. If DisplayName isn't specified, TrialName is displayed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trialSource

      TrialSummary.Builder trialSource(TrialSource trialSource)
      Sets the value of the TrialSource property for this object.
      Parameters:
      trialSource - The new value for the TrialSource property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • trialSource

      default TrialSummary.Builder trialSource(Consumer<TrialSource.Builder> trialSource)
      Sets the value of the TrialSource property for this object. This is a convenience method that creates an instance of the TrialSource.Builder avoiding the need to create one manually via TrialSource.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to trialSource(TrialSource).

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

      TrialSummary.Builder creationTime(Instant creationTime)

      When the trial was created.

      Parameters:
      creationTime - When the trial was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastModifiedTime

      TrialSummary.Builder lastModifiedTime(Instant lastModifiedTime)

      When the trial was last modified.

      Parameters:
      lastModifiedTime - When the trial was last modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.