congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
DeleteObjectRequest
Code IndexAdd Tabnine to your IDE (free)

How to use
DeleteObjectRequest
in
com.oracle.bmc.objectstorage.requests

Best Java code snippets using com.oracle.bmc.objectstorage.requests.DeleteObjectRequest (Showing top 4 results out of 315)

origin: oracle/oci-java-sdk

/**
 * Copy method to populate the builder with values from the given instance.
 * @return this builder instance
 */
public Builder copy(DeleteObjectRequest o) {
  namespaceName(o.getNamespaceName());
  bucketName(o.getBucketName());
  objectName(o.getObjectName());
  ifMatch(o.getIfMatch());
  opcClientRequestId(o.getOpcClientRequestId());
  invocationCallback(o.getInvocationCallback());
  return this;
}
origin: oracle/oci-java-sdk

  /**
   * Build the instance of DeleteObjectRequest as configured by this builder
   *
   * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account,
   * while the method {@link Builder#buildWithoutInvocationCallback} does not.
   *
   * This is the preferred method to build an instance.
   *
   * @return instance of DeleteObjectRequest
   */
  public DeleteObjectRequest build() {
    DeleteObjectRequest request = buildWithoutInvocationCallback();
    request.setInvocationCallback(invocationCallback);
    return request;
  }
}
origin: oracle/oci-java-sdk

DeleteObjectRequest.builder()
    .namespaceName(namespace)
    .bucketName(bucketName)
origin: oracle/oci-java-sdk

public static com.oracle.bmc.http.internal.WrappedInvocationBuilder fromRequest(
    com.oracle.bmc.http.internal.RestClient client, DeleteObjectRequest request) {
  Validate.notNull(request, "request instance is required");
  Validate.notBlank(request.getNamespaceName(), "namespaceName must not be blank");
  Validate.notBlank(request.getBucketName(), "bucketName must not be blank");
  Validate.notBlank(request.getObjectName(), "objectName must not be blank");
          .path(
              com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
                  request.getNamespaceName()))
          .path("b")
          .path(
              com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
                  request.getBucketName()))
          .path("o")
          .path(
              com.oracle.bmc.util.internal.HttpUtils.encodePathSegment(
                  request.getObjectName()));
  if (request.getIfMatch() != null) {
    ib.header("if-match", request.getIfMatch());
  if (request.getOpcClientRequestId() != null) {
    ib.header("opc-client-request-id", request.getOpcClientRequestId());
com.oracle.bmc.objectstorage.requestsDeleteObjectRequest

Most used methods

  • builder
  • getBucketName
  • getIfMatch
  • getInvocationCallback
  • getNamespaceName
  • getObjectName
  • getOpcClientRequestId
  • setInvocationCallback

Popular in Java

  • Finding current android device location
  • getContentResolver (Context)
  • setContentView (Activity)
  • onCreateOptionsMenu (Activity)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now