Class DeleteGrantRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.identitydomains.requests.DeleteGrantRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: v1") public class DeleteGrantRequest extends BmcRequest<Void>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/identitydomains/DeleteGrantExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteGrantRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DeleteGrantRequest.Builder
-
Constructor Summary
Constructors Constructor Description DeleteGrantRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DeleteGrantRequest.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’.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.Boolean
getForceDelete()
To force delete the resource and all its references (if any).String
getGrantId()
ID of the resourceString
getIfMatch()
Used to make the request conditional on an ETagString
getOpcRetryToken()
A token you supply to uniquely identify the request and provide idempotency if the request is retried.String
getResourceTypeSchemaVersion()
An endpoint-specific schema version number to use in the Request.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.DeleteGrantRequest.Builder
toBuilder()
Return an instance ofDeleteGrantRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getGrantId
public String getGrantId()
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 DeleteGrantRequest.Builder toBuilder()
Return an instance ofDeleteGrantRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
DeleteGrantRequest.Builder
that allows you to modify request properties.
-
builder
public static DeleteGrantRequest.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:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equals
in classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<Void>
-
-