@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInferenceComponentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateInferenceComponentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateInferenceComponentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getEndpointName()
The name of an existing endpoint where you host the inference component.
|
String |
getInferenceComponentName()
A unique name to assign to the inference component.
|
InferenceComponentRuntimeConfig |
getRuntimeConfig()
Runtime settings for a model that is deployed with an inference component.
|
InferenceComponentSpecification |
getSpecification()
Details about the resources to deploy with this inference component, including the model, container, and compute
resources.
|
List<Tag> |
getTags()
A list of key-value pairs associated with the model.
|
String |
getVariantName()
The name of an existing production variant where you host the inference component.
|
int |
hashCode() |
void |
setEndpointName(String endpointName)
The name of an existing endpoint where you host the inference component.
|
void |
setInferenceComponentName(String inferenceComponentName)
A unique name to assign to the inference component.
|
void |
setRuntimeConfig(InferenceComponentRuntimeConfig runtimeConfig)
Runtime settings for a model that is deployed with an inference component.
|
void |
setSpecification(InferenceComponentSpecification specification)
Details about the resources to deploy with this inference component, including the model, container, and compute
resources.
|
void |
setTags(Collection<Tag> tags)
A list of key-value pairs associated with the model.
|
void |
setVariantName(String variantName)
The name of an existing production variant where you host the inference component.
|
String |
toString()
Returns a string representation of this object.
|
CreateInferenceComponentRequest |
withEndpointName(String endpointName)
The name of an existing endpoint where you host the inference component.
|
CreateInferenceComponentRequest |
withInferenceComponentName(String inferenceComponentName)
A unique name to assign to the inference component.
|
CreateInferenceComponentRequest |
withRuntimeConfig(InferenceComponentRuntimeConfig runtimeConfig)
Runtime settings for a model that is deployed with an inference component.
|
CreateInferenceComponentRequest |
withSpecification(InferenceComponentSpecification specification)
Details about the resources to deploy with this inference component, including the model, container, and compute
resources.
|
CreateInferenceComponentRequest |
withTags(Collection<Tag> tags)
A list of key-value pairs associated with the model.
|
CreateInferenceComponentRequest |
withTags(Tag... tags)
A list of key-value pairs associated with the model.
|
CreateInferenceComponentRequest |
withVariantName(String variantName)
The name of an existing production variant where you host the inference component.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setInferenceComponentName(String inferenceComponentName)
A unique name to assign to the inference component.
inferenceComponentName
- A unique name to assign to the inference component.public String getInferenceComponentName()
A unique name to assign to the inference component.
public CreateInferenceComponentRequest withInferenceComponentName(String inferenceComponentName)
A unique name to assign to the inference component.
inferenceComponentName
- A unique name to assign to the inference component.public void setEndpointName(String endpointName)
The name of an existing endpoint where you host the inference component.
endpointName
- The name of an existing endpoint where you host the inference component.public String getEndpointName()
The name of an existing endpoint where you host the inference component.
public CreateInferenceComponentRequest withEndpointName(String endpointName)
The name of an existing endpoint where you host the inference component.
endpointName
- The name of an existing endpoint where you host the inference component.public void setVariantName(String variantName)
The name of an existing production variant where you host the inference component.
variantName
- The name of an existing production variant where you host the inference component.public String getVariantName()
The name of an existing production variant where you host the inference component.
public CreateInferenceComponentRequest withVariantName(String variantName)
The name of an existing production variant where you host the inference component.
variantName
- The name of an existing production variant where you host the inference component.public void setSpecification(InferenceComponentSpecification specification)
Details about the resources to deploy with this inference component, including the model, container, and compute resources.
specification
- Details about the resources to deploy with this inference component, including the model, container, and
compute resources.public InferenceComponentSpecification getSpecification()
Details about the resources to deploy with this inference component, including the model, container, and compute resources.
public CreateInferenceComponentRequest withSpecification(InferenceComponentSpecification specification)
Details about the resources to deploy with this inference component, including the model, container, and compute resources.
specification
- Details about the resources to deploy with this inference component, including the model, container, and
compute resources.public void setRuntimeConfig(InferenceComponentRuntimeConfig runtimeConfig)
Runtime settings for a model that is deployed with an inference component.
runtimeConfig
- Runtime settings for a model that is deployed with an inference component.public InferenceComponentRuntimeConfig getRuntimeConfig()
Runtime settings for a model that is deployed with an inference component.
public CreateInferenceComponentRequest withRuntimeConfig(InferenceComponentRuntimeConfig runtimeConfig)
Runtime settings for a model that is deployed with an inference component.
runtimeConfig
- Runtime settings for a model that is deployed with an inference component.public List<Tag> getTags()
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
public void setTags(Collection<Tag> tags)
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
tags
- A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference.public CreateInferenceComponentRequest withTags(Tag... tags)
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference.public CreateInferenceComponentRequest withTags(Collection<Tag> tags)
A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services resources in the Amazon Web Services General Reference.
tags
- A list of key-value pairs associated with the model. For more information, see Tagging Amazon Web Services
resources in the Amazon Web Services General Reference.public String toString()
toString
in class Object
Object.toString()
public CreateInferenceComponentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()