Interface DescribeInferenceExperimentResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeInferenceExperimentResponse.Builder,
,DescribeInferenceExperimentResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeInferenceExperimentResponse.Builder,
,DescribeInferenceExperimentResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeInferenceExperimentResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the inference experiment being described.completionTime
(Instant completionTime) The timestamp at which the inference experiment was completed.creationTime
(Instant creationTime) The timestamp at which you created the inference experiment.dataStorageConfig
(Consumer<InferenceExperimentDataStorageConfig.Builder> dataStorageConfig) The Amazon S3 location and configuration for storing inference request and response data.dataStorageConfig
(InferenceExperimentDataStorageConfig dataStorageConfig) The Amazon S3 location and configuration for storing inference request and response data.description
(String description) The description of the inference experiment.endpointMetadata
(Consumer<EndpointMetadata.Builder> endpointMetadata) The metadata of the endpoint on which the inference experiment ran.endpointMetadata
(EndpointMetadata endpointMetadata) The metadata of the endpoint on which the inference experiment ran.The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.lastModifiedTime
(Instant lastModifiedTime) The timestamp at which you last modified the inference experiment.modelVariants
(Collection<ModelVariantConfigSummary> modelVariants) An array ofModelVariantConfigSummary
objects.modelVariants
(Consumer<ModelVariantConfigSummary.Builder>... modelVariants) An array ofModelVariantConfigSummary
objects.modelVariants
(ModelVariantConfigSummary... modelVariants) An array ofModelVariantConfigSummary
objects.The name of the inference experiment.The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.schedule
(Consumer<InferenceExperimentSchedule.Builder> schedule) The duration for which the inference experiment ran or will run.schedule
(InferenceExperimentSchedule schedule) The duration for which the inference experiment ran or will run.shadowModeConfig
(Consumer<ShadowModeConfig.Builder> shadowModeConfig) The configuration ofShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests.shadowModeConfig
(ShadowModeConfig shadowModeConfig) The configuration ofShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests.The status of the inference experiment.status
(InferenceExperimentStatus status) The status of the inference experiment.statusReason
(String statusReason) The error message or client-specifiedReason
from the StopInferenceExperiment API, that explains the status of the inference experiment.The type of the inference experiment.type
(InferenceExperimentType type) The type of the inference experiment.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 Details
-
arn
The ARN of the inference experiment being described.
- Parameters:
arn
- The ARN of the inference experiment being described.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the inference experiment.
- Parameters:
name
- The name of the inference experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of the inference experiment.
- Parameters:
type
- The type of the inference experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of the inference experiment.
- Parameters:
type
- The type of the inference experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
schedule
The duration for which the inference experiment ran or will run.
- Parameters:
schedule
- The duration for which the inference experiment ran or will run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
default DescribeInferenceExperimentResponse.Builder schedule(Consumer<InferenceExperimentSchedule.Builder> schedule) The duration for which the inference experiment ran or will run.
This is a convenience method that creates an instance of theInferenceExperimentSchedule.Builder
avoiding the need to create one manually viaInferenceExperimentSchedule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschedule(InferenceExperimentSchedule)
.- Parameters:
schedule
- a consumer that will call methods onInferenceExperimentSchedule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the inference experiment. The following are the possible statuses for an inference experiment:
-
Creating
- Amazon SageMaker is creating your experiment. -
Created
- Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time. -
Updating
- When you make changes to your experiment, your experiment shows as updating. -
Starting
- Amazon SageMaker is beginning your experiment. -
Running
- Your experiment is in progress. -
Stopping
- Amazon SageMaker is stopping your experiment. -
Completed
- Your experiment has completed. -
Cancelled
- When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.
- Parameters:
status
- The status of the inference experiment. The following are the possible statuses for an inference experiment:-
Creating
- Amazon SageMaker is creating your experiment. -
Created
- Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time. -
Updating
- When you make changes to your experiment, your experiment shows as updating. -
Starting
- Amazon SageMaker is beginning your experiment. -
Running
- Your experiment is in progress. -
Stopping
- Amazon SageMaker is stopping your experiment. -
Completed
- Your experiment has completed. -
Cancelled
- When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the inference experiment. The following are the possible statuses for an inference experiment:
-
Creating
- Amazon SageMaker is creating your experiment. -
Created
- Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time. -
Updating
- When you make changes to your experiment, your experiment shows as updating. -
Starting
- Amazon SageMaker is beginning your experiment. -
Running
- Your experiment is in progress. -
Stopping
- Amazon SageMaker is stopping your experiment. -
Completed
- Your experiment has completed. -
Cancelled
- When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.
- Parameters:
status
- The status of the inference experiment. The following are the possible statuses for an inference experiment:-
Creating
- Amazon SageMaker is creating your experiment. -
Created
- Amazon SageMaker has finished the creation of your experiment and will begin the experiment at the scheduled time. -
Updating
- When you make changes to your experiment, your experiment shows as updating. -
Starting
- Amazon SageMaker is beginning your experiment. -
Running
- Your experiment is in progress. -
Stopping
- Amazon SageMaker is stopping your experiment. -
Completed
- Your experiment has completed. -
Cancelled
- When you conclude your experiment early using the StopInferenceExperiment API, or if any operation fails with an unexpected error, it shows as cancelled.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
statusReason
The error message or client-specified
Reason
from the StopInferenceExperiment API, that explains the status of the inference experiment.- Parameters:
statusReason
- The error message or client-specifiedReason
from the StopInferenceExperiment API, that explains the status of the inference experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the inference experiment.
- Parameters:
description
- The description of the inference experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTime
The timestamp at which you created the inference experiment.
- Parameters:
creationTime
- The timestamp at which you created the inference experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completionTime
The timestamp at which the inference experiment was completed.
- Parameters:
completionTime
- The timestamp at which the inference experiment was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
The timestamp at which you last modified the inference experiment.
- Parameters:
lastModifiedTime
- The timestamp at which you last modified the inference experiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.
- Parameters:
roleArn
- The ARN of the IAM role that Amazon SageMaker can assume to access model artifacts and container images, and manage Amazon SageMaker Inference endpoints for model deployment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointMetadata
The metadata of the endpoint on which the inference experiment ran.
- Parameters:
endpointMetadata
- The metadata of the endpoint on which the inference experiment ran.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpointMetadata
default DescribeInferenceExperimentResponse.Builder endpointMetadata(Consumer<EndpointMetadata.Builder> endpointMetadata) The metadata of the endpoint on which the inference experiment ran.
This is a convenience method that creates an instance of theEndpointMetadata.Builder
avoiding the need to create one manually viaEndpointMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpointMetadata(EndpointMetadata)
.- Parameters:
endpointMetadata
- a consumer that will call methods onEndpointMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
modelVariants
DescribeInferenceExperimentResponse.Builder modelVariants(Collection<ModelVariantConfigSummary> modelVariants) An array of
ModelVariantConfigSummary
objects. There is one for each variant in the inference experiment. EachModelVariantConfigSummary
object in the array describes the infrastructure configuration for deploying the corresponding variant.- Parameters:
modelVariants
- An array ofModelVariantConfigSummary
objects. There is one for each variant in the inference experiment. EachModelVariantConfigSummary
object in the array describes the infrastructure configuration for deploying the corresponding variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVariants
DescribeInferenceExperimentResponse.Builder modelVariants(ModelVariantConfigSummary... modelVariants) An array of
ModelVariantConfigSummary
objects. There is one for each variant in the inference experiment. EachModelVariantConfigSummary
object in the array describes the infrastructure configuration for deploying the corresponding variant.- Parameters:
modelVariants
- An array ofModelVariantConfigSummary
objects. There is one for each variant in the inference experiment. EachModelVariantConfigSummary
object in the array describes the infrastructure configuration for deploying the corresponding variant.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelVariants
DescribeInferenceExperimentResponse.Builder modelVariants(Consumer<ModelVariantConfigSummary.Builder>... modelVariants) An array of
This is a convenience method that creates an instance of theModelVariantConfigSummary
objects. There is one for each variant in the inference experiment. EachModelVariantConfigSummary
object in the array describes the infrastructure configuration for deploying the corresponding variant.ModelVariantConfigSummary.Builder
avoiding the need to create one manually viaModelVariantConfigSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodelVariants(List<ModelVariantConfigSummary>)
.- Parameters:
modelVariants
- a consumer that will call methods onModelVariantConfigSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataStorageConfig
DescribeInferenceExperimentResponse.Builder dataStorageConfig(InferenceExperimentDataStorageConfig dataStorageConfig) The Amazon S3 location and configuration for storing inference request and response data.
- Parameters:
dataStorageConfig
- The Amazon S3 location and configuration for storing inference request and response data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataStorageConfig
default DescribeInferenceExperimentResponse.Builder dataStorageConfig(Consumer<InferenceExperimentDataStorageConfig.Builder> dataStorageConfig) The Amazon S3 location and configuration for storing inference request and response data.
This is a convenience method that creates an instance of theInferenceExperimentDataStorageConfig.Builder
avoiding the need to create one manually viaInferenceExperimentDataStorageConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataStorageConfig(InferenceExperimentDataStorageConfig)
.- Parameters:
dataStorageConfig
- a consumer that will call methods onInferenceExperimentDataStorageConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
shadowModeConfig
The configuration of
ShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.- Parameters:
shadowModeConfig
- The configuration ofShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shadowModeConfig
default DescribeInferenceExperimentResponse.Builder shadowModeConfig(Consumer<ShadowModeConfig.Builder> shadowModeConfig) The configuration of
This is a convenience method that creates an instance of theShadowMode
inference experiment type, which shows the production variant that takes all the inference requests, and the shadow variant to which Amazon SageMaker replicates a percentage of the inference requests. For the shadow variant it also shows the percentage of requests that Amazon SageMaker replicates.ShadowModeConfig.Builder
avoiding the need to create one manually viaShadowModeConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toshadowModeConfig(ShadowModeConfig)
.- Parameters:
shadowModeConfig
- a consumer that will call methods onShadowModeConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
kmsKey
The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. For more information, see CreateInferenceExperiment.
- Parameters:
kmsKey
- The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint. For more information, see CreateInferenceExperiment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-