@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientRequestToken()
An idempotency token provided by the customer.
|
String |
getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models
encrypted with a customer managed key (ModelKmsKeyId).
|
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 |
getFlywheelArn()
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
|
String |
getModelArn()
The Amazon Resource Number (ARN) of the model to which the endpoint will be attached.
|
List<Tag> |
getTags()
Tags to associate with the endpoint.
|
int |
hashCode() |
void |
setClientRequestToken(String clientRequestToken)
An idempotency token provided by the customer.
|
void |
setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models
encrypted with a customer managed key (ModelKmsKeyId).
|
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 |
setFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
|
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 to associate with the endpoint.
|
String |
toString()
Returns a string representation of this object.
|
CreateEndpointRequest |
withClientRequestToken(String clientRequestToken)
An idempotency token provided by the customer.
|
CreateEndpointRequest |
withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models
encrypted with a customer managed key (ModelKmsKeyId).
|
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 |
withFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
|
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 to associate with the endpoint.
|
CreateEndpointRequest |
withTags(Tag... tags)
Tags to associate with the endpoint.
|
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, 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 to associate with the endpoint. 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 to associate with the endpoint. 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 to associate with the endpoint. 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 to associate with the endpoint. 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 to associate with the endpoint. 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 to associate with the endpoint. 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 to associate with the endpoint. 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 setDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).
dataAccessRoleArn - The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom
models encrypted with a customer managed key (ModelKmsKeyId).public String getDataAccessRoleArn()
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).
public CreateEndpointRequest withDataAccessRoleArn(String dataAccessRoleArn)
The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom models encrypted with a customer managed key (ModelKmsKeyId).
dataAccessRoleArn - The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read access to trained custom
models encrypted with a customer managed key (ModelKmsKeyId).public void setFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
flywheelArn - The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.public String getFlywheelArn()
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
public CreateEndpointRequest withFlywheelArn(String flywheelArn)
The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.
flywheelArn - The Amazon Resource Number (ARN) of the flywheel to which the endpoint will be attached.public String toString()
toString in class ObjectObject.toString()public CreateEndpointRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()