SetInputStream Method

Sets the stream whose data should be sent.

Syntax

public void setInputStream(java.io.InputStream inputStream);

Remarks

This method sets the stream whose data should be sent when CreateSecret or CreateVersion is called. The class assumes that any data specified via an input stream is binary in nature; the PreferBinary configuration setting can be used to control this behavior, refer to its documentation for more information.

Note: Passing a non-null value for InputStream will cause the LocalFile property to be cleared. Similarly, setting LocalFile to a non-empty value will discard any stream set using this method.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Keys 2020 Java Edition - Version 20.0 [Build 8157]