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