/** * <p> * The source of the CMK's key material. When this value is <code>AWS_KMS</code>, AWS KMS created the key material. * When this value is <code>EXTERNAL</code>, the key material was imported from your existing key management * infrastructure or the CMK lacks key material. When this value is <code>AWS_CLOUDHSM</code>, the key material was * created in the AWS CloudHSM cluster associated with a custom key store. * </p> * * @param origin * The source of the CMK's key material. When this value is <code>AWS_KMS</code>, AWS KMS created the key * material. When this value is <code>EXTERNAL</code>, the key material was imported from your existing key * management infrastructure or the CMK lacks key material. When this value is <code>AWS_CLOUDHSM</code>, the * key material was created in the AWS CloudHSM cluster associated with a custom key store. * @return Returns a reference to this object so that method calls can be chained together. * @see OriginType */ public KeyMetadata withOrigin(String origin) { setOrigin(origin); return this; }
keyMetadata.setOrigin(context.getUnmarshaller(String.class).unmarshall(context));
/** * <p> * The source of the CMK's key material. When this value is <code>AWS_KMS</code>, AWS KMS created the key material. * When this value is <code>EXTERNAL</code>, the key material was imported from your existing key management * infrastructure or the CMK lacks key material. When this value is <code>AWS_CLOUDHSM</code>, the key material was * created in the AWS CloudHSM cluster associated with a custom key store. * </p> * * @param origin * The source of the CMK's key material. When this value is <code>AWS_KMS</code>, AWS KMS created the key * material. When this value is <code>EXTERNAL</code>, the key material was imported from your existing key * management infrastructure or the CMK lacks key material. When this value is <code>AWS_CLOUDHSM</code>, the * key material was created in the AWS CloudHSM cluster associated with a custom key store. * @return Returns a reference to this object so that method calls can be chained together. * @see OriginType */ public KeyMetadata withOrigin(String origin) { setOrigin(origin); return this; }
/** * <p> * The source of the CMK's key material. When this value is <code>AWS_KMS</code>, AWS KMS created the key material. * When this value is <code>EXTERNAL</code>, the key material was imported from your existing key management * infrastructure or the CMK lacks key material. * </p> * * @param origin * The source of the CMK's key material. When this value is <code>AWS_KMS</code>, AWS KMS created the key * material. When this value is <code>EXTERNAL</code>, the key material was imported from your existing key * management infrastructure or the CMK lacks key material. * @return Returns a reference to this object so that method calls can be chained together. * @see OriginType */ public KeyMetadata withOrigin(String origin) { setOrigin(origin); return this; }
.unmarshall(context)); } else if (name.equals("Origin")) { keyMetadata.setOrigin(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("CustomKeyStoreId")) {
.unmarshall(context)); } else if (name.equals("Origin")) { keyMetadata.setOrigin(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("ExpirationModel")) {
.unmarshall(context)); } else if (name.equals("Origin")) { keyMetadata.setOrigin(StringJsonUnmarshaller.getInstance() .unmarshall(context)); } else if (name.equals("CustomKeyStoreId")) {
keyMetadata.setOrigin(context.getUnmarshaller(String.class).unmarshall(context));
keyMetadata.setOrigin(context.getUnmarshaller(String.class).unmarshall(context));