Package com.oracle.bmc.email.requests
Class UpdateSenderRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<UpdateSenderDetails>
-
- com.oracle.bmc.email.requests.UpdateSenderRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20170907") public class UpdateSenderRequest extends BmcRequest<UpdateSenderDetails>
Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.63.0/email/UpdateSenderExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateSenderRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateSenderRequest.Builder
-
Constructor Summary
Constructors Constructor Description UpdateSenderRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static UpdateSenderRequest.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’.UpdateSenderDetails
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.UpdateSenderDetails
getUpdateSenderDetails()
update details for sender.int
hashCode()
Uses getInvocationCallback and getRetryConfiguration to generate a hash.UpdateSenderRequest.Builder
toBuilder()
Return an instance ofUpdateSenderRequest.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.
-
getUpdateSenderDetails
public UpdateSenderDetails getUpdateSenderDetails()
update details for sender.
-
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.
-
getOpcRequestId
public String getOpcRequestId()
The request ID for tracing from the system
-
getBody$
public UpdateSenderDetails getBody$()
Alternative accessor for the body parameter.- Overrides:
getBody$
in classBmcRequest<UpdateSenderDetails>
- Returns:
- body parameter
-
toBuilder
public UpdateSenderRequest.Builder toBuilder()
Return an instance ofUpdateSenderRequest.Builder
that allows you to modify request properties.- Returns:
- instance of
UpdateSenderRequest.Builder
that allows you to modify request properties.
-
builder
public static UpdateSenderRequest.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<UpdateSenderDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequest
Uses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCode
in classBmcRequest<UpdateSenderDetails>
-
-