Package com.oracle.bmc.dns.requests
Class CreateZoneFromZoneFileRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.dns.requests.CreateZoneFromZoneFileRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateZoneFromZoneFileRequest,InputStream>
 - Enclosing class:
- CreateZoneFromZoneFileRequest
 
 public static class CreateZoneFromZoneFileRequest.Builder extends Object implements BmcRequest.Builder<CreateZoneFromZoneFileRequest,InputStream> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateZoneFromZoneFileRequest.Builderbody$(InputStream body)Alternative setter for the body parameter.CreateZoneFromZoneFileRequestbuild()Build the instance of CreateZoneFromZoneFileRequest as configured by this builderCreateZoneFromZoneFileRequestbuildWithoutInvocationCallback()Build the instance of CreateZoneFromZoneFileRequest as configured by this builderCreateZoneFromZoneFileRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment the resource belongs to.CreateZoneFromZoneFileRequest.Buildercopy(CreateZoneFromZoneFileRequest o)Copy method to populate the builder with values from the given instance.CreateZoneFromZoneFileRequest.BuildercreateZoneFromZoneFileDetails(InputStream createZoneFromZoneFileDetails)The zone file contents.CreateZoneFromZoneFileRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateZoneFromZoneFileRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateZoneFromZoneFileRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.CreateZoneFromZoneFileRequest.Builderscope(Scope scope)Specifies to operate only on resources that have a matching DNS scope.CreateZoneFromZoneFileRequest.BuilderviewId(String viewId)The OCID of the view the resource is associated with.
 
- 
- 
- 
Method Detail- 
compartmentIdpublic CreateZoneFromZoneFileRequest.Builder compartmentId(String compartmentId) The OCID of the compartment the resource belongs to.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
createZoneFromZoneFileDetailspublic CreateZoneFromZoneFileRequest.Builder createZoneFromZoneFileDetails(InputStream createZoneFromZoneFileDetails) The zone file contents.- Parameters:
- createZoneFromZoneFileDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic CreateZoneFromZoneFileRequest.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 CreateZoneFromZoneFileRequest.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
 
 - 
viewIdpublic CreateZoneFromZoneFileRequest.Builder viewId(String viewId) The OCID of the view the resource is associated with.- Parameters:
- viewId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic CreateZoneFromZoneFileRequest.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 CreateZoneFromZoneFileRequest.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 CreateZoneFromZoneFileRequest.Builder copy(CreateZoneFromZoneFileRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateZoneFromZoneFileRequest,InputStream>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateZoneFromZoneFileRequest build() Build the instance of CreateZoneFromZoneFileRequest 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<CreateZoneFromZoneFileRequest,InputStream>
- Returns:
- instance of CreateZoneFromZoneFileRequest
 
 - 
body$public CreateZoneFromZoneFileRequest.Builder body$(InputStream body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateZoneFromZoneFileRequest,InputStream>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateZoneFromZoneFileRequest buildWithoutInvocationCallback() Build the instance of CreateZoneFromZoneFileRequest 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 CreateZoneFromZoneFileRequest
 
 
- 
 
-