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

com.pulumi.azurenative.security.outputs.DefenderForDatabasesGcpOfferingResponseDefenderForDatabasesArcAutoProvisioning Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.azurenative.security.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 DefenderForDatabasesGcpOfferingResponseDefenderForDatabasesArcAutoProvisioning {
    /**
     * @return The service account email address in GCP for this offering
     * 
     */
    private @Nullable String serviceAccountEmailAddress;
    /**
     * @return The GCP workload identity provider id for this offering
     * 
     */
    private @Nullable String workloadIdentityProviderId;

    private DefenderForDatabasesGcpOfferingResponseDefenderForDatabasesArcAutoProvisioning() {}
    /**
     * @return The service account email address in GCP for this offering
     * 
     */
    public Optional serviceAccountEmailAddress() {
        return Optional.ofNullable(this.serviceAccountEmailAddress);
    }
    /**
     * @return The GCP workload identity provider id for this offering
     * 
     */
    public Optional workloadIdentityProviderId() {
        return Optional.ofNullable(this.workloadIdentityProviderId);
    }

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

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

        @CustomType.Setter
        public Builder serviceAccountEmailAddress(@Nullable String serviceAccountEmailAddress) {

            this.serviceAccountEmailAddress = serviceAccountEmailAddress;
            return this;
        }
        @CustomType.Setter
        public Builder workloadIdentityProviderId(@Nullable String workloadIdentityProviderId) {

            this.workloadIdentityProviderId = workloadIdentityProviderId;
            return this;
        }
        public DefenderForDatabasesGcpOfferingResponseDefenderForDatabasesArcAutoProvisioning build() {
            final var _resultValue = new DefenderForDatabasesGcpOfferingResponseDefenderForDatabasesArcAutoProvisioning();
            _resultValue.serviceAccountEmailAddress = serviceAccountEmailAddress;
            _resultValue.workloadIdentityProviderId = workloadIdentityProviderId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy