Package com.oracle.bmc.queue.requests
Class UpdateMessageRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.queue.requests.UpdateMessageRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateMessageRequest,UpdateMessageDetails>
- Enclosing class:
- UpdateMessageRequest
public static class UpdateMessageRequest.Builder extends Object implements BmcRequest.Builder<UpdateMessageRequest,UpdateMessageDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateMessageRequest.Builder
body$(UpdateMessageDetails body)
Alternative setter for the body parameter.UpdateMessageRequest
build()
Build the instance of UpdateMessageRequest as configured by this builderUpdateMessageRequest
buildWithoutInvocationCallback()
Build the instance of UpdateMessageRequest as configured by this builderUpdateMessageRequest.Builder
copy(UpdateMessageRequest o)
Copy method to populate the builder with values from the given instance.UpdateMessageRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateMessageRequest.Builder
messageReceipt(String messageReceipt)
The receipt of the message retrieved from a GetMessages call.UpdateMessageRequest.Builder
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.UpdateMessageRequest.Builder
queueId(String queueId)
The unique queue identifier.UpdateMessageRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateMessageRequest.Builder
updateMessageDetails(UpdateMessageDetails updateMessageDetails)
Details for the message to update.
-
-
-
Method Detail
-
queueId
public UpdateMessageRequest.Builder queueId(String queueId)
The unique queue identifier.- Parameters:
queueId
- the value to set- Returns:
- this builder instance
-
messageReceipt
public UpdateMessageRequest.Builder messageReceipt(String messageReceipt)
The receipt of the message retrieved from a GetMessages call.- Parameters:
messageReceipt
- the value to set- Returns:
- this builder instance
-
updateMessageDetails
public UpdateMessageRequest.Builder updateMessageDetails(UpdateMessageDetails updateMessageDetails)
Details for the message to update.- Parameters:
updateMessageDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateMessageRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateMessageRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public UpdateMessageRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public UpdateMessageRequest.Builder copy(UpdateMessageRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateMessageRequest,UpdateMessageDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateMessageRequest build()
Build the instance of UpdateMessageRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<UpdateMessageRequest,UpdateMessageDetails>
- Returns:
- instance of UpdateMessageRequest
-
body$
public UpdateMessageRequest.Builder body$(UpdateMessageDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateMessageRequest,UpdateMessageDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateMessageRequest buildWithoutInvocationCallback()
Build the instance of UpdateMessageRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of UpdateMessageRequest
-
-