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