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

com.pulumi.azurenative.migrate.inputs.WorkloadInstanceModelPropertiesArgs 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.migrate.inputs;

import com.pulumi.azurenative.migrate.inputs.ApacheTomcatWorkloadInstanceModelCustomPropertiesArgs;
import com.pulumi.azurenative.migrate.inputs.IISWorkloadInstanceModelCustomPropertiesArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Workload instance model properties.
 * 
 */
public final class WorkloadInstanceModelPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final WorkloadInstanceModelPropertiesArgs Empty = new WorkloadInstanceModelPropertiesArgs();

    /**
     * Workload instance model custom properties.
     * 
     */
    @Import(name="customProperties")
    private @Nullable Output> customProperties;

    /**
     * @return Workload instance model custom properties.
     * 
     */
    public Optional>> customProperties() {
        return Optional.ofNullable(this.customProperties);
    }

    /**
     * Gets or sets the display name.
     * 
     */
    @Import(name="displayName")
    private @Nullable Output displayName;

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

    /**
     * Gets or Sets the master site name.
     * 
     */
    @Import(name="masterSiteName")
    private @Nullable Output masterSiteName;

    /**
     * @return Gets or Sets the master site name.
     * 
     */
    public Optional> masterSiteName() {
        return Optional.ofNullable(this.masterSiteName);
    }

    /**
     * Gets or sets the migrate agent id associated with the workload instance.
     * 
     */
    @Import(name="migrateAgentId")
    private @Nullable Output migrateAgentId;

    /**
     * @return Gets or sets the migrate agent id associated with the workload instance.
     * 
     */
    public Optional> migrateAgentId() {
        return Optional.ofNullable(this.migrateAgentId);
    }

    /**
     * Gets or sets the workload instance name.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

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

    /**
     * Gets or sets the source name.
     * 
     */
    @Import(name="sourceName")
    private @Nullable Output sourceName;

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

    /**
     * Gets or sets the source platform.
     * 
     */
    @Import(name="sourcePlatform")
    private @Nullable Output sourcePlatform;

    /**
     * @return Gets or sets the source platform.
     * 
     */
    public Optional> sourcePlatform() {
        return Optional.ofNullable(this.sourcePlatform);
    }

    private WorkloadInstanceModelPropertiesArgs() {}

    private WorkloadInstanceModelPropertiesArgs(WorkloadInstanceModelPropertiesArgs $) {
        this.customProperties = $.customProperties;
        this.displayName = $.displayName;
        this.masterSiteName = $.masterSiteName;
        this.migrateAgentId = $.migrateAgentId;
        this.name = $.name;
        this.sourceName = $.sourceName;
        this.sourcePlatform = $.sourcePlatform;
    }

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

    public static final class Builder {
        private WorkloadInstanceModelPropertiesArgs $;

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

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

        /**
         * @param customProperties Workload instance model custom properties.
         * 
         * @return builder
         * 
         */
        public Builder customProperties(@Nullable Output> customProperties) {
            $.customProperties = customProperties;
            return this;
        }

        /**
         * @param customProperties Workload instance model custom properties.
         * 
         * @return builder
         * 
         */
        public Builder customProperties(Either customProperties) {
            return customProperties(Output.of(customProperties));
        }

        /**
         * @param customProperties Workload instance model custom properties.
         * 
         * @return builder
         * 
         */
        public Builder customProperties(ApacheTomcatWorkloadInstanceModelCustomPropertiesArgs customProperties) {
            return customProperties(Either.ofLeft(customProperties));
        }

        /**
         * @param customProperties Workload instance model custom properties.
         * 
         * @return builder
         * 
         */
        public Builder customProperties(IISWorkloadInstanceModelCustomPropertiesArgs customProperties) {
            return customProperties(Either.ofRight(customProperties));
        }

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

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

        /**
         * @param masterSiteName Gets or Sets the master site name.
         * 
         * @return builder
         * 
         */
        public Builder masterSiteName(@Nullable Output masterSiteName) {
            $.masterSiteName = masterSiteName;
            return this;
        }

        /**
         * @param masterSiteName Gets or Sets the master site name.
         * 
         * @return builder
         * 
         */
        public Builder masterSiteName(String masterSiteName) {
            return masterSiteName(Output.of(masterSiteName));
        }

        /**
         * @param migrateAgentId Gets or sets the migrate agent id associated with the workload instance.
         * 
         * @return builder
         * 
         */
        public Builder migrateAgentId(@Nullable Output migrateAgentId) {
            $.migrateAgentId = migrateAgentId;
            return this;
        }

        /**
         * @param migrateAgentId Gets or sets the migrate agent id associated with the workload instance.
         * 
         * @return builder
         * 
         */
        public Builder migrateAgentId(String migrateAgentId) {
            return migrateAgentId(Output.of(migrateAgentId));
        }

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

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

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

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

        /**
         * @param sourcePlatform Gets or sets the source platform.
         * 
         * @return builder
         * 
         */
        public Builder sourcePlatform(@Nullable Output sourcePlatform) {
            $.sourcePlatform = sourcePlatform;
            return this;
        }

        /**
         * @param sourcePlatform Gets or sets the source platform.
         * 
         * @return builder
         * 
         */
        public Builder sourcePlatform(String sourcePlatform) {
            return sourcePlatform(Output.of(sourcePlatform));
        }

        public WorkloadInstanceModelPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy