public static class InstanceConfiguration.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceConfiguration |
build() |
InstanceConfiguration.Builder |
copy(InstanceConfiguration model) |
InstanceConfiguration.Builder |
instanceShapeName(String instanceShapeName)
The shape used to launch the model deployment instances.
|
InstanceConfiguration.Builder |
modelDeploymentInstanceShapeConfigDetails(ModelDeploymentInstanceShapeConfigDetails modelDeploymentInstanceShapeConfigDetails) |
InstanceConfiguration.Builder |
subnetId(String subnetId)
A model deployment instance is provided with a VNIC for network access.
|
public InstanceConfiguration.Builder instanceShapeName(String instanceShapeName)
The shape used to launch the model deployment instances.
instanceShapeName
- the value to setpublic InstanceConfiguration.Builder modelDeploymentInstanceShapeConfigDetails(ModelDeploymentInstanceShapeConfigDetails modelDeploymentInstanceShapeConfigDetails)
public InstanceConfiguration.Builder subnetId(String subnetId)
A model deployment instance is provided with a VNIC for network access. This specifies the OCID of the subnet to create a VNIC in. The subnet should be in a VCN with a NAT/SGW gateway for egress.
subnetId
- the value to setpublic InstanceConfiguration build()
public InstanceConfiguration.Builder copy(InstanceConfiguration model)
Copyright © 2016–2024. All rights reserved.