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

com.pulumi.azurenative.operationalinsights.inputs.GetMachineGroupPlainArgs Maven / Gradle / Ivy

The 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.operationalinsights.inputs;

import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class GetMachineGroupPlainArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetMachineGroupPlainArgs Empty = new GetMachineGroupPlainArgs();

    /**
     * UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
     * 
     */
    @Import(name="endTime")
    private @Nullable String endTime;

    /**
     * @return UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
     * 
     */
    public Optional endTime() {
        return Optional.ofNullable(this.endTime);
    }

    /**
     * Machine Group resource name.
     * 
     */
    @Import(name="machineGroupName", required=true)
    private String machineGroupName;

    /**
     * @return Machine Group resource name.
     * 
     */
    public String machineGroupName() {
        return this.machineGroupName;
    }

    /**
     * Resource group name within the specified subscriptionId.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private String resourceGroupName;

    /**
     * @return Resource group name within the specified subscriptionId.
     * 
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
     * 
     */
    @Import(name="startTime")
    private @Nullable String startTime;

    /**
     * @return UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
     * 
     */
    public Optional startTime() {
        return Optional.ofNullable(this.startTime);
    }

    /**
     * OMS workspace containing the resources of interest.
     * 
     */
    @Import(name="workspaceName", required=true)
    private String workspaceName;

    /**
     * @return OMS workspace containing the resources of interest.
     * 
     */
    public String workspaceName() {
        return this.workspaceName;
    }

    private GetMachineGroupPlainArgs() {}

    private GetMachineGroupPlainArgs(GetMachineGroupPlainArgs $) {
        this.endTime = $.endTime;
        this.machineGroupName = $.machineGroupName;
        this.resourceGroupName = $.resourceGroupName;
        this.startTime = $.startTime;
        this.workspaceName = $.workspaceName;
    }

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

    public static final class Builder {
        private GetMachineGroupPlainArgs $;

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

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

        /**
         * @param endTime UTC date and time specifying the end time of an interval. When not specified the service uses DateTime.UtcNow
         * 
         * @return builder
         * 
         */
        public Builder endTime(@Nullable String endTime) {
            $.endTime = endTime;
            return this;
        }

        /**
         * @param machineGroupName Machine Group resource name.
         * 
         * @return builder
         * 
         */
        public Builder machineGroupName(String machineGroupName) {
            $.machineGroupName = machineGroupName;
            return this;
        }

        /**
         * @param resourceGroupName Resource group name within the specified subscriptionId.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param startTime UTC date and time specifying the start time of an interval. When not specified the service uses DateTime.UtcNow - 10m
         * 
         * @return builder
         * 
         */
        public Builder startTime(@Nullable String startTime) {
            $.startTime = startTime;
            return this;
        }

        /**
         * @param workspaceName OMS workspace containing the resources of interest.
         * 
         * @return builder
         * 
         */
        public Builder workspaceName(String workspaceName) {
            $.workspaceName = workspaceName;
            return this;
        }

        public GetMachineGroupPlainArgs build() {
            if ($.machineGroupName == null) {
                throw new MissingRequiredPropertyException("GetMachineGroupPlainArgs", "machineGroupName");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetMachineGroupPlainArgs", "resourceGroupName");
            }
            if ($.workspaceName == null) {
                throw new MissingRequiredPropertyException("GetMachineGroupPlainArgs", "workspaceName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy