@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 |
Modifier and Type | Method and Description |
---|---|
static UpdatePolicyRequest.Builder |
builder() |
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.
|
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration
public UpdatePolicyDetails getBody$()
Alternative accessor for the body parameter.
getBody$
in class BmcRequest<UpdatePolicyDetails>
public static UpdatePolicyRequest.Builder builder()
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.
Copyright © 2016–2021. All rights reserved.