All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.accesscontextmanager.v1.outputs.EgressFromResponse Maven / Gradle / Ivy

// *** 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.googlenative.accesscontextmanager.v1.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class EgressFromResponse {
    /**
     * @return A list of identities that are allowed access through this [EgressPolicy]. Should be in the format of email address. The email address should represent individual user or service account only.
     * 
     */
    private List identities;
    /**
     * @return Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.
     * 
     */
    private String identityType;

    private EgressFromResponse() {}
    /**
     * @return A list of identities that are allowed access through this [EgressPolicy]. Should be in the format of email address. The email address should represent individual user or service account only.
     * 
     */
    public List identities() {
        return this.identities;
    }
    /**
     * @return Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access.
     * 
     */
    public String identityType() {
        return this.identityType;
    }

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

    public static Builder builder(EgressFromResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List identities;
        private String identityType;
        public Builder() {}
        public Builder(EgressFromResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.identities = defaults.identities;
    	      this.identityType = defaults.identityType;
        }

        @CustomType.Setter
        public Builder identities(List identities) {
            this.identities = Objects.requireNonNull(identities);
            return this;
        }
        public Builder identities(String... identities) {
            return identities(List.of(identities));
        }
        @CustomType.Setter
        public Builder identityType(String identityType) {
            this.identityType = Objects.requireNonNull(identityType);
            return this;
        }
        public EgressFromResponse build() {
            final var o = new EgressFromResponse();
            o.identities = identities;
            o.identityType = identityType;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy