/** * <p> * The cryptographic operations for which you can use the CMK. Currently the only allowed value is * <code>ENCRYPT_DECRYPT</code>, which means you can use the CMK for the <a>Encrypt</a> and <a>Decrypt</a> * operations. * </p> * * @param keyUsage * The cryptographic operations for which you can use the CMK. Currently the only allowed value is * <code>ENCRYPT_DECRYPT</code>, which means you can use the CMK for the <a>Encrypt</a> and <a>Decrypt</a> * operations. * @return Returns a reference to this object so that method calls can be chained together. * @see KeyUsageType */ public KeyMetadata withKeyUsage(String keyUsage) { setKeyUsage(keyUsage); return this; }
keyMetadata.setKeyUsage(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The cryptographic operations for which you can use the CMK. Currently the only allowed value is * <code>ENCRYPT_DECRYPT</code>, which means you can use the CMK for the <a>Encrypt</a> and <a>Decrypt</a> * operations. * </p> * * @param keyUsage * The cryptographic operations for which you can use the CMK. Currently the only allowed value is * <code>ENCRYPT_DECRYPT</code>, which means you can use the CMK for the <a>Encrypt</a> and <a>Decrypt</a> * operations. * @return Returns a reference to this object so that method calls can be chained together. * @see KeyUsageType */ public KeyMetadata withKeyUsage(String keyUsage) { setKeyUsage(keyUsage); return this; }
/** * <p> * The cryptographic operations for which you can use the CMK. Currently the only allowed value is * <code>ENCRYPT_DECRYPT</code>, which means you can use the CMK for the <a>Encrypt</a> and <a>Decrypt</a> * operations. * </p> * * @param keyUsage * The cryptographic operations for which you can use the CMK. Currently the only allowed value is * <code>ENCRYPT_DECRYPT</code>, which means you can use the CMK for the <a>Encrypt</a> and <a>Decrypt</a> * operations. * @return Returns a reference to this object so that method calls can be chained together. * @see KeyUsageType */ public KeyMetadata withKeyUsage(String keyUsage) { setKeyUsage(keyUsage); return this; }
.unmarshall(context)); } else if (name.equals("KeyUsage")) { keyMetadata.setKeyUsage(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KeyState")) {
.unmarshall(context)); } else if (name.equals("KeyUsage")) { keyMetadata.setKeyUsage(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KeyState")) {
.unmarshall(context)); } else if (name.equals("KeyUsage")) { keyMetadata.setKeyUsage(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("KeyState")) {
keyMetadata.setKeyUsage(context.getUnmarshaller(String.class).unmarshall(context));
keyMetadata.setKeyUsage(context.getUnmarshaller(String.class).unmarshall(context));