Package com.oracle.bmc.datasafe.requests
Class GetSecurityPolicyRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<Void>
- 
- com.oracle.bmc.datasafe.requests.GetSecurityPolicyRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public class GetSecurityPolicyRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/datasafe/GetSecurityPolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetSecurityPolicyRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classGetSecurityPolicyRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description GetSecurityPolicyRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetSecurityPolicyRequest.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.StringgetSecurityPolicyId()The OCID of the security policy resource.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.GetSecurityPolicyRequest.BuildertoBuilder()Return an instance ofGetSecurityPolicyRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getSecurityPolicyIdpublic String getSecurityPolicyId() The OCID of the security policy resource.
 - 
getOpcRequestIdpublic String getOpcRequestId() Unique identifier for the request.
 - 
toBuilderpublic GetSecurityPolicyRequest.Builder toBuilder() Return an instance ofGetSecurityPolicyRequest.Builderthat allows you to modify request properties.- Returns:
- instance of GetSecurityPolicyRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static GetSecurityPolicyRequest.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>
 
 
- 
 
-