public SecurityProfileIdentifier unmarshall(JsonUnmarshallerContext context) throws Exception { SecurityProfileIdentifier securityProfileIdentifier = new SecurityProfileIdentifier();
public SecurityProfileIdentifier unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } SecurityProfileIdentifier securityProfileIdentifier = new SecurityProfileIdentifier(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("name")) { securityProfileIdentifier.setName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("arn")) { securityProfileIdentifier.setArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return securityProfileIdentifier; }
public SecurityProfileIdentifier unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } SecurityProfileIdentifier securityProfileIdentifier = new SecurityProfileIdentifier(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("name")) { securityProfileIdentifier.setName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("arn")) { securityProfileIdentifier.setArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return securityProfileIdentifier; }
public SecurityProfileIdentifier unmarshall(JsonUnmarshallerContext context) throws Exception { SecurityProfileIdentifier securityProfileIdentifier = new SecurityProfileIdentifier();