public void parseAndVerify()

in azure-functions-java-sdktypes/src/main/java/com/microsoft/azure/functions/sdktype/blob/BlobClientMetaData.java [48:64]


    public void parseAndVerify() {
        // transform the raw values into typed fields
        this.containerName = (String) rawValues.get("ContainerName");
        this.blobName = (String) rawValues.get("BlobName");
        this.connectionEnvVar = (String) rawValues.get("Connection");

        // do checks
        if (containerName == null || containerName.isEmpty()) {
            throw new IllegalArgumentException("containerName is required");
        }
        if (blobName == null || blobName.isEmpty()) {
            throw new IllegalArgumentException("blobName is required");
        }
        if (connectionEnvVar == null || connectionEnvVar.isEmpty()) {
            throw new IllegalArgumentException("connectionEnvVar is required");
        }
    }