/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(GetVaultRequest o) { vaultId(o.getVaultId()); opcRequestId(o.getOpcRequestId()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(UpdateKeyRequest o) { keyId(o.getKeyId()); updateKeyDetails(o.getUpdateKeyDetails()); ifMatch(o.getIfMatch()); opcRequestId(o.getOpcRequestId()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(CancelVaultDeletionRequest o) { vaultId(o.getVaultId()); ifMatch(o.getIfMatch()); opcRequestId(o.getOpcRequestId()); opcRetryToken(o.getOpcRetryToken()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(ListKeysRequest o) { compartmentId(o.getCompartmentId()); limit(o.getLimit()); page(o.getPage()); opcRequestId(o.getOpcRequestId()); sortBy(o.getSortBy()); sortOrder(o.getSortOrder()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(ListVaultsRequest o) { compartmentId(o.getCompartmentId()); limit(o.getLimit()); page(o.getPage()); opcRequestId(o.getOpcRequestId()); sortBy(o.getSortBy()); sortOrder(o.getSortOrder()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(ListKeyVersionsRequest o) { keyId(o.getKeyId()); limit(o.getLimit()); page(o.getPage()); opcRequestId(o.getOpcRequestId()); sortBy(o.getSortBy()); sortOrder(o.getSortOrder()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(ScheduleVaultDeletionRequest o) { vaultId(o.getVaultId()); scheduleVaultDeletionDetails(o.getScheduleVaultDeletionDetails()); ifMatch(o.getIfMatch()); opcRequestId(o.getOpcRequestId()); opcRetryToken(o.getOpcRetryToken()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(UpdateVaultRequest o) { vaultId(o.getVaultId()); updateVaultDetails(o.getUpdateVaultDetails()); ifMatch(o.getIfMatch()); opcRequestId(o.getOpcRequestId()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(DisableKeyRequest o) { keyId(o.getKeyId()); ifMatch(o.getIfMatch()); opcRequestId(o.getOpcRequestId()); opcRetryToken(o.getOpcRetryToken()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(EnableKeyRequest o) { keyId(o.getKeyId()); ifMatch(o.getIfMatch()); opcRequestId(o.getOpcRequestId()); opcRetryToken(o.getOpcRetryToken()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(CreateKeyRequest o) { createKeyDetails(o.getCreateKeyDetails()); opcRequestId(o.getOpcRequestId()); opcRetryToken(o.getOpcRetryToken()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(CreateVaultRequest o) { createVaultDetails(o.getCreateVaultDetails()); opcRequestId(o.getOpcRequestId()); opcRetryToken(o.getOpcRetryToken()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(CreateKeyVersionRequest o) { keyId(o.getKeyId()); opcRequestId(o.getOpcRequestId()); opcRetryToken(o.getOpcRetryToken()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(GetKeyVersionRequest o) { keyId(o.getKeyId()); keyVersionId(o.getKeyVersionId()); opcRequestId(o.getOpcRequestId()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(EncryptRequest o) { encryptDataDetails(o.getEncryptDataDetails()); opcRequestId(o.getOpcRequestId()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(GenerateDataEncryptionKeyRequest o) { generateKeyDetails(o.getGenerateKeyDetails()); opcRequestId(o.getOpcRequestId()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(GetKeyRequest o) { keyId(o.getKeyId()); opcRequestId(o.getOpcRequestId()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Copy method to populate the builder with values from the given instance. * @return this builder instance */ public Builder copy(DecryptRequest o) { decryptDataDetails(o.getDecryptDataDetails()); opcRequestId(o.getOpcRequestId()); invocationCallback(o.getInvocationCallback()); return this; }
/** * Build the instance of EncryptRequest as configured by this builder * * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account, * while the method {@link Builder#buildWithoutInvocationCallback} does not. * * This is the preferred method to build an instance. * * @return instance of EncryptRequest */ public EncryptRequest build() { EncryptRequest request = buildWithoutInvocationCallback(); request.setInvocationCallback(invocationCallback); return request; } }
/** * Build the instance of GenerateDataEncryptionKeyRequest as configured by this builder * * Note that this method takes calls to {@link Builder#invocationCallback(com.oracle.bmc.util.internal.Consumer)} into account, * while the method {@link Builder#buildWithoutInvocationCallback} does not. * * This is the preferred method to build an instance. * * @return instance of GenerateDataEncryptionKeyRequest */ public GenerateDataEncryptionKeyRequest build() { GenerateDataEncryptionKeyRequest request = buildWithoutInvocationCallback(); request.setInvocationCallback(invocationCallback); return request; } }