public SecurityProfileTargetMapping unmarshall(JsonUnmarshallerContext context) throws Exception { SecurityProfileTargetMapping securityProfileTargetMapping = new SecurityProfileTargetMapping();
public SecurityProfileTargetMapping unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } SecurityProfileTargetMapping securityProfileTargetMapping = new SecurityProfileTargetMapping(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("securityProfileIdentifier")) { securityProfileTargetMapping .setSecurityProfileIdentifier(SecurityProfileIdentifierJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("target")) { securityProfileTargetMapping.setTarget(SecurityProfileTargetJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return securityProfileTargetMapping; }
public SecurityProfileTargetMapping unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } SecurityProfileTargetMapping securityProfileTargetMapping = new SecurityProfileTargetMapping(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("securityProfileIdentifier")) { securityProfileTargetMapping .setSecurityProfileIdentifier(SecurityProfileIdentifierJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("target")) { securityProfileTargetMapping.setTarget(SecurityProfileTargetJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return securityProfileTargetMapping; }
public SecurityProfileTargetMapping unmarshall(JsonUnmarshallerContext context) throws Exception { SecurityProfileTargetMapping securityProfileTargetMapping = new SecurityProfileTargetMapping();