Package com.oracle.bmc.email.requests
Class AddSenderLockRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<AddLockDetails>
-
- com.oracle.bmc.email.requests.AddSenderLockRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public class AddSenderLockRequest extends BmcRequest<AddLockDetails>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.73.0/email/AddSenderLockExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use AddSenderLockRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AddSenderLockRequest.Builder
-
Constructor Summary
Constructors Constructor Description AddSenderLockRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AddSenderLockRequest.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’.AddLockDetails
getAddLockDetails()
Details for adding a lock to a resource.AddLockDetails
getBody$()
Alternative accessor for the body parameter.String
getIfMatch()
Used for optimistic concurrency control.String
getOpcRequestId()
The request ID for tracing from the systemString
getSenderId()
The unique OCID of the sender.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.AddSenderLockRequest.Builder
toBuilder()
Return an instance ofAddSenderLockRequest.Builder
that allows you to modify request properties.String
toString()
-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getSenderId
public String getSenderId()
The unique OCID of the sender.
-
getAddLockDetails
public AddLockDetails getAddLockDetails()
Details for adding a lock to a resource.
-
getOpcRequestId
public String getOpcRequestId()
The request ID for tracing from the system
-
getIfMatch
public String getIfMatch()
Used for optimistic concurrency control.In the update or delete call for a resource, set the if-match parameter to the value of the etag from a previous get, create, or update response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
-
getBody$
public AddLockDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<AddLockDetails>
- Returns:
- body parameter
-
toBuilder
public AddSenderLockRequest.Builder toBuilder()
Return an instance ofAddSenderLockRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
AddSenderLockRequest.Builder
that allows you to modify request properties.
-
builder
public static AddSenderLockRequest.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<AddLockDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<AddLockDetails>
-
-