/** * <p> * A base64 encoded binary representation of the code signing certificate chain. * </p> * * @param inlineDocument * A base64 encoded binary representation of the code signing certificate chain. * @return Returns a reference to this object so that method calls can be chained together. */ public CodeSigningCertificateChain withInlineDocument(String inlineDocument) { setInlineDocument(inlineDocument); return this; }
codeSigningCertificateChain.setInlineDocument(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * A base64 encoded binary representation of the code signing certificate chain. * </p> * * @param inlineDocument * A base64 encoded binary representation of the code signing certificate chain. * @return Returns a reference to this object so that method calls can be chained together. */ public CodeSigningCertificateChain withInlineDocument(String inlineDocument) { setInlineDocument(inlineDocument); return this; }
public CodeSigningCertificateChain unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } CodeSigningCertificateChain codeSigningCertificateChain = new CodeSigningCertificateChain(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("certificateName")) { codeSigningCertificateChain.setCertificateName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("inlineDocument")) { codeSigningCertificateChain.setInlineDocument(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return codeSigningCertificateChain; }
public CodeSigningCertificateChain unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } CodeSigningCertificateChain codeSigningCertificateChain = new CodeSigningCertificateChain(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("certificateName")) { codeSigningCertificateChain.setCertificateName(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("inlineDocument")) { codeSigningCertificateChain.setInlineDocument(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return codeSigningCertificateChain; }
codeSigningCertificateChain.setInlineDocument(context.getUnmarshaller(String.class).unmarshall(context));