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 classChangeSenderCompartmentRequest.Builder
-
Constructor Summary
Constructors Constructor Description ChangeSenderCompartmentRequest()
-
Method Summary
All 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.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
-
getIsLockOverride
public Boolean getIsLockOverride()
Whether to override locks (if any exist).
-
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.Builderthat allows you to modify request properties.- Returns:
- instance of
ChangeSenderCompartmentRequest.Builderthat 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:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<ChangeSenderCompartmentDetails>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<ChangeSenderCompartmentDetails>
-
-