Package com.oracle.bmc.dns.requests
Class UpdateViewRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.dns.requests.UpdateViewRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<UpdateViewRequest,UpdateViewDetails>
 - Enclosing class:
- UpdateViewRequest
 
 public static class UpdateViewRequest.Builder extends Object implements BmcRequest.Builder<UpdateViewRequest,UpdateViewDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateViewRequest.Builderbody$(UpdateViewDetails body)Alternative setter for the body parameter.UpdateViewRequestbuild()Build the instance of UpdateViewRequest as configured by this builderUpdateViewRequestbuildWithoutInvocationCallback()Build the instance of UpdateViewRequest as configured by this builderUpdateViewRequest.Buildercopy(UpdateViewRequest o)Copy method to populate the builder with values from the given instance.UpdateViewRequest.BuilderifMatch(String ifMatch)The If-Match header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is *, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value.UpdateViewRequest.BuilderifUnmodifiedSince(String ifUnmodifiedSince)The If-Unmodified-Since header field makes the request method conditional on the selected representation’s last modification date being earlier than or equal to the date provided in the field-value.UpdateViewRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.UpdateViewRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.UpdateViewRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.UpdateViewRequest.Builderscope(Scope scope)Specifies to operate only on resources that have a matching DNS scope.UpdateViewRequest.BuilderupdateViewDetails(UpdateViewDetails updateViewDetails)New data for the view.UpdateViewRequest.BuilderviewId(String viewId)The OCID of the target view.
 
- 
- 
- 
Method Detail- 
viewIdpublic UpdateViewRequest.Builder viewId(String viewId) The OCID of the target view.- Parameters:
- viewId- the value to set
- Returns:
- this builder instance
 
 - 
updateViewDetailspublic UpdateViewRequest.Builder updateViewDetails(UpdateViewDetails updateViewDetails) New data for the view.- Parameters:
- updateViewDetails- the value to set
- Returns:
- this builder instance
 
 - 
ifMatchpublic UpdateViewRequest.Builder ifMatch(String ifMatch) The If-Match header field makes the request method conditional on the existence of at least one current representation of the target resource, when the field-value is *, or having a current representation of the target resource that has an entity-tag matching a member of the list of entity-tags provided in the field-value.- Parameters:
- ifMatch- the value to set
- Returns:
- this builder instance
 
 - 
ifUnmodifiedSincepublic UpdateViewRequest.Builder ifUnmodifiedSince(String ifUnmodifiedSince) The If-Unmodified-Since header field makes the request method conditional on the selected representation’s last modification date being earlier than or equal to the date provided in the field-value.This field accomplishes the same purpose as If-Match for cases where the user agent does not have an entity-tag for the representation. - Parameters:
- ifUnmodifiedSince- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic UpdateViewRequest.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. - Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
scopepublic UpdateViewRequest.Builder scope(Scope scope) Specifies to operate only on resources that have a matching DNS scope.- Parameters:
- scope- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic UpdateViewRequest.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 UpdateViewRequest.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 UpdateViewRequest.Builder copy(UpdateViewRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<UpdateViewRequest,UpdateViewDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic UpdateViewRequest build() Build the instance of UpdateViewRequest 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<UpdateViewRequest,UpdateViewDetails>
- Returns:
- instance of UpdateViewRequest
 
 - 
body$public UpdateViewRequest.Builder body$(UpdateViewDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<UpdateViewRequest,UpdateViewDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic UpdateViewRequest buildWithoutInvocationCallback() Build the instance of UpdateViewRequest 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 UpdateViewRequest
 
 
- 
 
-