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/latest/identitydomains/DeletePolicyExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeletePolicyRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDeletePolicyRequest.Builder
-
Constructor Summary
Constructors Constructor Description DeletePolicyRequest()
-
Method Summary
All 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.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getPolicyId
public String getPolicyId()
ID of the resource
-
getAuthorization
public 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.
-
getResourceTypeSchemaVersion
public 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.
-
getForceDelete
public Boolean getForceDelete()
To force delete the resource and all its references (if any).
-
getIfMatch
public String getIfMatch()
Used to make the request conditional on an ETag
-
getOpcRetryToken
public 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.
-
toBuilder
public 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.
-
builder
public static DeletePolicyRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-