public static class CreateSteeringPolicyAttachmentRequest.Builder extends Object implements BmcRequest.Builder<CreateSteeringPolicyAttachmentRequest,CreateSteeringPolicyAttachmentDetails>
Modifier and Type | Method and Description |
---|---|
CreateSteeringPolicyAttachmentRequest.Builder |
body$(CreateSteeringPolicyAttachmentDetails body)
Alternative setter for the body parameter.
|
CreateSteeringPolicyAttachmentRequest |
build()
Build the instance of CreateSteeringPolicyAttachmentRequest as configured by this builder
|
CreateSteeringPolicyAttachmentRequest |
buildWithoutInvocationCallback() |
CreateSteeringPolicyAttachmentRequest.Builder |
copy(CreateSteeringPolicyAttachmentRequest o)
Copy method to populate the builder with values from the given instance.
|
CreateSteeringPolicyAttachmentRequest.Builder |
createSteeringPolicyAttachmentDetails(CreateSteeringPolicyAttachmentDetails createSteeringPolicyAttachmentDetails)
Details for creating a new steering policy attachment.
|
CreateSteeringPolicyAttachmentRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
CreateSteeringPolicyAttachmentRequest.Builder |
opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.
|
CreateSteeringPolicyAttachmentRequest.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 risk of executing that same action
again.
|
CreateSteeringPolicyAttachmentRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
CreateSteeringPolicyAttachmentRequest.Builder |
scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
|
String |
toString() |
public CreateSteeringPolicyAttachmentRequest.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 CreateSteeringPolicyAttachmentRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic CreateSteeringPolicyAttachmentRequest.Builder copy(CreateSteeringPolicyAttachmentRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<CreateSteeringPolicyAttachmentRequest,CreateSteeringPolicyAttachmentDetails>
o
- other request from which to copy valuespublic CreateSteeringPolicyAttachmentRequest build()
Build the instance of CreateSteeringPolicyAttachmentRequest 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<CreateSteeringPolicyAttachmentRequest,CreateSteeringPolicyAttachmentDetails>
public CreateSteeringPolicyAttachmentRequest.Builder body$(CreateSteeringPolicyAttachmentDetails body)
Alternative setter for the body parameter.
body$
in interface BmcRequest.Builder<CreateSteeringPolicyAttachmentRequest,CreateSteeringPolicyAttachmentDetails>
body
- the body parameterpublic CreateSteeringPolicyAttachmentRequest.Builder createSteeringPolicyAttachmentDetails(CreateSteeringPolicyAttachmentDetails createSteeringPolicyAttachmentDetails)
Details for creating a new steering policy attachment.
this
.public CreateSteeringPolicyAttachmentRequest.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 risk of executing that same action again. Retry tokens expire after 24 hours, but can be invalidated before then due to conflicting operations (for example, if a resource has been deleted and purged from the system, then a retry of the original creation request may be rejected).
this
.public CreateSteeringPolicyAttachmentRequest.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.
this
.public CreateSteeringPolicyAttachmentRequest.Builder scope(Scope scope)
Specifies to operate only on resources that have a matching DNS scope.
this
.public CreateSteeringPolicyAttachmentRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.