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

com.pulumi.azurenative.securityinsights.outputs.SapSystemsConfigurationResponse 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.securityinsights.outputs;

import com.pulumi.azurenative.securityinsights.outputs.LogResponse;
import com.pulumi.azurenative.securityinsights.outputs.RfcConnectorResponse;
import com.pulumi.azurenative.securityinsights.outputs.SapControlConnectorResponse;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.CustomType;
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;

@CustomType
public final class SapSystemsConfigurationResponse {
    /**
     * @return azure resource id
     * example: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
     * 
     */
    private @Nullable String azureResourceId;
    /**
     * @return Base Model for SAP System Connector.
     * 
     */
    private Either connector;
    /**
     * @return The logs configuration.
     * 
     */
    private @Nullable List logs;
    /**
     * @return Represents the types of configuration for a system.
     * Expected value is 'SAP'.
     * 
     */
    private String type;

    private SapSystemsConfigurationResponse() {}
    /**
     * @return azure resource id
     * example: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachines/myVM"
     * 
     */
    public Optional azureResourceId() {
        return Optional.ofNullable(this.azureResourceId);
    }
    /**
     * @return Base Model for SAP System Connector.
     * 
     */
    public Either connector() {
        return this.connector;
    }
    /**
     * @return The logs configuration.
     * 
     */
    public List logs() {
        return this.logs == null ? List.of() : this.logs;
    }
    /**
     * @return Represents the types of configuration for a system.
     * Expected value is 'SAP'.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(SapSystemsConfigurationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String azureResourceId;
        private Either connector;
        private @Nullable List logs;
        private String type;
        public Builder() {}
        public Builder(SapSystemsConfigurationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.azureResourceId = defaults.azureResourceId;
    	      this.connector = defaults.connector;
    	      this.logs = defaults.logs;
    	      this.type = defaults.type;
        }

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

            this.azureResourceId = azureResourceId;
            return this;
        }
        @CustomType.Setter
        public Builder connector(Either connector) {
            if (connector == null) {
              throw new MissingRequiredPropertyException("SapSystemsConfigurationResponse", "connector");
            }
            this.connector = connector;
            return this;
        }
        @CustomType.Setter
        public Builder logs(@Nullable List logs) {

            this.logs = logs;
            return this;
        }
        public Builder logs(LogResponse... logs) {
            return logs(List.of(logs));
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("SapSystemsConfigurationResponse", "type");
            }
            this.type = type;
            return this;
        }
        public SapSystemsConfigurationResponse build() {
            final var _resultValue = new SapSystemsConfigurationResponse();
            _resultValue.azureResourceId = azureResourceId;
            _resultValue.connector = connector;
            _resultValue.logs = logs;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy