@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class UpdateCompartmentRequest extends BmcRequest<UpdateCompartmentDetails>
Example: Click here to see how to use UpdateCompartmentRequest.
Modifier and Type | Class and Description |
---|---|
static class |
UpdateCompartmentRequest.Builder |
Constructor and Description |
---|
UpdateCompartmentRequest() |
Modifier and Type | Method and Description |
---|---|
static UpdateCompartmentRequest.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’.
|
UpdateCompartmentDetails |
getBody$()
Alternative accessor for the body parameter.
|
String |
getCompartmentId()
The OCID of the compartment.
|
String |
getIfMatch()
For optimistic concurrency control.
|
UpdateCompartmentDetails |
getUpdateCompartmentDetails()
Request object for updating a compartment.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
UpdateCompartmentRequest.Builder |
toBuilder()
Return an instance of
UpdateCompartmentRequest.Builder that allows you to modify request properties. |
String |
toString() |
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getCompartmentId()
The OCID of the compartment.
public UpdateCompartmentDetails getUpdateCompartmentDetails()
Request object for updating a compartment.
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 will be updated or deleted only if the etag you provide matches the
resource’s current etag value.
public UpdateCompartmentDetails getBody$()
Alternative accessor for the body parameter.
getBody$
in class BmcRequest<UpdateCompartmentDetails>
public UpdateCompartmentRequest.Builder toBuilder()
Return an instance of UpdateCompartmentRequest.Builder
that allows you to modify request properties.
UpdateCompartmentRequest.Builder
that allows you to modify request properties.public static UpdateCompartmentRequest.Builder builder()
Return a new builder for this request object.
public boolean equals(Object o)
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.
equals
in class BmcRequest<UpdateCompartmentDetails>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<UpdateCompartmentDetails>
Copyright © 2016–2024. All rights reserved.