// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.gcp.appengine.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class FlexibleAppVersionDeploymentZip {
    /**
     * @return files count
     * 
     */
    private @Nullable Integer filesCount;
    /**
     * @return Source URL
     * 
     */
    private String sourceUrl;

    private FlexibleAppVersionDeploymentZip() {}
    /**
     * @return files count
     * 
     */
    public Optional<Integer> filesCount() {
        return Optional.ofNullable(this.filesCount);
    }
    /**
     * @return Source URL
     * 
     */
    public String sourceUrl() {
        return this.sourceUrl;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(FlexibleAppVersionDeploymentZip defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Integer filesCount;
        private String sourceUrl;
        public Builder() {}
        public Builder(FlexibleAppVersionDeploymentZip defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.filesCount = defaults.filesCount;
    	      this.sourceUrl = defaults.sourceUrl;
        }

        @CustomType.Setter
        public Builder filesCount(@Nullable Integer filesCount) {
            this.filesCount = filesCount;
            return this;
        }
        @CustomType.Setter
        public Builder sourceUrl(String sourceUrl) {
            this.sourceUrl = Objects.requireNonNull(sourceUrl);
            return this;
        }
        public FlexibleAppVersionDeploymentZip build() {
            final var o = new FlexibleAppVersionDeploymentZip();
            o.filesCount = filesCount;
            o.sourceUrl = sourceUrl;
            return o;
        }
    }
}
