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

How to use
DisableKeyRequest$Builder
in
com.oracle.bmc.keymanagement.requests

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

origin: oracle/oci-java-sdk

public static void disableKeyTest(KmsManagementClient kmsManagementClient, String keyId) {
  System.out.println("DisableKey Test: ");
  DisableKeyRequest disableKeyRequest = DisableKeyRequest.builder().keyId(keyId).build();
  DisableKeyResponse response = kmsManagementClient.disableKey(disableKeyRequest);
  System.out.println("Key Disabled Successfully, Updated Key: ");
  System.out.println(response.getKey());
  System.out.println();
}
origin: oracle/oci-java-sdk

  /**
   * Build the instance of DisableKeyRequest 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 DisableKeyRequest
   */
  public DisableKeyRequest build() {
    DisableKeyRequest 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(DisableKeyRequest o) {
  keyId(o.getKeyId());
  ifMatch(o.getIfMatch());
  opcRequestId(o.getOpcRequestId());
  opcRetryToken(o.getOpcRetryToken());
  invocationCallback(o.getInvocationCallback());
  return this;
}
com.oracle.bmc.keymanagement.requestsDisableKeyRequest$Builder

Most used methods

  • keyId
  • build
    Build the instance of DisableKeyRequest as configured by this builder Note that this method takes ca
  • buildWithoutInvocationCallback
  • ifMatch
  • invocationCallback
    Set the invocation callback for the request to be built.
  • opcRequestId
  • opcRetryToken

Popular in Java

  • Start an intent from android
  • setContentView (Activity)
  • putExtra (Intent)
  • getSystemService (Context)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Calendar (java.util)
    Calendar is an abstract base class for converting between a Date object and a set of integer fields
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • CodeWhisperer alternatives
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