Class GenericSecret

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

    public class GenericSecret
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Only needed for generic webhook trigger type. Secret used to start generic webhook trigger.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String algorithm()
      Gets the algorithm.
      java.lang.String keyName()
      Gets the keyName.
      GenericSecret.Builder newBuilder()
      New builder.
      java.lang.String source()
      Gets the source.
      java.lang.String type()
      Gets the type.
      java.lang.String value()
      Gets the value.
      • Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel

        equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • type

        public java.lang.String type()
        Gets the type. Secret type.
        Returns:
        the type
      • value

        public java.lang.String value()
        Gets the value. Secret value, not needed if secret type is `internal_validation`.
        Returns:
        the value
      • source

        public java.lang.String source()
        Gets the source. Secret location, not needed if secret type is `internal_validation`.
        Returns:
        the source
      • keyName

        public java.lang.String keyName()
        Gets the keyName. Secret name, not needed if type is `internal_validation`.
        Returns:
        the keyName
      • algorithm

        public java.lang.String algorithm()
        Gets the algorithm. Algorithm used for `digest_matches` secret type. Only needed for `digest_matches` secret type.
        Returns:
        the algorithm