Tabnine Logo
PutObjectLifecyclePolicyRequest$Builder
Code IndexAdd Tabnine to your IDE (free)

How to use
PutObjectLifecyclePolicyRequest$Builder
in
com.oracle.bmc.objectstorage.requests

Best Java code snippets using com.oracle.bmc.objectstorage.requests.PutObjectLifecyclePolicyRequest$Builder (Showing top 3 results out of 315)

origin: oracle/oci-java-sdk

final PutObjectLifecyclePolicyRequest putObjectLifecyclePolicyRequest =
    PutObjectLifecyclePolicyRequest.builder()
        .namespaceName(namespaceName)
        .bucketName(bucketName)
        .putObjectLifecyclePolicyDetails(objectLifecyclePolicyDetails)
        .build();
System.out.println("Writing object lifecycle policy");
try {
origin: oracle/oci-java-sdk

  /**
   * Build the instance of PutObjectLifecyclePolicyRequest 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 PutObjectLifecyclePolicyRequest
   */
  public PutObjectLifecyclePolicyRequest build() {
    PutObjectLifecyclePolicyRequest request = buildWithoutInvocationCallback();
    request.setInvocationCallback(invocationCallback);
    return request;
  }
}
origin: oracle/oci-java-sdk

/**
 * Copy method to populate the builder with values from the given instance.
 * @return this builder instance
 */
public Builder copy(PutObjectLifecyclePolicyRequest o) {
  namespaceName(o.getNamespaceName());
  bucketName(o.getBucketName());
  putObjectLifecyclePolicyDetails(o.getPutObjectLifecyclePolicyDetails());
  opcClientRequestId(o.getOpcClientRequestId());
  ifMatch(o.getIfMatch());
  ifNoneMatch(o.getIfNoneMatch());
  invocationCallback(o.getInvocationCallback());
  return this;
}
com.oracle.bmc.objectstorage.requestsPutObjectLifecyclePolicyRequest$Builder

Most used methods

  • bucketName
  • namespaceName
  • putObjectLifecyclePolicyDetails
  • build
    Build the instance of PutObjectLifecyclePolicyRequest as configured by this builder Note that this m
  • buildWithoutInvocationCallback
  • ifMatch
  • ifNoneMatch
  • invocationCallback
    Set the invocation callback for the request to be built.
  • opcClientRequestId

Popular in Java

  • Making http post requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getContentResolver (Context)
  • scheduleAtFixedRate (Timer)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Permission (java.security)
    Legacy security code; do not use.
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Best IntelliJ 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