/** * <p> * The requested status of the jobs returned. * </p> * * @param status * The requested status of the jobs returned. * @return Returns a reference to this object so that method calls can be chained together. * @see TranscriptionJobStatus */ public ListTranscriptionJobsResult withStatus(String status) { setStatus(status); return this; }
if (context.testExpression("Status", targetDepth)) { context.nextToken(); listTranscriptionJobsResult.setStatus(context.getUnmarshaller(String.class).unmarshall(context));
public ListTranscriptionJobsResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListTranscriptionJobsResult listTranscriptionJobsResult = new ListTranscriptionJobsResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Status")) { listTranscriptionJobsResult.setStatus(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("NextToken")) { listTranscriptionJobsResult.setNextToken(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("TranscriptionJobSummaries")) { listTranscriptionJobsResult .setTranscriptionJobSummaries(new ListUnmarshaller<TranscriptionJobSummary>( TranscriptionJobSummaryJsonUnmarshaller.getInstance() ) .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return listTranscriptionJobsResult; }