Tabnine Logo
CopyObjectDetails
Code IndexAdd Tabnine to your IDE (free)

How to use
CopyObjectDetails
in
com.oracle.bmc.objectstorage.model

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

origin: oracle/oci-java-sdk

public CopyObjectDetails build() {
  CopyObjectDetails __instance__ =
      new CopyObjectDetails(
          sourceObjectName,
          sourceObjectIfMatchETag,
          destinationRegion,
          destinationNamespace,
          destinationBucket,
          destinationObjectName,
          destinationObjectIfMatchETag,
          destinationObjectIfNoneMatchETag,
          destinationObjectMetadata);
  __instance__.__explicitlySet__.addAll(__explicitlySet__);
  return __instance__;
}
origin: oracle/oci-java-sdk

  @com.fasterxml.jackson.annotation.JsonIgnore
  public Builder copy(CopyObjectDetails o) {
    Builder copiedBuilder =
        sourceObjectName(o.getSourceObjectName())
            .sourceObjectIfMatchETag(o.getSourceObjectIfMatchETag())
            .destinationRegion(o.getDestinationRegion())
            .destinationNamespace(o.getDestinationNamespace())
            .destinationBucket(o.getDestinationBucket())
            .destinationObjectName(o.getDestinationObjectName())
            .destinationObjectIfMatchETag(o.getDestinationObjectIfMatchETag())
            .destinationObjectIfNoneMatchETag(
                o.getDestinationObjectIfNoneMatchETag())
            .destinationObjectMetadata(o.getDestinationObjectMetadata());
    copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
    return copiedBuilder;
  }
}
origin: oracle/oci-java-sdk

public static CopyObjectRequest intercept(CopyObjectRequest request) {
  Map<String, String> newMetadata =
      toServiceMeta(request.getCopyObjectDetails().getDestinationObjectMetadata());
  CopyObjectDetails newDetails =
      CopyObjectDetails.builder()
          .copy(request.getCopyObjectDetails())
          .destinationObjectMetadata(newMetadata)
          .build();
  return CopyObjectRequest.builder().copy(request).copyObjectDetails(newDetails).build();
}
origin: oracle/oci-java-sdk

client.setRegion(Region.US_PHOENIX_1);
CopyObjectDetails copyObjectDetails =
    CopyObjectDetails.builder()
        .sourceObjectName(sourceObject)
        .destinationRegion(Region.US_ASHBURN_1.getRegionId())
com.oracle.bmc.objectstorage.modelCopyObjectDetails

Javadoc

To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized, talk to an administrator. If you're an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.us-phoenix-1.oraclecloud.com/Content/Identity/Concepts/policygetstarted.htm).
Note: Objects should always be created or deserialized using the Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the Builder, which maintain a set of all explicitly set fields called #__explicitlySet__. The #hashCode() and #equals(Object) methods are implemented to take #__explicitlySet__ into account. The constructor, on the other hand, does not set #__explicitlySet__(since the constructor cannot distinguish explicit null from unset null).

Most used methods

  • builder
    Create a new builder.
  • <init>
  • getDestinationBucket
  • getDestinationNamespace
  • getDestinationObjectIfMatchETag
  • getDestinationObjectIfNoneMatchETag
  • getDestinationObjectMetadata
  • getDestinationObjectName
  • getDestinationRegion
  • getSourceObjectIfMatchETag
  • getSourceObjectName
  • getSourceObjectName

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • scheduleAtFixedRate (Timer)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Top Vim plugins
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