/** * <p> * The state of the CMK. * </p> * <p> * For more information about how key state affects the use of a CMK, see <a * href="http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects the Use of a * Customer Master Key</a> in the <i>AWS Key Management Service Developer Guide</i>. * </p> * * @param keyState * The state of the CMK.</p> * <p> * For more information about how key state affects the use of a CMK, see <a * href="http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects the Use * of a Customer Master Key</a> in the <i>AWS Key Management Service Developer Guide</i>. * @return Returns a reference to this object so that method calls can be chained together. * @see KeyState */ public KeyMetadata withKeyState(String keyState) { setKeyState(keyState); return this; }
keyMetadata.setKeyState(context.getUnmarshaller(String.class).unmarshall(context));
.unmarshall(context)); } else if (name.equals("KeyState")) { keyMetadata.setKeyState(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("DeletionDate")) {
/** * <p> * The state of the CMK. * </p> * <p> * For more information about how key state affects the use of a CMK, see <a * href="http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects the Use of a * Customer Master Key</a> in the <i>AWS Key Management Service Developer Guide</i>. * </p> * * @param keyState * The state of the CMK.</p> * <p> * For more information about how key state affects the use of a CMK, see <a * href="http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects the Use * of a Customer Master Key</a> in the <i>AWS Key Management Service Developer Guide</i>. * @return Returns a reference to this object so that method calls can be chained together. * @see KeyState */ public KeyMetadata withKeyState(String keyState) { setKeyState(keyState); return this; }
/** * <p> * The state of the CMK. * </p> * <p> * For more information about how key state affects the use of a CMK, see <a * href="http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects the Use of a * Customer Master Key</a> in the <i>AWS Key Management Service Developer Guide</i>. * </p> * * @param keyState * The state of the CMK.</p> * <p> * For more information about how key state affects the use of a CMK, see <a * href="http://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects the Use * of a Customer Master Key</a> in the <i>AWS Key Management Service Developer Guide</i>. * @return Returns a reference to this object so that method calls can be chained together. * @see KeyState */ public KeyMetadata withKeyState(String keyState) { setKeyState(keyState); return this; }
.unmarshall(context)); } else if (name.equals("KeyState")) { keyMetadata.setKeyState(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("DeletionDate")) {
.unmarshall(context)); } else if (name.equals("KeyState")) { keyMetadata.setKeyState(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("DeletionDate")) {
keyMetadata.setKeyState(context.getUnmarshaller(String.class).unmarshall(context));
keyMetadata.setKeyState(context.getUnmarshaller(String.class).unmarshall(context));