Class UpdateModelDeploymentRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<UpdateModelDeploymentDetails>
-
- com.oracle.bmc.datascience.requests.UpdateModelDeploymentRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190101") public class UpdateModelDeploymentRequest extends BmcRequest<UpdateModelDeploymentDetails>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/datascience/UpdateModelDeploymentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateModelDeploymentRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateModelDeploymentRequest.Builder
-
Constructor Summary
Constructors Constructor Description UpdateModelDeploymentRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateModelDeploymentRequest.Builder
builder()
Return a new builder for this request object.boolean
equals(Object o)
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.UpdateModelDeploymentDetails
getBody$()
Alternative accessor for the body parameter.String
getIfMatch()
For optimistic concurrency control.String
getModelDeploymentId()
The OCID of the model deployment.String
getOpcRequestId()
Unique Oracle assigned identifier for the request.UpdateModelDeploymentDetails
getUpdateModelDeploymentDetails()
Details for updating a model deployment.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.UpdateModelDeploymentRequest.Builder
toBuilder()
Return an instance ofUpdateModelDeploymentRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getUpdateModelDeploymentDetails
public UpdateModelDeploymentDetails getUpdateModelDeploymentDetails()
Details for updating a model deployment.Some of the properties of modelDeploymentConfigurationDetails or CategoryLogDetails can also be updated with zero down time when the model deployment’s lifecycle state is ACTIVE or NEEDS_ATTENTION i.e instanceShapeName, instanceCount and modelId, separately loadBalancerShape or CategoryLogDetails can also be updated independently. All of the fields can be updated when the deployment is in the INACTIVE lifecycle state. Changes will take effect the next time the model deployment is activated.
-
getIfMatch
public String getIfMatch()
For optimistic concurrency control.In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource is updated or deleted only if the etag you provide matches the resource’s current etag value.
-
getOpcRequestId
public String getOpcRequestId()
Unique Oracle assigned identifier for the request.If you need to contact Oracle about a particular request, then provide the request ID.
-
getBody$
public UpdateModelDeploymentDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<UpdateModelDeploymentDetails>
- Returns:
- body parameter
-
toBuilder
public UpdateModelDeploymentRequest.Builder toBuilder()
Return an instance ofUpdateModelDeploymentRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
UpdateModelDeploymentRequest.Builder
that allows you to modify request properties.
-
builder
public static UpdateModelDeploymentRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<UpdateModelDeploymentDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<UpdateModelDeploymentDetails>
-
-