/** * <p> * Specifies whether the CMK's key material expires. This value is present only when <code>Origin</code> is * <code>EXTERNAL</code>, otherwise this value is omitted. * </p> * * @param expirationModel * Specifies whether the CMK's key material expires. This value is present only when <code>Origin</code> is * <code>EXTERNAL</code>, otherwise this value is omitted. * @return Returns a reference to this object so that method calls can be chained together. * @see ExpirationModelType */ public KeyMetadata withExpirationModel(String expirationModel) { setExpirationModel(expirationModel); return this; }
keyMetadata.setExpirationModel(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * Specifies whether the CMK's key material expires. This value is present only when <code>Origin</code> is * <code>EXTERNAL</code>, otherwise this value is omitted. * </p> * * @param expirationModel * Specifies whether the CMK's key material expires. This value is present only when <code>Origin</code> is * <code>EXTERNAL</code>, otherwise this value is omitted. * @return Returns a reference to this object so that method calls can be chained together. * @see ExpirationModelType */ public KeyMetadata withExpirationModel(String expirationModel) { setExpirationModel(expirationModel); return this; }
/** * <p> * Specifies whether the CMK's key material expires. This value is present only when <code>Origin</code> is * <code>EXTERNAL</code>, otherwise this value is omitted. * </p> * * @param expirationModel * Specifies whether the CMK's key material expires. This value is present only when <code>Origin</code> is * <code>EXTERNAL</code>, otherwise this value is omitted. * @return Returns a reference to this object so that method calls can be chained together. * @see ExpirationModelType */ public KeyMetadata withExpirationModel(String expirationModel) { setExpirationModel(expirationModel); return this; }
.unmarshall(context)); } else if (name.equals("ExpirationModel")) { keyMetadata.setExpirationModel(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KeyManager")) {
.unmarshall(context)); } else if (name.equals("ExpirationModel")) { keyMetadata.setExpirationModel(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else {
.unmarshall(context)); } else if (name.equals("ExpirationModel")) { keyMetadata.setExpirationModel(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KeyManager")) {
keyMetadata.setExpirationModel(context.getUnmarshaller(String.class).unmarshall(context));
keyMetadata.setExpirationModel(context.getUnmarshaller(String.class).unmarshall(context));