/** * <p> * String that contains the alias. * </p> * * @param aliasName * String that contains the alias. * @return Returns a reference to this object so that method calls can be chained together. */ public AliasListEntry withAliasName(String aliasName) { setAliasName(aliasName); return this; }
if (context.testExpression("AliasName", targetDepth)) { context.nextToken(); aliasListEntry.setAliasName(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * String that contains the alias. * </p> * * @param aliasName * String that contains the alias. * @return Returns a reference to this object so that method calls can be chained together. */ public AliasListEntry withAliasName(String aliasName) { setAliasName(aliasName); return this; }
/** * <p> * String that contains the alias. * </p> * * @param aliasName * String that contains the alias. * @return Returns a reference to this object so that method calls can be chained together. */ public AliasListEntry withAliasName(String aliasName) { setAliasName(aliasName); return this; }
public AliasListEntry unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } AliasListEntry aliasListEntry = new AliasListEntry(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("AliasName")) { aliasListEntry.setAliasName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("AliasArn")) { aliasListEntry.setAliasArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("TargetKeyId")) { aliasListEntry.setTargetKeyId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return aliasListEntry; }
public AliasListEntry unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } AliasListEntry aliasListEntry = new AliasListEntry(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("AliasName")) { aliasListEntry.setAliasName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("AliasArn")) { aliasListEntry.setAliasArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("TargetKeyId")) { aliasListEntry.setTargetKeyId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return aliasListEntry; }
public AliasListEntry unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } AliasListEntry aliasListEntry = new AliasListEntry(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("AliasName")) { aliasListEntry.setAliasName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("AliasArn")) { aliasListEntry.setAliasArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("TargetKeyId")) { aliasListEntry.setTargetKeyId(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return aliasListEntry; }
if (context.testExpression("AliasName", targetDepth)) { context.nextToken(); aliasListEntry.setAliasName(context.getUnmarshaller(String.class).unmarshall(context));
if (context.testExpression("AliasName", targetDepth)) { context.nextToken(); aliasListEntry.setAliasName(context.getUnmarshaller(String.class).unmarshall(context));