Class ActionOnKeyOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String id,
                       String bluemixInstance,
                       String action,
                       InputStream keyActionBody)
        Instantiates a new builder with required properties.
        Parameters:
        id - the id
        bluemixInstance - the bluemixInstance
        action - the action
        keyActionBody - the keyActionBody
    • Method Detail

      • build

        public ActionOnKeyOptions build()
        Builds a ActionOnKeyOptions.
        Returns:
        the new ActionOnKeyOptions instance
      • bluemixInstance

        public ActionOnKeyOptions.Builder bluemixInstance​(String bluemixInstance)
        Set the bluemixInstance.
        Parameters:
        bluemixInstance - the bluemixInstance
        Returns:
        the ActionOnKeyOptions builder
      • keyActionBody

        public ActionOnKeyOptions.Builder keyActionBody​(InputStream keyActionBody)
        Set the keyActionBody.
        Parameters:
        keyActionBody - the keyActionBody
        Returns:
        the ActionOnKeyOptions builder
      • correlationId

        public ActionOnKeyOptions.Builder correlationId​(String correlationId)
        Set the correlationId.
        Parameters:
        correlationId - the correlationId
        Returns:
        the ActionOnKeyOptions builder
      • xKmsKeyRing

        public ActionOnKeyOptions.Builder xKmsKeyRing​(String xKmsKeyRing)
        Set the xKmsKeyRing.
        Parameters:
        xKmsKeyRing - the xKmsKeyRing
        Returns:
        the ActionOnKeyOptions builder