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

com.pulumi.azurenative.security.ConnectorArgs Maven / Gradle / Ivy

There is a newer version: 2.78.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;

import com.pulumi.azurenative.security.inputs.AwAssumeRoleAuthenticationDetailsPropertiesArgs;
import com.pulumi.azurenative.security.inputs.AwsCredsAuthenticationDetailsPropertiesArgs;
import com.pulumi.azurenative.security.inputs.GcpCredentialsDetailsPropertiesArgs;
import com.pulumi.azurenative.security.inputs.HybridComputeSettingsPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class ConnectorArgs extends com.pulumi.resources.ResourceArgs {

    public static final ConnectorArgs Empty = new ConnectorArgs();

    /**
     * Settings for authentication management, these settings are relevant only for the cloud connector.
     * 
     */
    @Import(name="authenticationDetails")
    private @Nullable Output authenticationDetails;

    /**
     * @return Settings for authentication management, these settings are relevant only for the cloud connector.
     * 
     */
    public Optional> authenticationDetails() {
        return Optional.ofNullable(this.authenticationDetails);
    }

    /**
     * Name of the cloud account connector
     * 
     */
    @Import(name="connectorName")
    private @Nullable Output connectorName;

    /**
     * @return Name of the cloud account connector
     * 
     */
    public Optional> connectorName() {
        return Optional.ofNullable(this.connectorName);
    }

    /**
     * Settings for hybrid compute management. These settings are relevant only for Arc autoProvision (Hybrid Compute).
     * 
     */
    @Import(name="hybridComputeSettings")
    private @Nullable Output hybridComputeSettings;

    /**
     * @return Settings for hybrid compute management. These settings are relevant only for Arc autoProvision (Hybrid Compute).
     * 
     */
    public Optional> hybridComputeSettings() {
        return Optional.ofNullable(this.hybridComputeSettings);
    }

    private ConnectorArgs() {}

    private ConnectorArgs(ConnectorArgs $) {
        this.authenticationDetails = $.authenticationDetails;
        this.connectorName = $.connectorName;
        this.hybridComputeSettings = $.hybridComputeSettings;
    }

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

    public static final class Builder {
        private ConnectorArgs $;

        public Builder() {
            $ = new ConnectorArgs();
        }

        public Builder(ConnectorArgs defaults) {
            $ = new ConnectorArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param authenticationDetails Settings for authentication management, these settings are relevant only for the cloud connector.
         * 
         * @return builder
         * 
         */
        public Builder authenticationDetails(@Nullable Output authenticationDetails) {
            $.authenticationDetails = authenticationDetails;
            return this;
        }

        /**
         * @param authenticationDetails Settings for authentication management, these settings are relevant only for the cloud connector.
         * 
         * @return builder
         * 
         */
        public Builder authenticationDetails(Object authenticationDetails) {
            return authenticationDetails(Output.of(authenticationDetails));
        }

        /**
         * @param connectorName Name of the cloud account connector
         * 
         * @return builder
         * 
         */
        public Builder connectorName(@Nullable Output connectorName) {
            $.connectorName = connectorName;
            return this;
        }

        /**
         * @param connectorName Name of the cloud account connector
         * 
         * @return builder
         * 
         */
        public Builder connectorName(String connectorName) {
            return connectorName(Output.of(connectorName));
        }

        /**
         * @param hybridComputeSettings Settings for hybrid compute management. These settings are relevant only for Arc autoProvision (Hybrid Compute).
         * 
         * @return builder
         * 
         */
        public Builder hybridComputeSettings(@Nullable Output hybridComputeSettings) {
            $.hybridComputeSettings = hybridComputeSettings;
            return this;
        }

        /**
         * @param hybridComputeSettings Settings for hybrid compute management. These settings are relevant only for Arc autoProvision (Hybrid Compute).
         * 
         * @return builder
         * 
         */
        public Builder hybridComputeSettings(HybridComputeSettingsPropertiesArgs hybridComputeSettings) {
            return hybridComputeSettings(Output.of(hybridComputeSettings));
        }

        public ConnectorArgs build() {
            return $;
        }
    }

}