@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateEndpointRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateEndpointRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateEndpointRequest |
clone() |
boolean |
equals(Object obj) |
String |
getClientRequestToken()
An idempotency token provided by the customer.
|
Integer |
getDesiredInferenceUnits()
The desired number of inference units to be used by the model using this endpoint.
|
String |
getEndpointName()
This is the descriptive suffix that becomes part of the
EndpointArn used for all subsequent requests
to this resource. |
String |
getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
|
List<Tag> |
getTags()
Tags associated with the endpoint being created.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
An idempotency token provided by the customer.
|
void |
setDesiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint.
|
void |
setEndpointName(String endpointName)
This is the descriptive suffix that becomes part of the
EndpointArn used for all subsequent requests
to this resource. |
void |
setModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
|
void |
setTags(Collection<Tag> tags)
Tags associated with the endpoint being created.
|
String |
toString()
Returns a string representation of this object.
|
CreateEndpointRequest |
withClientRequestToken(String clientRequestToken)
An idempotency token provided by the customer.
|
CreateEndpointRequest |
withDesiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint.
|
CreateEndpointRequest |
withEndpointName(String endpointName)
This is the descriptive suffix that becomes part of the
EndpointArn used for all subsequent requests
to this resource. |
CreateEndpointRequest |
withModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
|
CreateEndpointRequest |
withTags(Collection<Tag> tags)
Tags associated with the endpoint being created.
|
CreateEndpointRequest |
withTags(Tag... tags)
Tags associated with the endpoint being created.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setEndpointName(String endpointName)
This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests
to this resource.
endpointName - This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent
requests to this resource.public String getEndpointName()
This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests
to this resource.
EndpointArn used for all subsequent
requests to this resource.public CreateEndpointRequest withEndpointName(String endpointName)
This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent requests
to this resource.
endpointName - This is the descriptive suffix that becomes part of the EndpointArn used for all subsequent
requests to this resource.public void setModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
modelArn - The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.public String getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
public CreateEndpointRequest withModelArn(String modelArn)
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
modelArn - The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.public void setDesiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
desiredInferenceUnits - The desired number of inference units to be used by the model using this endpoint. Each inference unit
represents of a throughput of 100 characters per second.public Integer getDesiredInferenceUnits()
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
public CreateEndpointRequest withDesiredInferenceUnits(Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this endpoint. Each inference unit represents of a throughput of 100 characters per second.
desiredInferenceUnits - The desired number of inference units to be used by the model using this endpoint. Each inference unit
represents of a throughput of 100 characters per second.public void setClientRequestToken(String clientRequestToken)
An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon
Comprehend will not return a ResourceInUseException.
clientRequestToken - An idempotency token provided by the customer. If this token matches a previous endpoint creation request,
Amazon Comprehend will not return a ResourceInUseException.public String getClientRequestToken()
An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon
Comprehend will not return a ResourceInUseException.
ResourceInUseException.public CreateEndpointRequest withClientRequestToken(String clientRequestToken)
An idempotency token provided by the customer. If this token matches a previous endpoint creation request, Amazon
Comprehend will not return a ResourceInUseException.
clientRequestToken - An idempotency token provided by the customer. If this token matches a previous endpoint creation request,
Amazon Comprehend will not return a ResourceInUseException.public List<Tag> getTags()
Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
public void setTags(Collection<Tag> tags)
Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
tags - Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the
endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by
the sales department.public CreateEndpointRequest withTags(Tag... tags)
Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
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 - Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the
endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by
the sales department.public CreateEndpointRequest withTags(Collection<Tag> tags)
Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by the sales department.
tags - Tags associated with the endpoint being created. A tag is a key-value pair that adds metadata to the
endpoint. For example, a tag with "Sales" as the key might be added to an endpoint to indicate its use by
the sales department.public String toString()
toString in class ObjectObject.toString()public CreateEndpointRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2021. All rights reserved.