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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
compartmentId
public CreateZoneFromZoneFileRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment the resource belongs to.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
createZoneFromZoneFileDetails
public CreateZoneFromZoneFileRequest.Builder createZoneFromZoneFileDetails(InputStream createZoneFromZoneFileDetails)
The zone file contents.- Parameters:
createZoneFromZoneFileDetails- the value to set- Returns:
- this builder instance
-
opcRequestId
public 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
-
scope
public 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
-
viewId
public 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
-
invocationCallback
public 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
-
retryConfiguration
public 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
-
copy
public CreateZoneFromZoneFileRequest.Builder copy(CreateZoneFromZoneFileRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<CreateZoneFromZoneFileRequest,InputStream>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public 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 interfaceBmcRequest.Builder<CreateZoneFromZoneFileRequest,InputStream>- Returns:
- instance of CreateZoneFromZoneFileRequest
-
body$
public CreateZoneFromZoneFileRequest.Builder body$(InputStream body)
Alternative setter for the body parameter.- Specified by:
body$in interfaceBmcRequest.Builder<CreateZoneFromZoneFileRequest,InputStream>- Parameters:
body- the body parameter- Returns:
- this builder instance
-
buildWithoutInvocationCallback
public 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
-
-