Interface DescribeExperimentResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeExperimentResponse.Builder,DescribeExperimentResponse>
,SageMakerResponse.Builder
,SdkBuilder<DescribeExperimentResponse.Builder,DescribeExperimentResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeExperimentResponse
public static interface DescribeExperimentResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeExperimentResponse.Builder,DescribeExperimentResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DescribeExperimentResponse.Builder
createdBy(Consumer<UserContext.Builder> createdBy)
Who created the experiment.DescribeExperimentResponse.Builder
createdBy(UserContext createdBy)
Who created the experiment.DescribeExperimentResponse.Builder
creationTime(Instant creationTime)
When the experiment was created.DescribeExperimentResponse.Builder
description(String description)
The description of the experiment.DescribeExperimentResponse.Builder
displayName(String displayName)
The name of the experiment as displayed.DescribeExperimentResponse.Builder
experimentArn(String experimentArn)
The Amazon Resource Name (ARN) of the experiment.DescribeExperimentResponse.Builder
experimentName(String experimentName)
The name of the experiment.default DescribeExperimentResponse.Builder
lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Who last modified the experiment.DescribeExperimentResponse.Builder
lastModifiedBy(UserContext lastModifiedBy)
Who last modified the experiment.DescribeExperimentResponse.Builder
lastModifiedTime(Instant lastModifiedTime)
When the experiment was last modified.default DescribeExperimentResponse.Builder
source(Consumer<ExperimentSource.Builder> source)
The Amazon Resource Name (ARN) of the source and, optionally, the type.DescribeExperimentResponse.Builder
source(ExperimentSource source)
The Amazon Resource Name (ARN) of the source and, optionally, the type.-
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
-
experimentName
DescribeExperimentResponse.Builder experimentName(String experimentName)
The name of the experiment.
- Parameters:
experimentName
- The name of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
experimentArn
DescribeExperimentResponse.Builder experimentArn(String experimentArn)
The Amazon Resource Name (ARN) of the experiment.
- Parameters:
experimentArn
- The Amazon Resource Name (ARN) of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
DescribeExperimentResponse.Builder displayName(String displayName)
The name of the experiment as displayed. If
DisplayName
isn't specified,ExperimentName
is displayed.- Parameters:
displayName
- The name of the experiment as displayed. IfDisplayName
isn't specified,ExperimentName
is displayed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
DescribeExperimentResponse.Builder source(ExperimentSource source)
The Amazon Resource Name (ARN) of the source and, optionally, the type.
- Parameters:
source
- The Amazon Resource Name (ARN) of the source and, optionally, the type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default DescribeExperimentResponse.Builder source(Consumer<ExperimentSource.Builder> source)
The Amazon Resource Name (ARN) of the source and, optionally, the type.
This is a convenience method that creates an instance of theExperimentSource.Builder
avoiding the need to create one manually viaExperimentSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(ExperimentSource)
.- Parameters:
source
- a consumer that will call methods onExperimentSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
source(ExperimentSource)
-
description
DescribeExperimentResponse.Builder description(String description)
The description of the experiment.
- Parameters:
description
- The description of the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
DescribeExperimentResponse.Builder creationTime(Instant creationTime)
When the experiment was created.
- Parameters:
creationTime
- When the experiment was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
DescribeExperimentResponse.Builder createdBy(UserContext createdBy)
Who created the experiment.
- Parameters:
createdBy
- Who created the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default DescribeExperimentResponse.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Who created the experiment.
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:
createdBy(UserContext)
-
lastModifiedTime
DescribeExperimentResponse.Builder lastModifiedTime(Instant lastModifiedTime)
When the experiment was last modified.
- Parameters:
lastModifiedTime
- When the experiment was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
DescribeExperimentResponse.Builder lastModifiedBy(UserContext lastModifiedBy)
Who last modified the experiment.
- Parameters:
lastModifiedBy
- Who last modified the experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default DescribeExperimentResponse.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)
Who last modified the experiment.
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 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)
-
-