public static class DeleteObjectLifecyclePolicyRequest.Builder extends Object implements BmcRequest.Builder<DeleteObjectLifecyclePolicyRequest,Void>
Modifier and Type | Method and Description |
---|---|
DeleteObjectLifecyclePolicyRequest.Builder |
bucketName(String bucketName)
The name of the bucket.
|
DeleteObjectLifecyclePolicyRequest |
build()
Build the instance of DeleteObjectLifecyclePolicyRequest as configured by this builder
|
DeleteObjectLifecyclePolicyRequest |
buildWithoutInvocationCallback() |
DeleteObjectLifecyclePolicyRequest.Builder |
copy(DeleteObjectLifecyclePolicyRequest o)
Copy method to populate the builder with values from the given instance.
|
DeleteObjectLifecyclePolicyRequest.Builder |
ifMatch(String ifMatch)
The entity tag (ETag) to match with the ETag of an existing resource.
|
DeleteObjectLifecyclePolicyRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
DeleteObjectLifecyclePolicyRequest.Builder |
namespaceName(String namespaceName)
The Object Storage namespace used for the request.
|
DeleteObjectLifecyclePolicyRequest.Builder |
opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.
|
DeleteObjectLifecyclePolicyRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public DeleteObjectLifecyclePolicyRequest.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 DeleteObjectLifecyclePolicyRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic DeleteObjectLifecyclePolicyRequest.Builder copy(DeleteObjectLifecyclePolicyRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<DeleteObjectLifecyclePolicyRequest,Void>
o
- other request from which to copy valuespublic DeleteObjectLifecyclePolicyRequest build()
Build the instance of DeleteObjectLifecyclePolicyRequest 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<DeleteObjectLifecyclePolicyRequest,Void>
public DeleteObjectLifecyclePolicyRequest.Builder namespaceName(String namespaceName)
The Object Storage namespace used for the request.
this
.public DeleteObjectLifecyclePolicyRequest.Builder bucketName(String bucketName)
The name of the bucket. Avoid entering confidential information.
Example: my-new-bucket1
this
.public DeleteObjectLifecyclePolicyRequest.Builder opcClientRequestId(String opcClientRequestId)
The client request ID for tracing.
this
.public DeleteObjectLifecyclePolicyRequest.Builder ifMatch(String ifMatch)
The entity tag (ETag) to match with the ETag of an existing resource. If the specified ETag matches the ETag of the existing resource, GET and HEAD requests will return the resource and PUT and POST requests will upload the resource.
this
.public DeleteObjectLifecyclePolicyRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.