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

com.pulumi.azurenative.servicelinker.outputs.GetLinkerResult 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.servicelinker.outputs;

import com.pulumi.azurenative.servicelinker.outputs.AccessKeyInfoBaseResponse;
import com.pulumi.azurenative.servicelinker.outputs.AzureResourceResponse;
import com.pulumi.azurenative.servicelinker.outputs.ConfigurationInfoResponse;
import com.pulumi.azurenative.servicelinker.outputs.ConfluentBootstrapServerResponse;
import com.pulumi.azurenative.servicelinker.outputs.ConfluentSchemaRegistryResponse;
import com.pulumi.azurenative.servicelinker.outputs.PublicNetworkSolutionResponse;
import com.pulumi.azurenative.servicelinker.outputs.SecretAuthInfoResponse;
import com.pulumi.azurenative.servicelinker.outputs.SecretStoreResponse;
import com.pulumi.azurenative.servicelinker.outputs.SelfHostedServerResponse;
import com.pulumi.azurenative.servicelinker.outputs.ServicePrincipalCertificateAuthInfoResponse;
import com.pulumi.azurenative.servicelinker.outputs.ServicePrincipalSecretAuthInfoResponse;
import com.pulumi.azurenative.servicelinker.outputs.SystemAssignedIdentityAuthInfoResponse;
import com.pulumi.azurenative.servicelinker.outputs.SystemDataResponse;
import com.pulumi.azurenative.servicelinker.outputs.UserAccountAuthInfoResponse;
import com.pulumi.azurenative.servicelinker.outputs.UserAssignedIdentityAuthInfoResponse;
import com.pulumi.azurenative.servicelinker.outputs.VNetSolutionResponse;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetLinkerResult {
    /**
     * @return The authentication type.
     * 
     */
    private @Nullable Object authInfo;
    /**
     * @return The application client type
     * 
     */
    private @Nullable String clientType;
    /**
     * @return The connection information consumed by applications, including secrets, connection strings.
     * 
     */
    private @Nullable ConfigurationInfoResponse configurationInfo;
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    private String id;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return The provisioning state.
     * 
     */
    private String provisioningState;
    /**
     * @return The network solution.
     * 
     */
    private @Nullable PublicNetworkSolutionResponse publicNetworkSolution;
    /**
     * @return connection scope in source service.
     * 
     */
    private @Nullable String scope;
    /**
     * @return An option to store secret value in secure place
     * 
     */
    private @Nullable SecretStoreResponse secretStore;
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    private SystemDataResponse systemData;
    /**
     * @return The target service properties
     * 
     */
    private @Nullable Object targetService;
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    private String type;
    /**
     * @return The VNet solution.
     * 
     */
    private @Nullable VNetSolutionResponse vNetSolution;

    private GetLinkerResult() {}
    /**
     * @return The authentication type.
     * 
     */
    public Optional authInfo() {
        return Optional.ofNullable(this.authInfo);
    }
    /**
     * @return The application client type
     * 
     */
    public Optional clientType() {
        return Optional.ofNullable(this.clientType);
    }
    /**
     * @return The connection information consumed by applications, including secrets, connection strings.
     * 
     */
    public Optional configurationInfo() {
        return Optional.ofNullable(this.configurationInfo);
    }
    /**
     * @return Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return The provisioning state.
     * 
     */
    public String provisioningState() {
        return this.provisioningState;
    }
    /**
     * @return The network solution.
     * 
     */
    public Optional publicNetworkSolution() {
        return Optional.ofNullable(this.publicNetworkSolution);
    }
    /**
     * @return connection scope in source service.
     * 
     */
    public Optional scope() {
        return Optional.ofNullable(this.scope);
    }
    /**
     * @return An option to store secret value in secure place
     * 
     */
    public Optional secretStore() {
        return Optional.ofNullable(this.secretStore);
    }
    /**
     * @return Azure Resource Manager metadata containing createdBy and modifiedBy information.
     * 
     */
    public SystemDataResponse systemData() {
        return this.systemData;
    }
    /**
     * @return The target service properties
     * 
     */
    public Optional targetService() {
        return Optional.ofNullable(this.targetService);
    }
    /**
     * @return The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
     * 
     */
    public String type() {
        return this.type;
    }
    /**
     * @return The VNet solution.
     * 
     */
    public Optional vNetSolution() {
        return Optional.ofNullable(this.vNetSolution);
    }

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

    public static Builder builder(GetLinkerResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable Object authInfo;
        private @Nullable String clientType;
        private @Nullable ConfigurationInfoResponse configurationInfo;
        private String id;
        private String name;
        private String provisioningState;
        private @Nullable PublicNetworkSolutionResponse publicNetworkSolution;
        private @Nullable String scope;
        private @Nullable SecretStoreResponse secretStore;
        private SystemDataResponse systemData;
        private @Nullable Object targetService;
        private String type;
        private @Nullable VNetSolutionResponse vNetSolution;
        public Builder() {}
        public Builder(GetLinkerResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authInfo = defaults.authInfo;
    	      this.clientType = defaults.clientType;
    	      this.configurationInfo = defaults.configurationInfo;
    	      this.id = defaults.id;
    	      this.name = defaults.name;
    	      this.provisioningState = defaults.provisioningState;
    	      this.publicNetworkSolution = defaults.publicNetworkSolution;
    	      this.scope = defaults.scope;
    	      this.secretStore = defaults.secretStore;
    	      this.systemData = defaults.systemData;
    	      this.targetService = defaults.targetService;
    	      this.type = defaults.type;
    	      this.vNetSolution = defaults.vNetSolution;
        }

        @CustomType.Setter
        public Builder authInfo(@Nullable Object authInfo) {

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

            this.clientType = clientType;
            return this;
        }
        @CustomType.Setter
        public Builder configurationInfo(@Nullable ConfigurationInfoResponse configurationInfo) {

            this.configurationInfo = configurationInfo;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetLinkerResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetLinkerResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder provisioningState(String provisioningState) {
            if (provisioningState == null) {
              throw new MissingRequiredPropertyException("GetLinkerResult", "provisioningState");
            }
            this.provisioningState = provisioningState;
            return this;
        }
        @CustomType.Setter
        public Builder publicNetworkSolution(@Nullable PublicNetworkSolutionResponse publicNetworkSolution) {

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

            this.scope = scope;
            return this;
        }
        @CustomType.Setter
        public Builder secretStore(@Nullable SecretStoreResponse secretStore) {

            this.secretStore = secretStore;
            return this;
        }
        @CustomType.Setter
        public Builder systemData(SystemDataResponse systemData) {
            if (systemData == null) {
              throw new MissingRequiredPropertyException("GetLinkerResult", "systemData");
            }
            this.systemData = systemData;
            return this;
        }
        @CustomType.Setter
        public Builder targetService(@Nullable Object targetService) {

            this.targetService = targetService;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetLinkerResult", "type");
            }
            this.type = type;
            return this;
        }
        @CustomType.Setter
        public Builder vNetSolution(@Nullable VNetSolutionResponse vNetSolution) {

            this.vNetSolution = vNetSolution;
            return this;
        }
        public GetLinkerResult build() {
            final var _resultValue = new GetLinkerResult();
            _resultValue.authInfo = authInfo;
            _resultValue.clientType = clientType;
            _resultValue.configurationInfo = configurationInfo;
            _resultValue.id = id;
            _resultValue.name = name;
            _resultValue.provisioningState = provisioningState;
            _resultValue.publicNetworkSolution = publicNetworkSolution;
            _resultValue.scope = scope;
            _resultValue.secretStore = secretStore;
            _resultValue.systemData = systemData;
            _resultValue.targetService = targetService;
            _resultValue.type = type;
            _resultValue.vNetSolution = vNetSolution;
            return _resultValue;
        }
    }
}