/** * <p> * Information that identifies the security profile. * </p> * * @param securityProfileIdentifier * Information that identifies the security profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SecurityProfileTargetMapping withSecurityProfileIdentifier(SecurityProfileIdentifier securityProfileIdentifier) { setSecurityProfileIdentifier(securityProfileIdentifier); return this; }
if (context.testExpression("securityProfileIdentifier", targetDepth)) { context.nextToken(); securityProfileTargetMapping.setSecurityProfileIdentifier(SecurityProfileIdentifierJsonUnmarshaller.getInstance().unmarshall(context));
/** * <p> * Information that identifies the security profile. * </p> * * @param securityProfileIdentifier * Information that identifies the security profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SecurityProfileTargetMapping withSecurityProfileIdentifier(SecurityProfileIdentifier securityProfileIdentifier) { setSecurityProfileIdentifier(securityProfileIdentifier); return this; }
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; }
if (context.testExpression("securityProfileIdentifier", targetDepth)) { context.nextToken(); securityProfileTargetMapping.setSecurityProfileIdentifier(SecurityProfileIdentifierJsonUnmarshaller.getInstance().unmarshall(context));