Interface TrialComponentSimpleSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrialComponentSimpleSummary.Builder,TrialComponentSimpleSummary>,SdkBuilder<TrialComponentSimpleSummary.Builder,TrialComponentSimpleSummary>,SdkPojo
- Enclosing class:
- TrialComponentSimpleSummary
public static interface TrialComponentSimpleSummary.Builder extends SdkPojo, CopyableBuilder<TrialComponentSimpleSummary.Builder,TrialComponentSimpleSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TrialComponentSimpleSummary.BuildercreatedBy(Consumer<UserContext.Builder> createdBy)Sets the value of the CreatedBy property for this object.TrialComponentSimpleSummary.BuildercreatedBy(UserContext createdBy)Sets the value of the CreatedBy property for this object.TrialComponentSimpleSummary.BuildercreationTime(Instant creationTime)When the component was created.TrialComponentSimpleSummary.BuildertrialComponentArn(String trialComponentArn)The Amazon Resource Name (ARN) of the trial component.TrialComponentSimpleSummary.BuildertrialComponentName(String trialComponentName)The name of the trial component.default TrialComponentSimpleSummary.BuildertrialComponentSource(Consumer<TrialComponentSource.Builder> trialComponentSource)Sets the value of the TrialComponentSource property for this object.TrialComponentSimpleSummary.BuildertrialComponentSource(TrialComponentSource trialComponentSource)Sets the value of the TrialComponentSource property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
trialComponentName
TrialComponentSimpleSummary.Builder trialComponentName(String trialComponentName)
The name of the trial component.
- Parameters:
trialComponentName- The name of the trial component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialComponentArn
TrialComponentSimpleSummary.Builder trialComponentArn(String trialComponentArn)
The Amazon Resource Name (ARN) of the trial component.
- Parameters:
trialComponentArn- The Amazon Resource Name (ARN) of the trial component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialComponentSource
TrialComponentSimpleSummary.Builder trialComponentSource(TrialComponentSource trialComponentSource)
Sets the value of the TrialComponentSource property for this object.- Parameters:
trialComponentSource- The new value for the TrialComponentSource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialComponentSource
default TrialComponentSimpleSummary.Builder trialComponentSource(Consumer<TrialComponentSource.Builder> trialComponentSource)
Sets the value of the TrialComponentSource property for this object. This is a convenience method that creates an instance of theTrialComponentSource.Builderavoiding the need to create one manually viaTrialComponentSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totrialComponentSource(TrialComponentSource).- Parameters:
trialComponentSource- a consumer that will call methods onTrialComponentSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
trialComponentSource(TrialComponentSource)
-
creationTime
TrialComponentSimpleSummary.Builder creationTime(Instant creationTime)
When the component was created.
- Parameters:
creationTime- When the component was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
TrialComponentSimpleSummary.Builder createdBy(UserContext createdBy)
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default TrialComponentSimpleSummary.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocreatedBy(UserContext).- Parameters:
createdBy- a consumer that will call methods onUserContext.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
createdBy(UserContext)
-
-