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 Summary
Constructors Constructor Description Builder() 
- 
Method Summary
All 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
- 
createTsigKeyDetails
public CreateTsigKeyRequest.Builder createTsigKeyDetails(CreateTsigKeyDetails createTsigKeyDetails)
Details for creating a new TSIG key.- Parameters:
 createTsigKeyDetails- the value to set- Returns:
 - this builder instance
 
 
- 
opcRequestId
public 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
 
 
- 
scope
public 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
 
 
- 
invocationCallback
public 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
 
 
- 
retryConfiguration
public 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
 
 
- 
copy
public CreateTsigKeyRequest.Builder copy(CreateTsigKeyRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
 copyin interfaceBmcRequest.Builder<CreateTsigKeyRequest,CreateTsigKeyDetails>- Parameters:
 o- other request from which to copy values- Returns:
 - this builder instance
 
 
- 
build
public 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 interfaceBmcRequest.Builder<CreateTsigKeyRequest,CreateTsigKeyDetails>- Returns:
 - instance of CreateTsigKeyRequest
 
 
- 
body$
public CreateTsigKeyRequest.Builder body$(CreateTsigKeyDetails body)
Alternative setter for the body parameter.- Specified by:
 body$in interfaceBmcRequest.Builder<CreateTsigKeyRequest,CreateTsigKeyDetails>- Parameters:
 body- the body parameter- Returns:
 - this builder instance
 
 
- 
buildWithoutInvocationCallback
public 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
 
 
 - 
 
 -