/** * <p> * The location to write the code-signed file. * </p> * * @param destination * The location to write the code-signed file. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSigningJobParameter withDestination(Destination destination) { setDestination(destination); return this; }
startSigningJobParameter.setDestination(DestinationJsonUnmarshaller.getInstance().unmarshall(context));
/** * <p> * The location to write the code-signed file. * </p> * * @param destination * The location to write the code-signed file. * @return Returns a reference to this object so that method calls can be chained together. */ public StartSigningJobParameter withDestination(Destination destination) { setDestination(destination); return this; }
public StartSigningJobParameter unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } StartSigningJobParameter startSigningJobParameter = new StartSigningJobParameter(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("signingProfileParameter")) { startSigningJobParameter .setSigningProfileParameter(SigningProfileParameterJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("signingProfileName")) { startSigningJobParameter.setSigningProfileName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("destination")) { startSigningJobParameter.setDestination(DestinationJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return startSigningJobParameter; }
public StartSigningJobParameter unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } StartSigningJobParameter startSigningJobParameter = new StartSigningJobParameter(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("signingProfileParameter")) { startSigningJobParameter .setSigningProfileParameter(SigningProfileParameterJsonUnmarshaller .getInstance() .unmarshall(context)); } else if (name.equals("signingProfileName")) { startSigningJobParameter.setSigningProfileName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("destination")) { startSigningJobParameter.setDestination(DestinationJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return startSigningJobParameter; }
startSigningJobParameter.setDestination(DestinationJsonUnmarshaller.getInstance().unmarshall(context));