public static class ChangeStreamPoolCompartmentRequest.Builder extends Object implements BmcRequest.Builder<ChangeStreamPoolCompartmentRequest,ChangeStreamPoolCompartmentDetails>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
ChangeStreamPoolCompartmentRequest.Builder |
body$(ChangeStreamPoolCompartmentDetails body)
Alternative setter for the body parameter.
|
ChangeStreamPoolCompartmentRequest |
build()
Build the instance of ChangeStreamPoolCompartmentRequest as configured by this builder
|
ChangeStreamPoolCompartmentRequest |
buildWithoutInvocationCallback()
Build the instance of ChangeStreamPoolCompartmentRequest as configured by this builder
|
ChangeStreamPoolCompartmentRequest.Builder |
changeStreamPoolCompartmentDetails(ChangeStreamPoolCompartmentDetails changeStreamPoolCompartmentDetails)
The stream pool will be moved into the compartment specified within this entity.
|
ChangeStreamPoolCompartmentRequest.Builder |
copy(ChangeStreamPoolCompartmentRequest o)
Copy method to populate the builder with values from the given instance.
|
ChangeStreamPoolCompartmentRequest.Builder |
ifMatch(String ifMatch)
For optimistic concurrency control.
|
ChangeStreamPoolCompartmentRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ChangeStreamPoolCompartmentRequest.Builder |
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.
|
ChangeStreamPoolCompartmentRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ChangeStreamPoolCompartmentRequest.Builder |
streamPoolId(String streamPoolId)
The OCID of the stream pool.
|
public ChangeStreamPoolCompartmentRequest.Builder streamPoolId(String streamPoolId)
The OCID of the stream pool.
streamPoolId - the value to setpublic ChangeStreamPoolCompartmentRequest.Builder changeStreamPoolCompartmentDetails(ChangeStreamPoolCompartmentDetails changeStreamPoolCompartmentDetails)
The stream pool will be moved into the compartment specified within this entity.
changeStreamPoolCompartmentDetails - the value to setpublic ChangeStreamPoolCompartmentRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource’s current etag value.
ifMatch - the value to setpublic ChangeStreamPoolCompartmentRequest.Builder opcRequestId(String opcRequestId)
The 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 ChangeStreamPoolCompartmentRequest.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 ChangeStreamPoolCompartmentRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration - the retry configuration to be used for the requestpublic ChangeStreamPoolCompartmentRequest.Builder copy(ChangeStreamPoolCompartmentRequest o)
Copy method to populate the builder with values from the given instance.
copy in interface BmcRequest.Builder<ChangeStreamPoolCompartmentRequest,ChangeStreamPoolCompartmentDetails>public ChangeStreamPoolCompartmentRequest build()
Build the instance of ChangeStreamPoolCompartmentRequest 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<ChangeStreamPoolCompartmentRequest,ChangeStreamPoolCompartmentDetails>public ChangeStreamPoolCompartmentRequest.Builder body$(ChangeStreamPoolCompartmentDetails body)
Alternative setter for the body parameter.
body$ in interface BmcRequest.Builder<ChangeStreamPoolCompartmentRequest,ChangeStreamPoolCompartmentDetails>body - the body parameterpublic ChangeStreamPoolCompartmentRequest buildWithoutInvocationCallback()
Build the instance of ChangeStreamPoolCompartmentRequest 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–2022. All rights reserved.