public static class CreateAttachDataAssetRequest.Builder extends Object implements BmcRequest.Builder<CreateAttachDataAssetRequest,CreateAttachDataAssetDetails>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CreateAttachDataAssetRequest.Builder |
body$(CreateAttachDataAssetDetails body)
Alternative setter for the body parameter.
|
CreateAttachDataAssetRequest |
build()
Build the instance of CreateAttachDataAssetRequest as configured by this builder
|
CreateAttachDataAssetRequest |
buildWithoutInvocationCallback()
Build the instance of CreateAttachDataAssetRequest as configured by this builder
|
CreateAttachDataAssetRequest.Builder |
copy(CreateAttachDataAssetRequest o)
Copy method to populate the builder with values from the given instance.
|
CreateAttachDataAssetRequest.Builder |
createAttachDataAssetDetails(CreateAttachDataAssetDetails createAttachDataAssetDetails)
Request body parameters to attach data asset to a private endpoint.
|
CreateAttachDataAssetRequest.Builder |
endpointId(String endpointId)
DCMS endpoint ID.
|
CreateAttachDataAssetRequest.Builder |
ifMatch(String ifMatch)
For optimistic concurrency control.
|
CreateAttachDataAssetRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
CreateAttachDataAssetRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateAttachDataAssetRequest.Builder |
opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without the risk of executing that same action again.
|
CreateAttachDataAssetRequest.Builder |
registryId(String registryId)
The registry OCID.
|
CreateAttachDataAssetRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
public CreateAttachDataAssetRequest.Builder registryId(String registryId)
The registry OCID.
registryId
- the value to setpublic CreateAttachDataAssetRequest.Builder endpointId(String endpointId)
DCMS endpoint ID.
endpointId
- the value to setpublic CreateAttachDataAssetRequest.Builder createAttachDataAssetDetails(CreateAttachDataAssetDetails createAttachDataAssetDetails)
Request body parameters to attach data asset to a private endpoint.
createAttachDataAssetDetails
- the value to setpublic CreateAttachDataAssetRequest.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.
opcRequestId
- the value to setpublic CreateAttachDataAssetRequest.Builder opcRetryToken(String opcRetryToken)
A token that uniquely identifies a request so it can be retried in case of a timeout or server error without the risk of executing that same action again.
opcRetryToken
- the value to setpublic CreateAttachDataAssetRequest.Builder ifMatch(String ifMatch)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match
parameter to the value of the etag
from a previous GET or POST response for that resource.
The resource will be updated or deleted only if the etag
you provide matches the resource’s current etag
value.
When ‘if-match’ is provided and its value does not exactly match the ‘etag’ of the resource on the server, the request fails with the 412 response code.
ifMatch
- the value to setpublic CreateAttachDataAssetRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic CreateAttachDataAssetRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic CreateAttachDataAssetRequest.Builder copy(CreateAttachDataAssetRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<CreateAttachDataAssetRequest,CreateAttachDataAssetDetails>
o
- other request from which to copy valuespublic CreateAttachDataAssetRequest build()
Build the instance of CreateAttachDataAssetRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<CreateAttachDataAssetRequest,CreateAttachDataAssetDetails>
public CreateAttachDataAssetRequest.Builder body$(CreateAttachDataAssetDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<CreateAttachDataAssetRequest,CreateAttachDataAssetDetails>
body
- the body parameterpublic CreateAttachDataAssetRequest buildWithoutInvocationCallback()
Build the instance of CreateAttachDataAssetRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method build()
does
Copyright © 2016–2023. All rights reserved.