/** * <p> * The KMS master key ARN used for the KMS encryption. * </p> * * @param kMSMasterKeyArn * The KMS master key ARN used for the KMS encryption. * @return Returns a reference to this object so that method calls can be chained together. */ public SSEDescription withKMSMasterKeyArn(String kMSMasterKeyArn) { setKMSMasterKeyArn(kMSMasterKeyArn); return this; }
sSEDescription.setKMSMasterKeyArn(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The KMS master key ARN used for the KMS encryption. * </p> * * @param kMSMasterKeyArn * The KMS master key ARN used for the KMS encryption. * @return Returns a reference to this object so that method calls can be chained together. */ public SSEDescription withKMSMasterKeyArn(String kMSMasterKeyArn) { setKMSMasterKeyArn(kMSMasterKeyArn); return this; }
public SSEDescription unmarshall(JsonUnmarshallerContext context) throws Exception { AwsJsonReader reader = context.getReader(); if (!reader.isContainer()) { reader.skipValue(); return null; } SSEDescription sSEDescription = new SSEDescription(); reader.beginObject(); while (reader.hasNext()) { String name = reader.nextName(); if (name.equals("Status")) { sSEDescription.setStatus(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("SSEType")) { sSEDescription.setSSEType(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KMSMasterKeyArn")) { sSEDescription.setKMSMasterKeyArn(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else { reader.skipValue(); } } reader.endObject(); return sSEDescription; }
sSEDescription.setKMSMasterKeyArn(context.getUnmarshaller(String.class).unmarshall(context));