Package com.oracle.bmc.aivision.requests
Class UpdateStreamGroupRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.aivision.requests.UpdateStreamGroupRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateStreamGroupRequest,UpdateStreamGroupDetails>
- Enclosing class:
- UpdateStreamGroupRequest
public static class UpdateStreamGroupRequest.Builder extends Object implements BmcRequest.Builder<UpdateStreamGroupRequest,UpdateStreamGroupDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateStreamGroupRequest.Builderbody$(UpdateStreamGroupDetails body)Alternative setter for the body parameter.UpdateStreamGroupRequestbuild()Build the instance of UpdateStreamGroupRequest as configured by this builderUpdateStreamGroupRequestbuildWithoutInvocationCallback()Build the instance of UpdateStreamGroupRequest as configured by this builderUpdateStreamGroupRequest.Buildercopy(UpdateStreamGroupRequest o)Copy method to populate the builder with values from the given instance.UpdateStreamGroupRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateStreamGroupRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateStreamGroupRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.UpdateStreamGroupRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateStreamGroupRequest.BuilderstreamGroupId(String streamGroupId)StreamGroup Id.UpdateStreamGroupRequest.BuilderupdateStreamGroupDetails(UpdateStreamGroupDetails updateStreamGroupDetails)Details about the streamGroup
-
-
-
Method Detail
-
streamGroupId
public UpdateStreamGroupRequest.Builder streamGroupId(String streamGroupId)
StreamGroup Id.- Parameters:
streamGroupId- the value to set- Returns:
- this builder instance
-
updateStreamGroupDetails
public UpdateStreamGroupRequest.Builder updateStreamGroupDetails(UpdateStreamGroupDetails updateStreamGroupDetails)
Details about the streamGroup- Parameters:
updateStreamGroupDetails- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateStreamGroupRequest.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.
- Parameters:
ifMatch- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateStreamGroupRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateStreamGroupRequest.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 UpdateStreamGroupRequest.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 UpdateStreamGroupRequest.Builder copy(UpdateStreamGroupRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<UpdateStreamGroupRequest,UpdateStreamGroupDetails>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateStreamGroupRequest build()
Build the instance of UpdateStreamGroupRequest 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:
buildin interfaceBmcRequest.Builder<UpdateStreamGroupRequest,UpdateStreamGroupDetails>- Returns:
- instance of UpdateStreamGroupRequest
-
body$
public UpdateStreamGroupRequest.Builder body$(UpdateStreamGroupDetails body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<UpdateStreamGroupRequest,UpdateStreamGroupDetails>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateStreamGroupRequest buildWithoutInvocationCallback()
Build the instance of UpdateStreamGroupRequest 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 UpdateStreamGroupRequest
-
-