Package com.oracle.bmc.dns.requests
Class CreateTsigKeyRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.dns.requests.CreateTsigKeyRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<CreateTsigKeyRequest,CreateTsigKeyDetails>
 - Enclosing class:
- CreateTsigKeyRequest
 
 public static class CreateTsigKeyRequest.Builder extends Object implements BmcRequest.Builder<CreateTsigKeyRequest,CreateTsigKeyDetails> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateTsigKeyRequest.Builderbody$(CreateTsigKeyDetails body)Alternative setter for the body parameter.CreateTsigKeyRequestbuild()Build the instance of CreateTsigKeyRequest as configured by this builderCreateTsigKeyRequestbuildWithoutInvocationCallback()Build the instance of CreateTsigKeyRequest as configured by this builderCreateTsigKeyRequest.Buildercopy(CreateTsigKeyRequest o)Copy method to populate the builder with values from the given instance.CreateTsigKeyRequest.BuildercreateTsigKeyDetails(CreateTsigKeyDetails createTsigKeyDetails)Details for creating a new TSIG key.CreateTsigKeyRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.CreateTsigKeyRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.CreateTsigKeyRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.CreateTsigKeyRequest.Builderscope(Scope scope)Specifies to operate only on resources that have a matching DNS scope.
 
- 
- 
- 
Method Detail- 
createTsigKeyDetailspublic CreateTsigKeyRequest.Builder createTsigKeyDetails(CreateTsigKeyDetails createTsigKeyDetails) Details for creating a new TSIG key.- Parameters:
- createTsigKeyDetails- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic CreateTsigKeyRequest.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 CreateTsigKeyRequest.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 CreateTsigKeyRequest.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 CreateTsigKeyRequest.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 CreateTsigKeyRequest.Builder copy(CreateTsigKeyRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<CreateTsigKeyRequest,CreateTsigKeyDetails>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic CreateTsigKeyRequest build() Build the instance of CreateTsigKeyRequest 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<CreateTsigKeyRequest,CreateTsigKeyDetails>
- Returns:
- instance of CreateTsigKeyRequest
 
 - 
body$public CreateTsigKeyRequest.Builder body$(CreateTsigKeyDetails body) Alternative setter for the body parameter.- Specified by:
- body$in interface- BmcRequest.Builder<CreateTsigKeyRequest,CreateTsigKeyDetails>
- Parameters:
- body- the body parameter
- Returns:
- this builder instance
 
 - 
buildWithoutInvocationCallbackpublic CreateTsigKeyRequest buildWithoutInvocationCallback() Build the instance of CreateTsigKeyRequest 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 CreateTsigKeyRequest
 
 
- 
 
-