Class UnwrapKeyOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

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

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

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

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

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