Class UpdateFilterGroupRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.announcementsservice.requests.UpdateFilterGroupRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<UpdateFilterGroupRequest,UpdateFilterGroupDetails>
- Enclosing class:
- UpdateFilterGroupRequest
public static class UpdateFilterGroupRequest.Builder extends Object implements BmcRequest.Builder<UpdateFilterGroupRequest,UpdateFilterGroupDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateFilterGroupRequest.Builder
announcementSubscriptionId(String announcementSubscriptionId)
The OCID of the announcement subscription.UpdateFilterGroupRequest.Builder
body$(UpdateFilterGroupDetails body)
Alternative setter for the body parameter.UpdateFilterGroupRequest
build()
Build the instance of UpdateFilterGroupRequest as configured by this builderUpdateFilterGroupRequest
buildWithoutInvocationCallback()
Build the instance of UpdateFilterGroupRequest as configured by this builderUpdateFilterGroupRequest.Builder
copy(UpdateFilterGroupRequest o)
Copy method to populate the builder with values from the given instance.UpdateFilterGroupRequest.Builder
filterGroupName(String filterGroupName)
The name of the filter group.UpdateFilterGroupRequest.Builder
ifMatch(String ifMatch)
The locking version, used for optimistic concurrency control.UpdateFilterGroupRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.UpdateFilterGroupRequest.Builder
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.UpdateFilterGroupRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.UpdateFilterGroupRequest.Builder
updateFilterGroupDetails(UpdateFilterGroupDetails updateFilterGroupDetails)
The filter group information to update.
-
-
-
Method Detail
-
announcementSubscriptionId
public UpdateFilterGroupRequest.Builder announcementSubscriptionId(String announcementSubscriptionId)
The OCID of the announcement subscription.- Parameters:
announcementSubscriptionId
- the value to set- Returns:
- this builder instance
-
filterGroupName
public UpdateFilterGroupRequest.Builder filterGroupName(String filterGroupName)
The name of the filter group.- Parameters:
filterGroupName
- the value to set- Returns:
- this builder instance
-
updateFilterGroupDetails
public UpdateFilterGroupRequest.Builder updateFilterGroupDetails(UpdateFilterGroupDetails updateFilterGroupDetails)
The filter group information to update.- Parameters:
updateFilterGroupDetails
- the value to set- Returns:
- this builder instance
-
opcRequestId
public UpdateFilterGroupRequest.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 complete request ID.
- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
ifMatch
public UpdateFilterGroupRequest.Builder ifMatch(String ifMatch)
The locking version, used for optimistic concurrency control.- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
invocationCallback
public UpdateFilterGroupRequest.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 UpdateFilterGroupRequest.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 UpdateFilterGroupRequest.Builder copy(UpdateFilterGroupRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<UpdateFilterGroupRequest,UpdateFilterGroupDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public UpdateFilterGroupRequest build()
Build the instance of UpdateFilterGroupRequest 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<UpdateFilterGroupRequest,UpdateFilterGroupDetails>
- Returns:
- instance of UpdateFilterGroupRequest
-
body$
public UpdateFilterGroupRequest.Builder body$(UpdateFilterGroupDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<UpdateFilterGroupRequest,UpdateFilterGroupDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public UpdateFilterGroupRequest buildWithoutInvocationCallback()
Build the instance of UpdateFilterGroupRequest 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 UpdateFilterGroupRequest
-
-