/** * <p> * A flag that indicates whether there are more items in the list. When this value is true, the list in this * response is truncated. To get more items, pass the value of the <code>NextMarker</code> element in this response * to the <code>Marker</code> parameter in a subsequent request. * </p> * * @param truncated * A flag that indicates whether there are more items in the list. When this value is true, the list in this * response is truncated. To get more items, pass the value of the <code>NextMarker</code> element in this * response to the <code>Marker</code> parameter in a subsequent request. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAliasesResult withTruncated(Boolean truncated) { setTruncated(truncated); return this; }
listAliasesResult.setTruncated(context.getUnmarshaller(Boolean.class).unmarshall(context));
public ListAliasesResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListAliasesResult listAliasesResult = new ListAliasesResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Aliases")) { listAliasesResult.setAliases(new ListUnmarshaller<AliasListEntry>( AliasListEntryJsonUnmarshaller.getInstance() ) .unmarshall(context)); } else if (name.equals("NextMarker")) { listAliasesResult.setNextMarker(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Truncated")) { listAliasesResult.setTruncated(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return listAliasesResult; }
/** * <p> * A flag that indicates whether there are more items in the list. When this value is true, the list in this * response is truncated. To get more items, pass the value of the <code>NextMarker</code> element in this response * to the <code>Marker</code> parameter in a subsequent request. * </p> * * @param truncated * A flag that indicates whether there are more items in the list. When this value is true, the list in this * response is truncated. To get more items, pass the value of the <code>NextMarker</code> element in this * response to the <code>Marker</code> parameter in a subsequent request. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAliasesResult withTruncated(Boolean truncated) { setTruncated(truncated); return this; }
/** * <p> * A flag that indicates whether there are more items in the list. When this value is true, the list in this * response is truncated. To get more items, pass the value of the <code>NextMarker</code> element in this response * to the <code>Marker</code> parameter in a subsequent request. * </p> * * @param truncated * A flag that indicates whether there are more items in the list. When this value is true, the list in this * response is truncated. To get more items, pass the value of the <code>NextMarker</code> element in this * response to the <code>Marker</code> parameter in a subsequent request. * @return Returns a reference to this object so that method calls can be chained together. */ public ListAliasesResult withTruncated(Boolean truncated) { setTruncated(truncated); return this; }
public ListAliasesResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListAliasesResult listAliasesResult = new ListAliasesResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Aliases")) { listAliasesResult.setAliases(new ListUnmarshaller<AliasListEntry>( AliasListEntryJsonUnmarshaller.getInstance() ) .unmarshall(context)); } else if (name.equals("NextMarker")) { listAliasesResult.setNextMarker(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Truncated")) { listAliasesResult.setTruncated(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return listAliasesResult; }
public ListAliasesResult unmarshall(JsonUnmarshallerContext context) throws Exception { ListAliasesResult listAliasesResult = new ListAliasesResult(); AwsJsonReader reader = context.getReader(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Aliases")) { listAliasesResult.setAliases(new ListUnmarshaller<AliasListEntry>( AliasListEntryJsonUnmarshaller.getInstance() ) .unmarshall(context)); } else if (name.equals("NextMarker")) { listAliasesResult.setNextMarker(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Truncated")) { listAliasesResult.setTruncated(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return listAliasesResult; }
listAliasesResult.setTruncated(context.getUnmarshaller(Boolean.class).unmarshall(context));
listAliasesResult.setTruncated(context.getUnmarshaller(Boolean.class).unmarshall(context));