Class KeyPatch

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class KeyPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    KeyPatch.
    • Method Detail

      • newBuilder

        public KeyPatch.Builder newBuilder()
        New builder.
        Returns:
        a KeyPatch builder
      • name

        public String name()
        Gets the name. The name for this key. The name must not be used by another key in the region.
        Returns:
        the name
      • asPatch

        public Map<String,​Object> asPatch()
        Construct a JSON merge-patch from the KeyPatch. Note that properties of the KeyPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.
        Returns:
        a JSON merge-patch for the KeyPatch