Class CreateFilterGroupRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.announcementsservice.requests.CreateFilterGroupRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<CreateFilterGroupRequest,CreateFilterGroupDetails>
- Enclosing class:
- CreateFilterGroupRequest
public static class CreateFilterGroupRequest.Builder extends Object implements BmcRequest.Builder<CreateFilterGroupRequest,CreateFilterGroupDetails>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateFilterGroupRequest.Builder
announcementSubscriptionId(String announcementSubscriptionId)
The OCID of the announcement subscription.CreateFilterGroupRequest.Builder
body$(CreateFilterGroupDetails body)
Alternative setter for the body parameter.CreateFilterGroupRequest
build()
Build the instance of CreateFilterGroupRequest as configured by this builderCreateFilterGroupRequest
buildWithoutInvocationCallback()
Build the instance of CreateFilterGroupRequest as configured by this builderCreateFilterGroupRequest.Builder
copy(CreateFilterGroupRequest o)
Copy method to populate the builder with values from the given instance.CreateFilterGroupRequest.Builder
createFilterGroupDetails(CreateFilterGroupDetails createFilterGroupDetails)
Details of the new filter group.CreateFilterGroupRequest.Builder
ifMatch(String ifMatch)
The locking version, used for optimistic concurrency control.CreateFilterGroupRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.CreateFilterGroupRequest.Builder
opcRequestId(String opcRequestId)
The unique Oracle-assigned identifier for the request.CreateFilterGroupRequest.Builder
opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.CreateFilterGroupRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
-
-
-
Method Detail
-
announcementSubscriptionId
public CreateFilterGroupRequest.Builder announcementSubscriptionId(String announcementSubscriptionId)
The OCID of the announcement subscription.- Parameters:
announcementSubscriptionId
- the value to set- Returns:
- this builder instance
-
createFilterGroupDetails
public CreateFilterGroupRequest.Builder createFilterGroupDetails(CreateFilterGroupDetails createFilterGroupDetails)
Details of the new filter group.- Parameters:
createFilterGroupDetails
- the value to set- Returns:
- this builder instance
-
opcRetryToken
public CreateFilterGroupRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without risk of executing that same action again.Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
- Parameters:
opcRetryToken
- the value to set- Returns:
- this builder instance
-
opcRequestId
public CreateFilterGroupRequest.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 CreateFilterGroupRequest.Builder ifMatch(String ifMatch)
The locking version, used for optimistic concurrency control.- Parameters:
ifMatch
- the value to set- Returns:
- this builder instance
-
invocationCallback
public CreateFilterGroupRequest.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 CreateFilterGroupRequest.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 CreateFilterGroupRequest.Builder copy(CreateFilterGroupRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<CreateFilterGroupRequest,CreateFilterGroupDetails>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public CreateFilterGroupRequest build()
Build the instance of CreateFilterGroupRequest 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<CreateFilterGroupRequest,CreateFilterGroupDetails>
- Returns:
- instance of CreateFilterGroupRequest
-
body$
public CreateFilterGroupRequest.Builder body$(CreateFilterGroupDetails body)
Alternative setter for the body parameter.- Specified by:
body$
in interfaceBmcRequest.Builder<CreateFilterGroupRequest,CreateFilterGroupDetails>
- Parameters:
body
- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public CreateFilterGroupRequest buildWithoutInvocationCallback()
Build the instance of CreateFilterGroupRequest 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 CreateFilterGroupRequest
-
-