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

How to use
GenerateKeyDetails
in
com.oracle.bmc.keymanagement.model

Best Java code snippets using com.oracle.bmc.keymanagement.model.GenerateKeyDetails (Showing top 3 results out of 315)

origin: oracle/oci-java-sdk

public GenerateKeyDetails build() {
  GenerateKeyDetails __instance__ =
      new GenerateKeyDetails(associatedData, includePlaintextKey, keyId, keyShape);
  __instance__.__explicitlySet__.addAll(__explicitlySet__);
  return __instance__;
}
origin: oracle/oci-java-sdk

  @com.fasterxml.jackson.annotation.JsonIgnore
  public Builder copy(GenerateKeyDetails o) {
    Builder copiedBuilder =
        associatedData(o.getAssociatedData())
            .includePlaintextKey(o.getIncludePlaintextKey())
            .keyId(o.getKeyId())
            .keyShape(o.getKeyShape());
    copiedBuilder.__explicitlySet__.retainAll(o.__explicitlySet__);
    return copiedBuilder;
  }
}
origin: oracle/oci-java-sdk

  public static void generateDataEncryptionKeyTest(
      KmsCryptoClient kmsCryptoClient, String keyId) {
    System.out.println("GenerateDataEncryptionKey Test: ");
    GenerateKeyDetails generateKeyDetails =
        GenerateKeyDetails.builder()
            .keyId(keyId)
            .keyShape(TEST_KEY_SHAPE)
            .includePlaintextKey(true)
            .build();
    GenerateDataEncryptionKeyRequest generateDataEncryptionKeyRequest =
        GenerateDataEncryptionKeyRequest.builder()
            .generateKeyDetails(generateKeyDetails)
            .build();
    GenerateDataEncryptionKeyResponse response =
        kmsCryptoClient.generateDataEncryptionKey(generateDataEncryptionKeyRequest);
    System.out.println("GenerateDataEncryptionKey Response: ");
    System.out.println(response.getGeneratedKey());
    System.out.println();
  }
}
com.oracle.bmc.keymanagement.modelGenerateKeyDetails

Javadoc


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

  • <init>
  • builder
    Create a new builder.
  • getAssociatedData
  • getIncludePlaintextKey
  • getKeyId
  • getKeyShape

Popular in Java

  • Reactive rest calls using spring rest template
  • scheduleAtFixedRate (ScheduledExecutorService)
  • notifyDataSetChanged (ArrayAdapter)
  • runOnUiThread (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • 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
  • Top Sublime Text 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