Class UpdateTenancyAttachmentRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.resourceanalytics.requests.UpdateTenancyAttachmentRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateTenancyAttachmentRequest,UpdateTenancyAttachmentDetails>
 - Enclosing class:
- UpdateTenancyAttachmentRequest
 
 public static class UpdateTenancyAttachmentRequest.Builder extends Object implements BmcRequest.Builder<UpdateTenancyAttachmentRequest,UpdateTenancyAttachmentDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateTenancyAttachmentRequest.Builderbody$(UpdateTenancyAttachmentDetails body)Alternative setter for the body parameter.UpdateTenancyAttachmentRequestbuild()Build the instance of UpdateTenancyAttachmentRequest as configured by this builderUpdateTenancyAttachmentRequestbuildWithoutInvocationCallback()Build the instance of UpdateTenancyAttachmentRequest as configured by this builderUpdateTenancyAttachmentRequest.Buildercopy(UpdateTenancyAttachmentRequest o)Copy method to populate the builder with values from the given instance.UpdateTenancyAttachmentRequest.BuilderifMatch(String ifMatch)For optimistic concurrency control.UpdateTenancyAttachmentRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateTenancyAttachmentRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateTenancyAttachmentRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateTenancyAttachmentRequest.BuildertenancyAttachmentId(String tenancyAttachmentId)The OCID of the TenancyAttachment.UpdateTenancyAttachmentRequest.BuilderupdateTenancyAttachmentDetails(UpdateTenancyAttachmentDetails updateTenancyAttachmentDetails)The information to be updated.
 
- 
- 
- 
Method Detail- 
tenancyAttachmentIdpublic UpdateTenancyAttachmentRequest.Builder tenancyAttachmentId(String tenancyAttachmentId) The OCID of the TenancyAttachment.- Parameters:
- tenancyAttachmentId- the value to set
- Returns:
- this builder instance
 
 - 
updateTenancyAttachmentDetailspublic UpdateTenancyAttachmentRequest.Builder updateTenancyAttachmentDetails(UpdateTenancyAttachmentDetails updateTenancyAttachmentDetails) The information to be updated.- Parameters:
- updateTenancyAttachmentDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateTenancyAttachmentRequest.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
 
 - 
opcRequestIdpublic UpdateTenancyAttachmentRequest.Builder opcRequestId(String opcRequestId) Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, please provide the request ID. The only valid characters for request IDs are letters, numbers, underscore, and dash. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateTenancyAttachmentRequest.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 UpdateTenancyAttachmentRequest.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 UpdateTenancyAttachmentRequest.Builder copy(UpdateTenancyAttachmentRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateTenancyAttachmentRequest,UpdateTenancyAttachmentDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateTenancyAttachmentRequest build() Build the instance of UpdateTenancyAttachmentRequest 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<UpdateTenancyAttachmentRequest,UpdateTenancyAttachmentDetails>
- Returns:
- instance of UpdateTenancyAttachmentRequest
 
 - 
body$public UpdateTenancyAttachmentRequest.Builder body$(UpdateTenancyAttachmentDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateTenancyAttachmentRequest,UpdateTenancyAttachmentDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateTenancyAttachmentRequest buildWithoutInvocationCallback() Build the instance of UpdateTenancyAttachmentRequest 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 UpdateTenancyAttachmentRequest
 
 
- 
 
-