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

com.pulumi.azurenative.appplatform.outputs.AcceleratorBasicAuthSettingResponse 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.azurenative.appplatform.outputs;

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

@CustomType
public final class AcceleratorBasicAuthSettingResponse {
    /**
     * @return The type of the auth setting.
     * Expected value is 'BasicAuth'.
     * 
     */
    private String authType;
    /**
     * @return Resource Id of CA certificate for https URL of Git repository.
     * 
     */
    private @Nullable String caCertResourceId;
    /**
     * @return Username of git repository basic auth.
     * 
     */
    private String username;

    private AcceleratorBasicAuthSettingResponse() {}
    /**
     * @return The type of the auth setting.
     * Expected value is 'BasicAuth'.
     * 
     */
    public String authType() {
        return this.authType;
    }
    /**
     * @return Resource Id of CA certificate for https URL of Git repository.
     * 
     */
    public Optional caCertResourceId() {
        return Optional.ofNullable(this.caCertResourceId);
    }
    /**
     * @return Username of git repository basic auth.
     * 
     */
    public String username() {
        return this.username;
    }

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

    public static Builder builder(AcceleratorBasicAuthSettingResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String authType;
        private @Nullable String caCertResourceId;
        private String username;
        public Builder() {}
        public Builder(AcceleratorBasicAuthSettingResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authType = defaults.authType;
    	      this.caCertResourceId = defaults.caCertResourceId;
    	      this.username = defaults.username;
        }

        @CustomType.Setter
        public Builder authType(String authType) {
            if (authType == null) {
              throw new MissingRequiredPropertyException("AcceleratorBasicAuthSettingResponse", "authType");
            }
            this.authType = authType;
            return this;
        }
        @CustomType.Setter
        public Builder caCertResourceId(@Nullable String caCertResourceId) {

            this.caCertResourceId = caCertResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder username(String username) {
            if (username == null) {
              throw new MissingRequiredPropertyException("AcceleratorBasicAuthSettingResponse", "username");
            }
            this.username = username;
            return this;
        }
        public AcceleratorBasicAuthSettingResponse build() {
            final var _resultValue = new AcceleratorBasicAuthSettingResponse();
            _resultValue.authType = authType;
            _resultValue.caCertResourceId = caCertResourceId;
            _resultValue.username = username;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy