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