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/3.75.0/email/ChangeSenderCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeSenderCompartmentRequest. 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classChangeSenderCompartmentRequest.Builder
 - 
Constructor SummaryConstructors Constructor Description ChangeSenderCompartmentRequest()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChangeSenderCompartmentRequest.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’.ChangeSenderCompartmentDetailsgetBody$()Alternative accessor for the body parameter.ChangeSenderCompartmentDetailsgetChangeSenderCompartmentDetails()Details for moving a sender into a different compartment.StringgetIfMatch()Used for optimistic concurrency control.BooleangetIsLockOverride()Whether to override locks (if any exist).StringgetOpcRequestId()The request ID for tracing from the systemStringgetSenderId()The unique OCID of the sender.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ChangeSenderCompartmentRequest.BuildertoBuilder()Return an instance ofChangeSenderCompartmentRequest.Builderthat allows you to modify request properties.StringtoString()- 
Methods inherited from class com.oracle.bmc.requests.BmcRequestgetInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
 
- 
 
- 
- 
- 
Method Detail- 
getSenderIdpublic String getSenderId() The unique OCID of the sender.
 - 
getChangeSenderCompartmentDetailspublic ChangeSenderCompartmentDetails getChangeSenderCompartmentDetails() Details for moving a sender into a different compartment.
 - 
getIfMatchpublic 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. 
 - 
getOpcRequestIdpublic String getOpcRequestId() The request ID for tracing from the system
 - 
getIsLockOverridepublic Boolean getIsLockOverride() Whether to override locks (if any exist).
 - 
getBody$public ChangeSenderCompartmentDetails getBody$() Alternative accessor for the body parameter.- Overrides:
- getBody$in class- BmcRequest<ChangeSenderCompartmentDetails>
- Returns:
- body parameter
 
 - 
toBuilderpublic ChangeSenderCompartmentRequest.Builder toBuilder() Return an instance ofChangeSenderCompartmentRequest.Builderthat allows you to modify request properties.- Returns:
- instance of ChangeSenderCompartmentRequest.Builderthat allows you to modify request properties.
 
 - 
builderpublic static ChangeSenderCompartmentRequest.Builder builder() Return a new builder for this request object.- Returns:
- builder for the request object
 
 - 
equalspublic boolean equals(Object o) Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
- equalsin class- BmcRequest<ChangeSenderCompartmentDetails>
 
 - 
hashCodepublic int hashCode() Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
- hashCodein class- BmcRequest<ChangeSenderCompartmentDetails>
 
 
- 
 
-