/** * <p> * The hardware platform of your device. * </p> * * @param platform * The hardware platform of your device. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfileParameter withPlatform(String platform) { setPlatform(platform); return this; }
signingProfileParameter.setPlatform(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The hardware platform of your device. * </p> * * @param platform * The hardware platform of your device. * @return Returns a reference to this object so that method calls can be chained together. */ public SigningProfileParameter withPlatform(String platform) { setPlatform(platform); return this; }
public SigningProfileParameter unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } SigningProfileParameter signingProfileParameter = new SigningProfileParameter(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("certificateArn")) { signingProfileParameter.setCertificateArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("platform")) { signingProfileParameter.setPlatform(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("certificatePathOnDevice")) { signingProfileParameter.setCertificatePathOnDevice(StringJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return signingProfileParameter; }
public SigningProfileParameter unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } SigningProfileParameter signingProfileParameter = new SigningProfileParameter(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("certificateArn")) { signingProfileParameter.setCertificateArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("platform")) { signingProfileParameter.setPlatform(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("certificatePathOnDevice")) { signingProfileParameter.setCertificatePathOnDevice(StringJsonUnmarshaller .getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return signingProfileParameter; }
signingProfileParameter.setPlatform(context.getUnmarshaller(String.class).unmarshall(context));