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