@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public class UpdatePolicyRequest extends BmcRequest<UpdatePolicyDetails>
Example: Click here to see how to use UpdatePolicyRequest.
Modifier and Type | Class and Description |
---|---|
static class |
UpdatePolicyRequest.Builder |
Constructor and Description |
---|
UpdatePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
static UpdatePolicyRequest.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’.
|
UpdatePolicyDetails |
getBody$()
Alternative accessor for the body parameter.
|
String |
getIfMatch()
For optimistic concurrency control.
|
String |
getPolicyId()
The OCID of the policy.
|
UpdatePolicyDetails |
getUpdatePolicyDetails()
Request object for updating a policy.
|
int |
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
|
UpdatePolicyRequest.Builder |
toBuilder()
Return an instance of
UpdatePolicyRequest.Builder that allows you to modify request properties. |
String |
toString() |
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
public String getPolicyId()
The OCID of the policy.
public UpdatePolicyDetails getUpdatePolicyDetails()
Request object for updating a policy.
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 UpdatePolicyDetails getBody$()
Alternative accessor for the body parameter.
getBody$
in class BmcRequest<UpdatePolicyDetails>
public UpdatePolicyRequest.Builder toBuilder()
Return an instance of UpdatePolicyRequest.Builder
that allows you to modify request properties.
UpdatePolicyRequest.Builder
that allows you to modify request properties.public static UpdatePolicyRequest.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<UpdatePolicyDetails>
public int hashCode()
BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.
hashCode
in class BmcRequest<UpdatePolicyDetails>
Copyright © 2016–2024. All rights reserved.