// *** 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.dataloss.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 PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeStoredType {
    /**
     * @return (Output)
     * The creation timestamp of an inspectTemplate. Set by the server.
     * 
     */
    private @Nullable String createTime;
    /**
     * @return Resource name of the requested StoredInfoType, for example `organizations/433245324/storedInfoTypes/432452342`
     * or `projects/project-id/storedInfoTypes/432452342`.
     * 
     */
    private String name;

    private PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeStoredType() {}
    /**
     * @return (Output)
     * The creation timestamp of an inspectTemplate. Set by the server.
     * 
     */
    public Optional<String> createTime() {
        return Optional.ofNullable(this.createTime);
    }
    /**
     * @return Resource name of the requested StoredInfoType, for example `organizations/433245324/storedInfoTypes/432452342`
     * or `projects/project-id/storedInfoTypes/432452342`.
     * 
     */
    public String name() {
        return this.name;
    }

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

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

        @CustomType.Setter
        public Builder createTime(@Nullable String createTime) {
            this.createTime = createTime;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        public PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeStoredType build() {
            final var o = new PreventionJobTriggerInspectJobInspectConfigCustomInfoTypeStoredType();
            o.createTime = createTime;
            o.name = name;
            return o;
        }
    }
}
