/** * <p> * String that contains the key identifier referred to by the alias. * </p> * * @param targetKeyId * String that contains the key identifier referred to by the alias. * @return Returns a reference to this object so that method calls can be chained together. */ public AliasListEntry withTargetKeyId(String targetKeyId) { setTargetKeyId(targetKeyId); return this; }
aliasListEntry.setTargetKeyId(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * String that contains the key identifier referred to by the alias. * </p> * * @param targetKeyId * String that contains the key identifier referred to by the alias. * @return Returns a reference to this object so that method calls can be chained together. */ public AliasListEntry withTargetKeyId(String targetKeyId) { setTargetKeyId(targetKeyId); return this; }
/** * <p> * String that contains the key identifier referred to by the alias. * </p> * * @param targetKeyId * String that contains the key identifier referred to by the alias. * @return Returns a reference to this object so that method calls can be chained together. */ public AliasListEntry withTargetKeyId(String targetKeyId) { setTargetKeyId(targetKeyId); 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; }
aliasListEntry.setTargetKeyId(context.getUnmarshaller(String.class).unmarshall(context));
aliasListEntry.setTargetKeyId(context.getUnmarshaller(String.class).unmarshall(context));