/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; /** * * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class DescribeInferenceExperimentResult extends com.amazonaws.AmazonWebServiceResult implements Serializable, Cloneable { /** *

* The ARN of the inference experiment being described. *

*/ private String arn; /** *

* The name of the inference experiment. *

*/ private String name; /** *

* The type of the inference experiment. *

*/ private String type; /** *

* The duration for which the inference experiment ran or will run. *

*/ private InferenceExperimentSchedule schedule; /** *

* The status of the inference experiment. The following are the possible statuses for an inference experiment: *

* */ private String status; /** *

* The error message or client-specified Reason from the StopInferenceExperiment API, that explains the status of the inference experiment. *

*/ private String statusReason; /** *

* The description of the inference experiment. *

*/ private String description; /** *

* The timestamp at which you created the inference experiment. *

*/ private java.util.Date creationTime; /** *

* The timestamp at which the inference experiment was completed. *

*/ private java.util.Date completionTime; /** *

* The timestamp at which you last modified the inference experiment. *

*/ private java.util.Date lastModifiedTime; /** *

* 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. *

*/ private String roleArn; /** *

* The metadata of the endpoint on which the inference experiment ran. *

*/ private EndpointMetadata endpointMetadata; /** *

* An array of ModelVariantConfigSummary objects. There is one for each variant in the inference * experiment. Each ModelVariantConfigSummary object in the array describes the infrastructure * configuration for deploying the corresponding variant. *

*/ private java.util.List modelVariants; /** *

* The Amazon S3 location and configuration for storing inference request and response data. *

*/ private InferenceExperimentDataStorageConfig dataStorageConfig; /** *

* 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. *

*/ private ShadowModeConfig shadowModeConfig; /** *

* 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. *

*/ private String kmsKey; /** *

* The ARN of the inference experiment being described. *

* * @param arn * The ARN of the inference experiment being described. */ public void setArn(String arn) { this.arn = arn; } /** *

* The ARN of the inference experiment being described. *

* * @return The ARN of the inference experiment being described. */ public String getArn() { return this.arn; } /** *

* The ARN of the inference experiment being described. *

* * @param arn * The ARN of the inference experiment being described. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeInferenceExperimentResult withArn(String arn) { setArn(arn); return this; } /** *

* The name of the inference experiment. *

* * @param name * The name of the inference experiment. */ public void setName(String name) { this.name = name; } /** *

* The name of the inference experiment. *

* * @return The name of the inference experiment. */ public String getName() { return this.name; } /** *

* The name of the inference experiment. *

* * @param name * The name of the inference experiment. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeInferenceExperimentResult withName(String name) { setName(name); return this; } /** *

* The type of the inference experiment. *

* * @param type * The type of the inference experiment. * @see InferenceExperimentType */ public void setType(String type) { this.type = type; } /** *

* The type of the inference experiment. *

* * @return The type of the inference experiment. * @see InferenceExperimentType */ public String getType() { return this.type; } /** *

* The type of the inference experiment. *

* * @param type * The type of the inference experiment. * @return Returns a reference to this object so that method calls can be chained together. * @see InferenceExperimentType */ public DescribeInferenceExperimentResult withType(String type) { setType(type); return this; } /** *

* The type of the inference experiment. *

* * @param type * The type of the inference experiment. * @return Returns a reference to this object so that method calls can be chained together. * @see InferenceExperimentType */ public DescribeInferenceExperimentResult withType(InferenceExperimentType type) { this.type = type.toString(); return this; } /** *

* The duration for which the inference experiment ran or will run. *

* * @param schedule * The duration for which the inference experiment ran or will run. */ public void setSchedule(InferenceExperimentSchedule schedule) { this.schedule = schedule; } /** *

* The duration for which the inference experiment ran or will run. *

* * @return The duration for which the inference experiment ran or will run. */ public InferenceExperimentSchedule getSchedule() { return this.schedule; } /** *

* The duration for which the inference experiment ran or will run. *

* * @param schedule * The duration for which the inference experiment ran or will run. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeInferenceExperimentResult withSchedule(InferenceExperimentSchedule schedule) { setSchedule(schedule); return this; } /** *

* The status of the inference experiment. The following are the possible statuses for an inference experiment: *

* * * @param status * The status of the inference experiment. The following are the possible statuses for an inference * experiment:

*