@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeModelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeModelResult() |
Modifier and Type | Method and Description |
---|---|
DescribeModelResult |
clone() |
boolean |
equals(Object obj) |
List<ContainerDefinition> |
getContainers()
The containers in the inference pipeline.
|
Date |
getCreationTime()
A timestamp that shows when the model was created.
|
Boolean |
getEnableNetworkIsolation()
If
True , no inbound or outbound network calls can be made to or from the model container. |
String |
getExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
|
InferenceExecutionConfig |
getInferenceExecutionConfig()
Specifies details of how containers in a multi-container endpoint are called.
|
String |
getModelArn()
The Amazon Resource Name (ARN) of the model.
|
String |
getModelName()
Name of the SageMaker model.
|
ContainerDefinition |
getPrimaryContainer()
The location of the primary inference code, associated artifacts, and custom environment map that the inference
code uses when it is deployed in production.
|
VpcConfig |
getVpcConfig()
A VpcConfig object that specifies the VPC that this model has access to.
|
int |
hashCode() |
Boolean |
isEnableNetworkIsolation()
If
True , no inbound or outbound network calls can be made to or from the model container. |
void |
setContainers(Collection<ContainerDefinition> containers)
The containers in the inference pipeline.
|
void |
setCreationTime(Date creationTime)
A timestamp that shows when the model was created.
|
void |
setEnableNetworkIsolation(Boolean enableNetworkIsolation)
If
True , no inbound or outbound network calls can be made to or from the model container. |
void |
setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
|
void |
setInferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
Specifies details of how containers in a multi-container endpoint are called.
|
void |
setModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
|
void |
setModelName(String modelName)
Name of the SageMaker model.
|
void |
setPrimaryContainer(ContainerDefinition primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference
code uses when it is deployed in production.
|
void |
setVpcConfig(VpcConfig vpcConfig)
A VpcConfig object that specifies the VPC that this model has access to.
|
String |
toString()
Returns a string representation of this object.
|
DescribeModelResult |
withContainers(Collection<ContainerDefinition> containers)
The containers in the inference pipeline.
|
DescribeModelResult |
withContainers(ContainerDefinition... containers)
The containers in the inference pipeline.
|
DescribeModelResult |
withCreationTime(Date creationTime)
A timestamp that shows when the model was created.
|
DescribeModelResult |
withEnableNetworkIsolation(Boolean enableNetworkIsolation)
If
True , no inbound or outbound network calls can be made to or from the model container. |
DescribeModelResult |
withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
|
DescribeModelResult |
withInferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
Specifies details of how containers in a multi-container endpoint are called.
|
DescribeModelResult |
withModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
|
DescribeModelResult |
withModelName(String modelName)
Name of the SageMaker model.
|
DescribeModelResult |
withPrimaryContainer(ContainerDefinition primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference
code uses when it is deployed in production.
|
DescribeModelResult |
withVpcConfig(VpcConfig vpcConfig)
A VpcConfig object that specifies the VPC that this model has access to.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setModelName(String modelName)
Name of the SageMaker model.
modelName
- Name of the SageMaker model.public String getModelName()
Name of the SageMaker model.
public DescribeModelResult withModelName(String modelName)
Name of the SageMaker model.
modelName
- Name of the SageMaker model.public void setPrimaryContainer(ContainerDefinition primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
primaryContainer
- The location of the primary inference code, associated artifacts, and custom environment map that the
inference code uses when it is deployed in production.public ContainerDefinition getPrimaryContainer()
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
public DescribeModelResult withPrimaryContainer(ContainerDefinition primaryContainer)
The location of the primary inference code, associated artifacts, and custom environment map that the inference code uses when it is deployed in production.
primaryContainer
- The location of the primary inference code, associated artifacts, and custom environment map that the
inference code uses when it is deployed in production.public List<ContainerDefinition> getContainers()
The containers in the inference pipeline.
public void setContainers(Collection<ContainerDefinition> containers)
The containers in the inference pipeline.
containers
- The containers in the inference pipeline.public DescribeModelResult withContainers(ContainerDefinition... containers)
The containers in the inference pipeline.
NOTE: This method appends the values to the existing list (if any). Use
setContainers(java.util.Collection)
or withContainers(java.util.Collection)
if you want to
override the existing values.
containers
- The containers in the inference pipeline.public DescribeModelResult withContainers(Collection<ContainerDefinition> containers)
The containers in the inference pipeline.
containers
- The containers in the inference pipeline.public void setInferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
Specifies details of how containers in a multi-container endpoint are called.
inferenceExecutionConfig
- Specifies details of how containers in a multi-container endpoint are called.public InferenceExecutionConfig getInferenceExecutionConfig()
Specifies details of how containers in a multi-container endpoint are called.
public DescribeModelResult withInferenceExecutionConfig(InferenceExecutionConfig inferenceExecutionConfig)
Specifies details of how containers in a multi-container endpoint are called.
inferenceExecutionConfig
- Specifies details of how containers in a multi-container endpoint are called.public void setExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that you specified for the model.public String getExecutionRoleArn()
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
public DescribeModelResult withExecutionRoleArn(String executionRoleArn)
The Amazon Resource Name (ARN) of the IAM role that you specified for the model.
executionRoleArn
- The Amazon Resource Name (ARN) of the IAM role that you specified for the model.public void setVpcConfig(VpcConfig vpcConfig)
A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud
vpcConfig
- A VpcConfig object that specifies the VPC that this model has access to. For more information, see
Protect Endpoints by Using an
Amazon Virtual Private Cloudpublic VpcConfig getVpcConfig()
A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud
public DescribeModelResult withVpcConfig(VpcConfig vpcConfig)
A VpcConfig object that specifies the VPC that this model has access to. For more information, see Protect Endpoints by Using an Amazon Virtual Private Cloud
vpcConfig
- A VpcConfig object that specifies the VPC that this model has access to. For more information, see
Protect Endpoints by Using an
Amazon Virtual Private Cloudpublic void setCreationTime(Date creationTime)
A timestamp that shows when the model was created.
creationTime
- A timestamp that shows when the model was created.public Date getCreationTime()
A timestamp that shows when the model was created.
public DescribeModelResult withCreationTime(Date creationTime)
A timestamp that shows when the model was created.
creationTime
- A timestamp that shows when the model was created.public void setModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
modelArn
- The Amazon Resource Name (ARN) of the model.public String getModelArn()
The Amazon Resource Name (ARN) of the model.
public DescribeModelResult withModelArn(String modelArn)
The Amazon Resource Name (ARN) of the model.
modelArn
- The Amazon Resource Name (ARN) of the model.public void setEnableNetworkIsolation(Boolean enableNetworkIsolation)
If True
, no inbound or outbound network calls can be made to or from the model container.
enableNetworkIsolation
- If True
, no inbound or outbound network calls can be made to or from the model container.public Boolean getEnableNetworkIsolation()
If True
, no inbound or outbound network calls can be made to or from the model container.
True
, no inbound or outbound network calls can be made to or from the model container.public DescribeModelResult withEnableNetworkIsolation(Boolean enableNetworkIsolation)
If True
, no inbound or outbound network calls can be made to or from the model container.
enableNetworkIsolation
- If True
, no inbound or outbound network calls can be made to or from the model container.public Boolean isEnableNetworkIsolation()
If True
, no inbound or outbound network calls can be made to or from the model container.
True
, no inbound or outbound network calls can be made to or from the model container.public String toString()
toString
in class Object
Object.toString()
public DescribeModelResult clone()