Class UssChangeOwner
- java.lang.Object
-
- zowe.client.sdk.zosfiles.uss.methods.UssChangeOwner
-
public class UssChangeOwner extends Object
Parameter container class for Unix System Services (USS) chown operation- Version:
- 4.0
- Author:
- James Kostrewski
-
-
Constructor Summary
Constructors Constructor Description UssChangeOwner(ZosConnection connection)UssChangeOwner constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Responsechange(String targetPath, String owner)Perform chown operation on a UNIX file or directoryResponsechangeCommon(String targetPath, UssChangeOwnerInputData params)Perform chown operation on a UNIX file or directory request driven by ChangeOwnerParams object settings
-
-
-
Constructor Detail
-
UssChangeOwner
public UssChangeOwner(ZosConnection connection)
UssChangeOwner constructor- Parameters:
connection- for connection information, see ZosConnection object
-
-
Method Detail
-
change
public Response change(String targetPath, String owner) throws ZosmfRequestException
Perform chown operation on a UNIX file or directory- Parameters:
targetPath- identifies the UNIX file or directory to be the target of the operationowner- new owner of the file or directory- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
changeCommon
public Response changeCommon(String targetPath, UssChangeOwnerInputData params) throws ZosmfRequestException
Perform chown operation on a UNIX file or directory request driven by ChangeOwnerParams object settings- Parameters:
targetPath- identifies the UNIX file or directory to be the target of the operationparams- change owner response parameters, see ChangeOwnerParams object- Returns:
- Response object
- Throws:
ZosmfRequestException- request error state
-
-