// *** 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.composer.outputs;

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

@CustomType
public final class EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock {
    private String cidrBlock;
    private @Nullable String displayName;

    private EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock() {}
    public String cidrBlock() {
        return this.cidrBlock;
    }
    public Optional<String> displayName() {
        return Optional.ofNullable(this.displayName);
    }

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

    public static Builder builder(EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String cidrBlock;
        private @Nullable String displayName;
        public Builder() {}
        public Builder(EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.cidrBlock = defaults.cidrBlock;
    	      this.displayName = defaults.displayName;
        }

        @CustomType.Setter
        public Builder cidrBlock(String cidrBlock) {
            this.cidrBlock = Objects.requireNonNull(cidrBlock);
            return this;
        }
        @CustomType.Setter
        public Builder displayName(@Nullable String displayName) {
            this.displayName = displayName;
            return this;
        }
        public EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock build() {
            final var o = new EnvironmentConfigMasterAuthorizedNetworksConfigCidrBlock();
            o.cidrBlock = cidrBlock;
            o.displayName = displayName;
            return o;
        }
    }
}
