Class ConsoleCmdResponse
- java.lang.Object
-
- zowe.client.sdk.zosconsole.response.ConsoleCmdResponse
-
public class ConsoleCmdResponse extends Object
z/OSMF synchronous console command response messages. See the z/OSMF REST API publication for complete details.- Version:
- 5.0
- Author:
- Frank Giordano
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCmdResponse()Retrieve cmdResponse valueStringgetCmdResponseKey()Retrieve cmdResponseKey valueStringgetCmdResponseUri()Retrieve cmdResponseUri valueStringgetCmdResponseUrl()Retrieve cmdResponseUrl valueStringgetSolKeyDetected()Retrieve solKeyDetected valueStringtoString()Return string value representing IssueCommandResponse objectConsoleCmdResponsewithCmdResponse(String newCmdResponse)Create a new ConsoleCmdResponse with a different cmdResponse value
-
-
-
Constructor Detail
-
ConsoleCmdResponse
public ConsoleCmdResponse(String cmdResponseKey, String cmdResponseUrl, String cmdResponseUri, String cmdResponse, String solKeyDetected)
ConsoleCmdResponse constructor for JSON deserialization- Parameters:
cmdResponseKey- Key that can be used to retrieve the command responsecmdResponseUrl- URL that can be used to retrieve the command response latercmdResponseUri- URI that can be used to retrieve the command response latercmdResponse- Command response textsolKeyDetected- Indicates if the keyword was detected in the command response
-
-
Method Detail
-
getCmdResponseKey
public String getCmdResponseKey()
Retrieve cmdResponseKey value- Returns:
- cmdResponseKey value
-
getCmdResponseUrl
public String getCmdResponseUrl()
Retrieve cmdResponseUrl value- Returns:
- cmdResponseUrl value
-
getCmdResponseUri
public String getCmdResponseUri()
Retrieve cmdResponseUri value- Returns:
- cmdResponseUri value
-
getCmdResponse
public String getCmdResponse()
Retrieve cmdResponse value- Returns:
- cmdResponse value
-
getSolKeyDetected
public String getSolKeyDetected()
Retrieve solKeyDetected value- Returns:
- solKeyDetected value
-
withCmdResponse
public ConsoleCmdResponse withCmdResponse(String newCmdResponse)
Create a new ConsoleCmdResponse with a different cmdResponse value- Parameters:
newCmdResponse- the new command response value- Returns:
- a new ConsoleCmdResponse instance with the updated cmdResponse
-
-