/** * <p> * The name of the certificate. * </p> * * @param certificateName * The name of the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public CodeSigningCertificateChain withCertificateName(String certificateName) { setCertificateName(certificateName); return this; }
if (context.testExpression("certificateName", targetDepth)) { context.nextToken(); codeSigningCertificateChain.setCertificateName(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The name of the certificate. * </p> * * @param certificateName * The name of the certificate. * @return Returns a reference to this object so that method calls can be chained together. */ public CodeSigningCertificateChain withCertificateName(String certificateName) { setCertificateName(certificateName); 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; }
if (context.testExpression("certificateName", targetDepth)) { context.nextToken(); codeSigningCertificateChain.setCertificateName(context.getUnmarshaller(String.class).unmarshall(context));