Interface TrialComponentSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrialComponentSummary.Builder,TrialComponentSummary>,SdkBuilder<TrialComponentSummary.Builder,TrialComponentSummary>,SdkPojo
- Enclosing class:
- TrialComponentSummary
public static interface TrialComponentSummary.Builder extends SdkPojo, CopyableBuilder<TrialComponentSummary.Builder,TrialComponentSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TrialComponentSummary.BuildercreatedBy(Consumer<UserContext.Builder> createdBy)Who created the trial component.TrialComponentSummary.BuildercreatedBy(UserContext createdBy)Who created the trial component.TrialComponentSummary.BuildercreationTime(Instant creationTime)When the component was created.TrialComponentSummary.BuilderdisplayName(String displayName)The name of the component as displayed.TrialComponentSummary.BuilderendTime(Instant endTime)When the component ended.default TrialComponentSummary.BuilderlastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)Who last modified the component.TrialComponentSummary.BuilderlastModifiedBy(UserContext lastModifiedBy)Who last modified the component.TrialComponentSummary.BuilderlastModifiedTime(Instant lastModifiedTime)When the component was last modified.TrialComponentSummary.BuilderstartTime(Instant startTime)When the component started.default TrialComponentSummary.Builderstatus(Consumer<TrialComponentStatus.Builder> status)The status of the component.TrialComponentSummary.Builderstatus(TrialComponentStatus status)The status of the component.TrialComponentSummary.BuildertrialComponentArn(String trialComponentArn)The Amazon Resource Name (ARN) of the trial component.TrialComponentSummary.BuildertrialComponentName(String trialComponentName)The name of the trial component.default TrialComponentSummary.BuildertrialComponentSource(Consumer<TrialComponentSource.Builder> trialComponentSource)Sets the value of the TrialComponentSource property for this object.TrialComponentSummary.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, sdkFields
-
-
-
-
Method Detail
-
trialComponentName
TrialComponentSummary.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
TrialComponentSummary.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.
-
displayName
TrialComponentSummary.Builder displayName(String displayName)
The name of the component as displayed. If
DisplayNameisn't specified,TrialComponentNameis displayed.- Parameters:
displayName- The name of the component as displayed. IfDisplayNameisn't specified,TrialComponentNameis displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trialComponentSource
TrialComponentSummary.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 TrialComponentSummary.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)
-
status
TrialComponentSummary.Builder status(TrialComponentStatus status)
The status of the component. States include:
-
InProgress
-
Completed
-
Failed
- Parameters:
status- The status of the component. States include:-
InProgress
-
Completed
-
Failed
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
status
default TrialComponentSummary.Builder status(Consumer<TrialComponentStatus.Builder> status)
The status of the component. States include:
-
InProgress
-
Completed
-
Failed
TrialComponentStatus.Builderavoiding the need to create one manually viaTrialComponentStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(TrialComponentStatus).- Parameters:
status- a consumer that will call methods onTrialComponentStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
status(TrialComponentStatus)
-
-
startTime
TrialComponentSummary.Builder startTime(Instant startTime)
When the component started.
- Parameters:
startTime- When the component started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
TrialComponentSummary.Builder endTime(Instant endTime)
When the component ended.
- Parameters:
endTime- When the component ended.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
TrialComponentSummary.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
TrialComponentSummary.Builder createdBy(UserContext createdBy)
Who created the trial component.
- Parameters:
createdBy- Who created the trial component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default TrialComponentSummary.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Who created the trial component.
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)
-
lastModifiedTime
TrialComponentSummary.Builder lastModifiedTime(Instant lastModifiedTime)
When the component was last modified.
- Parameters:
lastModifiedTime- When the component was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
TrialComponentSummary.Builder lastModifiedBy(UserContext lastModifiedBy)
Who last modified the component.
- Parameters:
lastModifiedBy- Who last modified the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default TrialComponentSummary.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Who last modified the component.
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 tolastModifiedBy(UserContext).- Parameters:
lastModifiedBy- 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:
lastModifiedBy(UserContext)
-
-