public static class DeleteMessagesRequest.Builder extends Object implements BmcRequest.Builder<DeleteMessagesRequest,DeleteMessagesDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DeleteMessagesRequest.Builder |
body$(DeleteMessagesDetails body)
Alternative setter for the body parameter.
|
DeleteMessagesRequest |
build()
Build the instance of DeleteMessagesRequest as configured by this builder
|
DeleteMessagesRequest |
buildWithoutInvocationCallback()
Build the instance of DeleteMessagesRequest as configured by this builder
|
DeleteMessagesRequest.Builder |
copy(DeleteMessagesRequest o)
Copy method to populate the builder with values from the given instance.
|
DeleteMessagesRequest.Builder |
deleteMessagesDetails(DeleteMessagesDetails deleteMessagesDetails)
Details for the messages to delete.
|
DeleteMessagesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
DeleteMessagesRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
DeleteMessagesRequest.Builder |
queueId(String queueId)
The unique queue identifier.
|
DeleteMessagesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
public DeleteMessagesRequest.Builder queueId(String queueId)
The unique queue identifier.
queueId
- the value to setpublic DeleteMessagesRequest.Builder deleteMessagesDetails(DeleteMessagesDetails deleteMessagesDetails)
Details for the messages to delete.
deleteMessagesDetails
- the value to setpublic DeleteMessagesRequest.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.
opcRequestId
- the value to setpublic DeleteMessagesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic DeleteMessagesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic DeleteMessagesRequest.Builder copy(DeleteMessagesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<DeleteMessagesRequest,DeleteMessagesDetails>
o
- other request from which to copy valuespublic DeleteMessagesRequest build()
Build the instance of DeleteMessagesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<DeleteMessagesRequest,DeleteMessagesDetails>
public DeleteMessagesRequest.Builder body$(DeleteMessagesDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<DeleteMessagesRequest,DeleteMessagesDetails>
body
- the body parameterpublic DeleteMessagesRequest buildWithoutInvocationCallback()
Build the instance of DeleteMessagesRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.