Package com.oracle.bmc.recovery.requests
Class GetProtectionPolicyRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<Void>
- 
- com.oracle.bmc.recovery.requests.GetProtectionPolicyRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20210216") public class GetProtectionPolicyRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/recovery/GetProtectionPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetProtectionPolicyRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGetProtectionPolicyRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description GetProtectionPolicyRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetProtectionPolicyRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetOpcRequestId()Unique identifier for the request.StringgetProtectionPolicyId()The protection policy OCID.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetProtectionPolicyRequest.BuildertoBuilder()Return an instance ofGetProtectionPolicyRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getProtectionPolicyIdpublic String getProtectionPolicyId() The protection policy OCID.
 - 
getOpcRequestIdpublic String getOpcRequestId() Unique identifier for the request.
 - 
toBuilderpublic GetProtectionPolicyRequest.Builder toBuilder() Return an instance ofGetProtectionPolicyRequest.Builderthat allows you to modify request properties.- Returns:
- instance of GetProtectionPolicyRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static GetProtectionPolicyRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<Void>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<Void>
 
 
- 
 
-