Interface DescribeTrialResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeTrialResponse.Builder,DescribeTrialResponse>,SageMakerResponse.Builder,SdkBuilder<DescribeTrialResponse.Builder,DescribeTrialResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeTrialResponse
public static interface DescribeTrialResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeTrialResponse.Builder,DescribeTrialResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeTrialResponse.BuildercreatedBy(Consumer<UserContext.Builder> createdBy)Who created the trial.DescribeTrialResponse.BuildercreatedBy(UserContext createdBy)Who created the trial.DescribeTrialResponse.BuildercreationTime(Instant creationTime)When the trial was created.DescribeTrialResponse.BuilderdisplayName(String displayName)The name of the trial as displayed.DescribeTrialResponse.BuilderexperimentName(String experimentName)The name of the experiment the trial is part of.default DescribeTrialResponse.BuilderlastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)Who last modified the trial.DescribeTrialResponse.BuilderlastModifiedBy(UserContext lastModifiedBy)Who last modified the trial.DescribeTrialResponse.BuilderlastModifiedTime(Instant lastModifiedTime)When the trial was last modified.default DescribeTrialResponse.BuildermetadataProperties(Consumer<MetadataProperties.Builder> metadataProperties)Sets the value of the MetadataProperties property for this object.DescribeTrialResponse.BuildermetadataProperties(MetadataProperties metadataProperties)Sets the value of the MetadataProperties property for this object.default DescribeTrialResponse.Buildersource(Consumer<TrialSource.Builder> source)The Amazon Resource Name (ARN) of the source and, optionally, the job type.DescribeTrialResponse.Buildersource(TrialSource source)The Amazon Resource Name (ARN) of the source and, optionally, the job type.DescribeTrialResponse.BuildertrialArn(String trialArn)The Amazon Resource Name (ARN) of the trial.DescribeTrialResponse.BuildertrialName(String trialName)The name of the trial.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
trialName
DescribeTrialResponse.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.
-
trialArn
DescribeTrialResponse.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.
-
displayName
DescribeTrialResponse.Builder displayName(String displayName)
The name of the trial as displayed. If
DisplayNameisn't specified,TrialNameis displayed.- Parameters:
displayName- The name of the trial as displayed. IfDisplayNameisn't specified,TrialNameis displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentName
DescribeTrialResponse.Builder experimentName(String experimentName)
The name of the experiment the trial is part of.
- Parameters:
experimentName- The name of the experiment the trial is part of.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
DescribeTrialResponse.Builder source(TrialSource 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 DescribeTrialResponse.Builder source(Consumer<TrialSource.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 theTrialSource.Builderavoiding the need to create one manually viaTrialSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(TrialSource).- Parameters:
source- a consumer that will call methods onTrialSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(TrialSource)
-
creationTime
DescribeTrialResponse.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.
-
createdBy
DescribeTrialResponse.Builder createdBy(UserContext createdBy)
Who created the trial.
- Parameters:
createdBy- Who created the trial.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default DescribeTrialResponse.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Who created the trial.
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
DescribeTrialResponse.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.
-
lastModifiedBy
DescribeTrialResponse.Builder lastModifiedBy(UserContext lastModifiedBy)
Who last modified the trial.
- Parameters:
lastModifiedBy- Who last modified the trial.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default DescribeTrialResponse.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Who last modified the trial.
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)
-
metadataProperties
DescribeTrialResponse.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 DescribeTrialResponse.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)
-
-