congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
UpdateTagNamespaceRequest$Builder
Code IndexAdd Tabnine to your IDE (free)

How to use
UpdateTagNamespaceRequest$Builder
in
com.oracle.bmc.identity.requests

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

origin: oracle/oci-java-sdk

    identityClient.updateTagNamespace(
        UpdateTagNamespaceRequest.builder()
            .tagNamespaceId(tagNamespaceId)
            .updateTagNamespaceDetails(
                UpdateTagNamespaceDetails.builder().isRetired(true).build())
            .build());
System.out.println(
    "Updated tag namespace (retired): " + updateTagNamespaceResponse.getTagNamespace());
    identityClient.updateTagNamespace(
        UpdateTagNamespaceRequest.builder()
            .tagNamespaceId(tagNamespaceId)
            .updateTagNamespaceDetails(
                UpdateTagNamespaceDetails.builder()
                    .isRetired(false)
                    .build())
            .build());
System.out.println(
    "Updated tag namespace (reactivated): "
        .tagNamespaceId(tagNamespaceId)
        .updateTagNamespaceDetails(
            UpdateTagNamespaceDetails.builder().isRetired(true).build())
        .build());
origin: oracle/oci-java-sdk

  /**
   * Build the instance of UpdateTagNamespaceRequest 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 UpdateTagNamespaceRequest
   */
  public UpdateTagNamespaceRequest build() {
    UpdateTagNamespaceRequest 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(UpdateTagNamespaceRequest o) {
  tagNamespaceId(o.getTagNamespaceId());
  updateTagNamespaceDetails(o.getUpdateTagNamespaceDetails());
  invocationCallback(o.getInvocationCallback());
  return this;
}
com.oracle.bmc.identity.requestsUpdateTagNamespaceRequest$Builder

Most used methods

  • tagNamespaceId
  • updateTagNamespaceDetails
  • build
    Build the instance of UpdateTagNamespaceRequest as configured by this builder Note that this method
  • buildWithoutInvocationCallback
  • invocationCallback
    Set the invocation callback for the request to be built.

Popular in Java

  • Creating JSON documents from java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setScale (BigDecimal)
  • getContentResolver (Context)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Permission (java.security)
    Legacy security code; do not use.
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr
  • Sublime Text for Python
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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