Class DeletePolicyRequest
- java.lang.Object
- 
- com.oracle.bmc.requests.BmcRequest<Void>
- 
- com.oracle.bmc.identitydomains.requests.DeletePolicyRequest
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: v1") public class DeletePolicyRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/identitydomains/DeletePolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeletePolicyRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classDeletePolicyRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description DeletePolicyRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeletePolicyRequest.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’.StringgetAuthorization()The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.BooleangetForceDelete()To force delete the resource and all its references (if any).StringgetIfMatch()Used to make the request conditional on an ETagStringgetOpcRetryToken()A token you supply to uniquely identify the request and provide idempotency if the request is retried.StringgetPolicyId()ID of the resourceStringgetResourceTypeSchemaVersion()An endpoint-specific schema version number to use in the Request.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.DeletePolicyRequest.BuildertoBuilder()Return an instance ofDeletePolicyRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getPolicyIdpublic String getPolicyId() ID of the resource
 - 
getAuthorizationpublic String getAuthorization() The Authorization field value consists of credentials containing the authentication information of the user agent for the realm of the resource being requested.
 - 
getResourceTypeSchemaVersionpublic String getResourceTypeSchemaVersion() An endpoint-specific schema version number to use in the Request.Allowed version values are Earliest Version or Latest Version as specified in each REST API endpoint description, or any sequential number inbetween. All schema attributes/body parameters are a part of version 1. After version 1, any attributes added or deprecated will be tagged with the version that they were added to or deprecated in. If no version is provided, the latest schema version is returned. 
 - 
getForceDeletepublic Boolean getForceDelete() To force delete the resource and all its references (if any).
 - 
getIfMatchpublic String getIfMatch() Used to make the request conditional on an ETag
 - 
getOpcRetryTokenpublic String getOpcRetryToken() A token you supply to uniquely identify the request and provide idempotency if the request is retried.Idempotency tokens expire after 24 hours. 
 - 
toBuilderpublic DeletePolicyRequest.Builder toBuilder() Return an instance ofDeletePolicyRequest.Builderthat allows you to modify request properties.- Returns:
- instance of DeletePolicyRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static DeletePolicyRequest.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>
 
 
- 
 
-