/** * <p> * The name you have given to the security profile. * </p> * * @param name * The name you have given to the security profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SecurityProfileIdentifier withName(String name) { setName(name); return this; }
if (context.testExpression("name", targetDepth)) { context.nextToken(); securityProfileIdentifier.setName(context.getUnmarshaller(String.class).unmarshall(context));
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; }
/** * <p> * The name you have given to the security profile. * </p> * * @param name * The name you have given to the security profile. * @return Returns a reference to this object so that method calls can be chained together. */ public SecurityProfileIdentifier withName(String name) { setName(name); return this; }
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; }
if (context.testExpression("name", targetDepth)) { context.nextToken(); securityProfileIdentifier.setName(context.getUnmarshaller(String.class).unmarshall(context));