Interface TrialComponentSimpleSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrialComponentSimpleSummary.Builder,
,TrialComponentSimpleSummary> SdkBuilder<TrialComponentSimpleSummary.Builder,
,TrialComponentSimpleSummary> SdkPojo
- Enclosing class:
TrialComponentSimpleSummary
@Mutable
@NotThreadSafe
public static interface TrialComponentSimpleSummary.Builder
extends SdkPojo, CopyableBuilder<TrialComponentSimpleSummary.Builder,TrialComponentSimpleSummary>
-
Method Summary
Modifier and TypeMethodDescriptioncreatedBy
(Consumer<UserContext.Builder> createdBy) Sets the value of the CreatedBy property for this object.createdBy
(UserContext createdBy) Sets the value of the CreatedBy property for this object.creationTime
(Instant creationTime) When the component was created.trialComponentArn
(String trialComponentArn) The Amazon Resource Name (ARN) of the trial component.trialComponentName
(String trialComponentName) The name of the trial component.trialComponentSource
(Consumer<TrialComponentSource.Builder> trialComponentSource) Sets the value of the TrialComponentSource property for this object.trialComponentSource
(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 Details
-
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
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
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.Builder
avoiding the need to create one manually viaTrialComponentSource.builder()
.When the
Consumer
completes,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:
-
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
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
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,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:
-