Interface DescribeTrialComponentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTrialComponentResponse.Builder,DescribeTrialComponentResponse>,SageMakerResponse.Builder,SdkBuilder<DescribeTrialComponentResponse.Builder,DescribeTrialComponentResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTrialComponentResponse
public static interface DescribeTrialComponentResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeTrialComponentResponse.Builder,DescribeTrialComponentResponse>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
trialComponentName
DescribeTrialComponentResponse.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
DescribeTrialComponentResponse.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
DescribeTrialComponentResponse.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.
-
source
DescribeTrialComponentResponse.Builder source(TrialComponentSource source)
The Amazon Resource Name (ARN) of the source and, optionally, the job type.
- Parameters:
source- The Amazon Resource Name (ARN) of the source and, optionally, the job type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default DescribeTrialComponentResponse.Builder source(Consumer<TrialComponentSource.Builder> source)
The Amazon Resource Name (ARN) of the source and, optionally, the job type.
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 tosource(TrialComponentSource).- Parameters:
source- 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:
source(TrialComponentSource)
-
status
DescribeTrialComponentResponse.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 DescribeTrialComponentResponse.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
DescribeTrialComponentResponse.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
DescribeTrialComponentResponse.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
DescribeTrialComponentResponse.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
DescribeTrialComponentResponse.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 DescribeTrialComponentResponse.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
DescribeTrialComponentResponse.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
DescribeTrialComponentResponse.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 DescribeTrialComponentResponse.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)
-
parameters
DescribeTrialComponentResponse.Builder parameters(Map<String,TrialComponentParameterValue> parameters)
The hyperparameters of the component.
- Parameters:
parameters- The hyperparameters of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputArtifacts
DescribeTrialComponentResponse.Builder inputArtifacts(Map<String,TrialComponentArtifact> inputArtifacts)
The input artifacts of the component.
- Parameters:
inputArtifacts- The input artifacts of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputArtifacts
DescribeTrialComponentResponse.Builder outputArtifacts(Map<String,TrialComponentArtifact> outputArtifacts)
The output artifacts of the component.
- Parameters:
outputArtifacts- The output artifacts of the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataProperties
DescribeTrialComponentResponse.Builder metadataProperties(MetadataProperties metadataProperties)
Sets the value of the MetadataProperties property for this object.- Parameters:
metadataProperties- The new value for the MetadataProperties property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataProperties
default DescribeTrialComponentResponse.Builder metadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)
Sets the value of the MetadataProperties property for this object. This is a convenience method that creates an instance of theMetadataProperties.Builderavoiding the need to create one manually viaMetadataProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataProperties(MetadataProperties).- Parameters:
metadataProperties- a consumer that will call methods onMetadataProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadataProperties(MetadataProperties)
-
metrics
DescribeTrialComponentResponse.Builder metrics(Collection<TrialComponentMetricSummary> metrics)
The metrics for the component.
- Parameters:
metrics- The metrics for the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
DescribeTrialComponentResponse.Builder metrics(TrialComponentMetricSummary... metrics)
The metrics for the component.
- Parameters:
metrics- The metrics for the component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metrics
DescribeTrialComponentResponse.Builder metrics(Consumer<TrialComponentMetricSummary.Builder>... metrics)
The metrics for the component.
This is a convenience method that creates an instance of theTrialComponentMetricSummary.Builderavoiding the need to create one manually viaTrialComponentMetricSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metrics(List.) - Parameters:
metrics- a consumer that will call methods onTrialComponentMetricSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metrics(java.util.Collection)
-
lineageGroupArn
DescribeTrialComponentResponse.Builder lineageGroupArn(String lineageGroupArn)
The Amazon Resource Name (ARN) of the lineage group.
- Parameters:
lineageGroupArn- The Amazon Resource Name (ARN) of the lineage group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
DescribeTrialComponentResponse.Builder sources(Collection<TrialComponentSource> sources)
A list of ARNs and, if applicable, job types for multiple sources of an experiment run.
- Parameters:
sources- A list of ARNs and, if applicable, job types for multiple sources of an experiment run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
DescribeTrialComponentResponse.Builder sources(TrialComponentSource... sources)
A list of ARNs and, if applicable, job types for multiple sources of an experiment run.
- Parameters:
sources- A list of ARNs and, if applicable, job types for multiple sources of an experiment run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sources
DescribeTrialComponentResponse.Builder sources(Consumer<TrialComponentSource.Builder>... sources)
A list of ARNs and, if applicable, job types for multiple sources of an experiment run.
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 to#sources(List.) - Parameters:
sources- 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:
#sources(java.util.Collection)
-
-