Class RestartDbSystemRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<RestartDbSystemDetails>
- 
- com.oracle.bmc.mysql.requests.RestartDbSystemRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20190415") public class RestartDbSystemRequest extends BmcRequest<RestartDbSystemDetails>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/mysql/RestartDbSystemExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use RestartDbSystemRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classRestartDbSystemRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description RestartDbSystemRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestartDbSystemRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.RestartDbSystemDetailsgetBody$()Alternative accessor for the body parameter.StringgetDbSystemId()The DB System OCID.StringgetIfMatch()For optimistic concurrency control.StringgetOpcRequestId()Customer-defined unique identifier for the request.StringgetOpcRetryToken()A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.RestartDbSystemDetailsgetRestartDbSystemDetails()Optional parameters for the stop portion of the restart action.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.RestartDbSystemRequest.BuildertoBuilder()Return an instance ofRestartDbSystemRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getRestartDbSystemDetailspublic RestartDbSystemDetails getRestartDbSystemDetails() Optional parameters for the stop portion of the restart action.
 - 
getIfMatchpublic String getIfMatch() For optimistic concurrency control.In the PUT or DELETE call for a resource, set the If-Match header to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value. 
 - 
getOpcRequestIdpublic String getOpcRequestId() Customer-defined unique identifier for the request.If you need to contact Oracle about a specific request, please provide the request ID that you supplied in this header with the request. 
 - 
getOpcRetryTokenpublic String getOpcRetryToken() A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected). 
 - 
getBody$public RestartDbSystemDetails getBody$() Alternative accessor for the body parameter.- Overrides:
- getBody$in class- BmcRequest<RestartDbSystemDetails>
- Returns:
- body parameter
 
 - 
toBuilderpublic RestartDbSystemRequest.Builder toBuilder() Return an instance ofRestartDbSystemRequest.Builderthat allows you to modify request properties.- Returns:
- instance of RestartDbSystemRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static RestartDbSystemRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<RestartDbSystemDetails>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<RestartDbSystemDetails>
 
 
- 
 
-