/** * <p> * Specifies whether the CMK is enabled. When <code>KeyState</code> is <code>Enabled</code> this value is true, * otherwise it is false. * </p> * * @param enabled * Specifies whether the CMK is enabled. When <code>KeyState</code> is <code>Enabled</code> this value is * true, otherwise it is false. * @return Returns a reference to this object so that method calls can be chained together. */ public KeyMetadata withEnabled(Boolean enabled) { setEnabled(enabled); return this; }
keyMetadata.setEnabled(context.getUnmarshaller(Boolean.class).unmarshall(context));
/** * <p> * Specifies whether the CMK is enabled. When <code>KeyState</code> is <code>Enabled</code> this value is true, * otherwise it is false. * </p> * * @param enabled * Specifies whether the CMK is enabled. When <code>KeyState</code> is <code>Enabled</code> this value is * true, otherwise it is false. * @return Returns a reference to this object so that method calls can be chained together. */ public KeyMetadata withEnabled(Boolean enabled) { setEnabled(enabled); return this; }
/** * <p> * Specifies whether the CMK is enabled. When <code>KeyState</code> is <code>Enabled</code> this value is true, * otherwise it is false. * </p> * * @param enabled * Specifies whether the CMK is enabled. When <code>KeyState</code> is <code>Enabled</code> this value is * true, otherwise it is false. * @return Returns a reference to this object so that method calls can be chained together. */ public KeyMetadata withEnabled(Boolean enabled) { setEnabled(enabled); return this; }
.unmarshall(context)); } else if (name.equals("Enabled")) { keyMetadata.setEnabled(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Description")) {
.unmarshall(context)); } else if (name.equals("Enabled")) { keyMetadata.setEnabled(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Description")) {
.unmarshall(context)); } else if (name.equals("Enabled")) { keyMetadata.setEnabled(BooleanJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("Description")) {
keyMetadata.setEnabled(context.getUnmarshaller(Boolean.class).unmarshall(context));
keyMetadata.setEnabled(context.getUnmarshaller(Boolean.class).unmarshall(context));