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

com.pulumi.azurenative.workloads.inputs.SapNetWeaverProviderInstancePropertiesArgs Maven / Gradle / Ivy

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

import com.pulumi.azurenative.workloads.enums.SslPreference;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Gets or sets the provider properties.
 * 
 */
public final class SapNetWeaverProviderInstancePropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final SapNetWeaverProviderInstancePropertiesArgs Empty = new SapNetWeaverProviderInstancePropertiesArgs();

    /**
     * The provider type. For example, the value can be SapHana.
     * Expected value is 'SapNetWeaver'.
     * 
     */
    @Import(name="providerType", required=true)
    private Output providerType;

    /**
     * @return The provider type. For example, the value can be SapHana.
     * Expected value is 'SapNetWeaver'.
     * 
     */
    public Output providerType() {
        return this.providerType;
    }

    /**
     * Gets or sets the SAP Client ID.
     * 
     */
    @Import(name="sapClientId")
    private @Nullable Output sapClientId;

    /**
     * @return Gets or sets the SAP Client ID.
     * 
     */
    public Optional> sapClientId() {
        return Optional.ofNullable(this.sapClientId);
    }

    /**
     * Gets or sets the list of HostFile Entries
     * 
     */
    @Import(name="sapHostFileEntries")
    private @Nullable Output> sapHostFileEntries;

    /**
     * @return Gets or sets the list of HostFile Entries
     * 
     */
    public Optional>> sapHostFileEntries() {
        return Optional.ofNullable(this.sapHostFileEntries);
    }

    /**
     * Gets or sets the target virtual machine IP Address/FQDN.
     * 
     */
    @Import(name="sapHostname")
    private @Nullable Output sapHostname;

    /**
     * @return Gets or sets the target virtual machine IP Address/FQDN.
     * 
     */
    public Optional> sapHostname() {
        return Optional.ofNullable(this.sapHostname);
    }

    /**
     * Gets or sets the instance number of SAP NetWeaver.
     * 
     */
    @Import(name="sapInstanceNr")
    private @Nullable Output sapInstanceNr;

    /**
     * @return Gets or sets the instance number of SAP NetWeaver.
     * 
     */
    public Optional> sapInstanceNr() {
        return Optional.ofNullable(this.sapInstanceNr);
    }

    /**
     * Sets the SAP password.
     * 
     */
    @Import(name="sapPassword")
    private @Nullable Output sapPassword;

    /**
     * @return Sets the SAP password.
     * 
     */
    public Optional> sapPassword() {
        return Optional.ofNullable(this.sapPassword);
    }

    /**
     * Gets or sets the key vault URI to secret with the SAP password.
     * 
     */
    @Import(name="sapPasswordUri")
    private @Nullable Output sapPasswordUri;

    /**
     * @return Gets or sets the key vault URI to secret with the SAP password.
     * 
     */
    public Optional> sapPasswordUri() {
        return Optional.ofNullable(this.sapPasswordUri);
    }

    /**
     * Gets or sets the SAP HTTP port number.
     * 
     */
    @Import(name="sapPortNumber")
    private @Nullable Output sapPortNumber;

    /**
     * @return Gets or sets the SAP HTTP port number.
     * 
     */
    public Optional> sapPortNumber() {
        return Optional.ofNullable(this.sapPortNumber);
    }

    /**
     * Gets or sets the SAP System Identifier
     * 
     */
    @Import(name="sapSid")
    private @Nullable Output sapSid;

    /**
     * @return Gets or sets the SAP System Identifier
     * 
     */
    public Optional> sapSid() {
        return Optional.ofNullable(this.sapSid);
    }

    /**
     * Gets or sets the SAP user name.
     * 
     */
    @Import(name="sapUsername")
    private @Nullable Output sapUsername;

    /**
     * @return Gets or sets the SAP user name.
     * 
     */
    public Optional> sapUsername() {
        return Optional.ofNullable(this.sapUsername);
    }

    /**
     * Gets or sets the blob URI to SSL certificate for the SAP system.
     * 
     */
    @Import(name="sslCertificateUri")
    private @Nullable Output sslCertificateUri;

    /**
     * @return Gets or sets the blob URI to SSL certificate for the SAP system.
     * 
     */
    public Optional> sslCertificateUri() {
        return Optional.ofNullable(this.sslCertificateUri);
    }

    /**
     * Gets or sets certificate preference if secure communication is enabled.
     * 
     */
    @Import(name="sslPreference")
    private @Nullable Output> sslPreference;

    /**
     * @return Gets or sets certificate preference if secure communication is enabled.
     * 
     */
    public Optional>> sslPreference() {
        return Optional.ofNullable(this.sslPreference);
    }

    private SapNetWeaverProviderInstancePropertiesArgs() {}

    private SapNetWeaverProviderInstancePropertiesArgs(SapNetWeaverProviderInstancePropertiesArgs $) {
        this.providerType = $.providerType;
        this.sapClientId = $.sapClientId;
        this.sapHostFileEntries = $.sapHostFileEntries;
        this.sapHostname = $.sapHostname;
        this.sapInstanceNr = $.sapInstanceNr;
        this.sapPassword = $.sapPassword;
        this.sapPasswordUri = $.sapPasswordUri;
        this.sapPortNumber = $.sapPortNumber;
        this.sapSid = $.sapSid;
        this.sapUsername = $.sapUsername;
        this.sslCertificateUri = $.sslCertificateUri;
        this.sslPreference = $.sslPreference;
    }

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

    public static final class Builder {
        private SapNetWeaverProviderInstancePropertiesArgs $;

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

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

        /**
         * @param providerType The provider type. For example, the value can be SapHana.
         * Expected value is 'SapNetWeaver'.
         * 
         * @return builder
         * 
         */
        public Builder providerType(Output providerType) {
            $.providerType = providerType;
            return this;
        }

        /**
         * @param providerType The provider type. For example, the value can be SapHana.
         * Expected value is 'SapNetWeaver'.
         * 
         * @return builder
         * 
         */
        public Builder providerType(String providerType) {
            return providerType(Output.of(providerType));
        }

        /**
         * @param sapClientId Gets or sets the SAP Client ID.
         * 
         * @return builder
         * 
         */
        public Builder sapClientId(@Nullable Output sapClientId) {
            $.sapClientId = sapClientId;
            return this;
        }

        /**
         * @param sapClientId Gets or sets the SAP Client ID.
         * 
         * @return builder
         * 
         */
        public Builder sapClientId(String sapClientId) {
            return sapClientId(Output.of(sapClientId));
        }

        /**
         * @param sapHostFileEntries Gets or sets the list of HostFile Entries
         * 
         * @return builder
         * 
         */
        public Builder sapHostFileEntries(@Nullable Output> sapHostFileEntries) {
            $.sapHostFileEntries = sapHostFileEntries;
            return this;
        }

        /**
         * @param sapHostFileEntries Gets or sets the list of HostFile Entries
         * 
         * @return builder
         * 
         */
        public Builder sapHostFileEntries(List sapHostFileEntries) {
            return sapHostFileEntries(Output.of(sapHostFileEntries));
        }

        /**
         * @param sapHostFileEntries Gets or sets the list of HostFile Entries
         * 
         * @return builder
         * 
         */
        public Builder sapHostFileEntries(String... sapHostFileEntries) {
            return sapHostFileEntries(List.of(sapHostFileEntries));
        }

        /**
         * @param sapHostname Gets or sets the target virtual machine IP Address/FQDN.
         * 
         * @return builder
         * 
         */
        public Builder sapHostname(@Nullable Output sapHostname) {
            $.sapHostname = sapHostname;
            return this;
        }

        /**
         * @param sapHostname Gets or sets the target virtual machine IP Address/FQDN.
         * 
         * @return builder
         * 
         */
        public Builder sapHostname(String sapHostname) {
            return sapHostname(Output.of(sapHostname));
        }

        /**
         * @param sapInstanceNr Gets or sets the instance number of SAP NetWeaver.
         * 
         * @return builder
         * 
         */
        public Builder sapInstanceNr(@Nullable Output sapInstanceNr) {
            $.sapInstanceNr = sapInstanceNr;
            return this;
        }

        /**
         * @param sapInstanceNr Gets or sets the instance number of SAP NetWeaver.
         * 
         * @return builder
         * 
         */
        public Builder sapInstanceNr(String sapInstanceNr) {
            return sapInstanceNr(Output.of(sapInstanceNr));
        }

        /**
         * @param sapPassword Sets the SAP password.
         * 
         * @return builder
         * 
         */
        public Builder sapPassword(@Nullable Output sapPassword) {
            $.sapPassword = sapPassword;
            return this;
        }

        /**
         * @param sapPassword Sets the SAP password.
         * 
         * @return builder
         * 
         */
        public Builder sapPassword(String sapPassword) {
            return sapPassword(Output.of(sapPassword));
        }

        /**
         * @param sapPasswordUri Gets or sets the key vault URI to secret with the SAP password.
         * 
         * @return builder
         * 
         */
        public Builder sapPasswordUri(@Nullable Output sapPasswordUri) {
            $.sapPasswordUri = sapPasswordUri;
            return this;
        }

        /**
         * @param sapPasswordUri Gets or sets the key vault URI to secret with the SAP password.
         * 
         * @return builder
         * 
         */
        public Builder sapPasswordUri(String sapPasswordUri) {
            return sapPasswordUri(Output.of(sapPasswordUri));
        }

        /**
         * @param sapPortNumber Gets or sets the SAP HTTP port number.
         * 
         * @return builder
         * 
         */
        public Builder sapPortNumber(@Nullable Output sapPortNumber) {
            $.sapPortNumber = sapPortNumber;
            return this;
        }

        /**
         * @param sapPortNumber Gets or sets the SAP HTTP port number.
         * 
         * @return builder
         * 
         */
        public Builder sapPortNumber(String sapPortNumber) {
            return sapPortNumber(Output.of(sapPortNumber));
        }

        /**
         * @param sapSid Gets or sets the SAP System Identifier
         * 
         * @return builder
         * 
         */
        public Builder sapSid(@Nullable Output sapSid) {
            $.sapSid = sapSid;
            return this;
        }

        /**
         * @param sapSid Gets or sets the SAP System Identifier
         * 
         * @return builder
         * 
         */
        public Builder sapSid(String sapSid) {
            return sapSid(Output.of(sapSid));
        }

        /**
         * @param sapUsername Gets or sets the SAP user name.
         * 
         * @return builder
         * 
         */
        public Builder sapUsername(@Nullable Output sapUsername) {
            $.sapUsername = sapUsername;
            return this;
        }

        /**
         * @param sapUsername Gets or sets the SAP user name.
         * 
         * @return builder
         * 
         */
        public Builder sapUsername(String sapUsername) {
            return sapUsername(Output.of(sapUsername));
        }

        /**
         * @param sslCertificateUri Gets or sets the blob URI to SSL certificate for the SAP system.
         * 
         * @return builder
         * 
         */
        public Builder sslCertificateUri(@Nullable Output sslCertificateUri) {
            $.sslCertificateUri = sslCertificateUri;
            return this;
        }

        /**
         * @param sslCertificateUri Gets or sets the blob URI to SSL certificate for the SAP system.
         * 
         * @return builder
         * 
         */
        public Builder sslCertificateUri(String sslCertificateUri) {
            return sslCertificateUri(Output.of(sslCertificateUri));
        }

        /**
         * @param sslPreference Gets or sets certificate preference if secure communication is enabled.
         * 
         * @return builder
         * 
         */
        public Builder sslPreference(@Nullable Output> sslPreference) {
            $.sslPreference = sslPreference;
            return this;
        }

        /**
         * @param sslPreference Gets or sets certificate preference if secure communication is enabled.
         * 
         * @return builder
         * 
         */
        public Builder sslPreference(Either sslPreference) {
            return sslPreference(Output.of(sslPreference));
        }

        /**
         * @param sslPreference Gets or sets certificate preference if secure communication is enabled.
         * 
         * @return builder
         * 
         */
        public Builder sslPreference(String sslPreference) {
            return sslPreference(Either.ofLeft(sslPreference));
        }

        /**
         * @param sslPreference Gets or sets certificate preference if secure communication is enabled.
         * 
         * @return builder
         * 
         */
        public Builder sslPreference(SslPreference sslPreference) {
            return sslPreference(Either.ofRight(sslPreference));
        }

        public SapNetWeaverProviderInstancePropertiesArgs build() {
            $.providerType = Codegen.stringProp("providerType").output().arg($.providerType).require();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy