public class UpdateEndpointRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates information about the specified endpoint.
Constructor and Description |
---|
UpdateEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getDesiredInferenceUnits()
The desired number of inference units to be used by the model using this
endpoint.
|
java.lang.String |
getEndpointArn()
The Amazon Resource Number (ARN) of the endpoint being updated.
|
int |
hashCode() |
void |
setDesiredInferenceUnits(java.lang.Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this
endpoint.
|
void |
setEndpointArn(java.lang.String endpointArn)
The Amazon Resource Number (ARN) of the endpoint being updated.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateEndpointRequest |
withDesiredInferenceUnits(java.lang.Integer desiredInferenceUnits)
The desired number of inference units to be used by the model using this
endpoint.
|
UpdateEndpointRequest |
withEndpointArn(java.lang.String endpointArn)
The Amazon Resource Number (ARN) of the endpoint being updated.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getEndpointArn()
The Amazon Resource Number (ARN) of the endpoint being updated.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier
-endpoint|entity-recognizer-endpoint)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
The Amazon Resource Number (ARN) of the endpoint being updated.
public void setEndpointArn(java.lang.String endpointArn)
The Amazon Resource Number (ARN) of the endpoint being updated.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier
-endpoint|entity-recognizer-endpoint)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
endpointArn
- The Amazon Resource Number (ARN) of the endpoint being updated.
public UpdateEndpointRequest withEndpointArn(java.lang.String endpointArn)
The Amazon Resource Number (ARN) of the endpoint being updated.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 256
Pattern:
arn:aws(-[^:]+)?:comprehend:[a-zA-Z0-9-]*:[0-9]{12}:(document
-classifier
-endpoint|entity-recognizer-endpoint)/[a-zA-Z0-9](-*[a-zA-Z0-9])*
endpointArn
- The Amazon Resource Number (ARN) of the endpoint being updated.
public java.lang.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.
Constraints:
Range: 1 -
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 setDesiredInferenceUnits(java.lang.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.
Constraints:
Range: 1 -
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 UpdateEndpointRequest withDesiredInferenceUnits(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 -
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.