Class ChangeAnnouncementSubscriptionCompartmentRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.announcementsservice.requests.ChangeAnnouncementSubscriptionCompartmentRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ChangeAnnouncementSubscriptionCompartmentRequest,ChangeAnnouncementSubscriptionCompartmentDetails>
 - Enclosing class:
- ChangeAnnouncementSubscriptionCompartmentRequest
 
 public static class ChangeAnnouncementSubscriptionCompartmentRequest.Builder extends Object implements BmcRequest.Builder<ChangeAnnouncementSubscriptionCompartmentRequest,ChangeAnnouncementSubscriptionCompartmentDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method Summary
 
- 
- 
- 
Method Detail- 
announcementSubscriptionIdpublic ChangeAnnouncementSubscriptionCompartmentRequest.Builder announcementSubscriptionId(String announcementSubscriptionId) The OCID of the announcement subscription.- Parameters:
- announcementSubscriptionId- the value to set
- Returns:
- this builder instance
 
 - 
changeAnnouncementSubscriptionCompartmentDetailspublic ChangeAnnouncementSubscriptionCompartmentRequest.Builder changeAnnouncementSubscriptionCompartmentDetails(ChangeAnnouncementSubscriptionCompartmentDetails changeAnnouncementSubscriptionCompartmentDetails) The compartment information to update.- Parameters:
- changeAnnouncementSubscriptionCompartmentDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic ChangeAnnouncementSubscriptionCompartmentRequest.Builder ifMatch(String ifMatch) The locking version, used for optimistic concurrency control.- Parameters:
- ifMatch- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ChangeAnnouncementSubscriptionCompartmentRequest.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
 
 - 
invocationCallbackpublic ChangeAnnouncementSubscriptionCompartmentRequest.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
 
 - 
retryConfigurationpublic ChangeAnnouncementSubscriptionCompartmentRequest.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
 
 - 
copypublic ChangeAnnouncementSubscriptionCompartmentRequest.Builder copy(ChangeAnnouncementSubscriptionCompartmentRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ChangeAnnouncementSubscriptionCompartmentRequest,ChangeAnnouncementSubscriptionCompartmentDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ChangeAnnouncementSubscriptionCompartmentRequest build() Build the instance of ChangeAnnouncementSubscriptionCompartmentRequest 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 interface- BmcRequest.Builder<ChangeAnnouncementSubscriptionCompartmentRequest,ChangeAnnouncementSubscriptionCompartmentDetails>
- Returns:
- instance of ChangeAnnouncementSubscriptionCompartmentRequest
 
 - 
body$public ChangeAnnouncementSubscriptionCompartmentRequest.Builder body$(ChangeAnnouncementSubscriptionCompartmentDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<ChangeAnnouncementSubscriptionCompartmentRequest,ChangeAnnouncementSubscriptionCompartmentDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic ChangeAnnouncementSubscriptionCompartmentRequest buildWithoutInvocationCallback() Build the instance of ChangeAnnouncementSubscriptionCompartmentRequest 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 ChangeAnnouncementSubscriptionCompartmentRequest
 
 
- 
 
-