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

com.pulumi.azurenative.testbase.inputs.GetBillingHubServiceUsageArgs 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.testbase.inputs;

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


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

    public static final GetBillingHubServiceUsageArgs Empty = new GetBillingHubServiceUsageArgs();

    @Import(name="endTimeStamp", required=true)
    private Output endTimeStamp;

    public Output endTimeStamp() {
        return this.endTimeStamp;
    }

    @Import(name="pageIndex")
    private @Nullable Output pageIndex;

    public Optional> pageIndex() {
        return Optional.ofNullable(this.pageIndex);
    }

    @Import(name="pageSize")
    private @Nullable Output pageSize;

    public Optional> pageSize() {
        return Optional.ofNullable(this.pageSize);
    }

    /**
     * The name of the resource group that contains the resource.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group that contains the resource.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    @Import(name="startTimeStamp", required=true)
    private Output startTimeStamp;

    public Output startTimeStamp() {
        return this.startTimeStamp;
    }

    /**
     * The resource name of the Test Base Account.
     * 
     */
    @Import(name="testBaseAccountName", required=true)
    private Output testBaseAccountName;

    /**
     * @return The resource name of the Test Base Account.
     * 
     */
    public Output testBaseAccountName() {
        return this.testBaseAccountName;
    }

    private GetBillingHubServiceUsageArgs() {}

    private GetBillingHubServiceUsageArgs(GetBillingHubServiceUsageArgs $) {
        this.endTimeStamp = $.endTimeStamp;
        this.pageIndex = $.pageIndex;
        this.pageSize = $.pageSize;
        this.resourceGroupName = $.resourceGroupName;
        this.startTimeStamp = $.startTimeStamp;
        this.testBaseAccountName = $.testBaseAccountName;
    }

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

    public static final class Builder {
        private GetBillingHubServiceUsageArgs $;

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

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

        public Builder endTimeStamp(Output endTimeStamp) {
            $.endTimeStamp = endTimeStamp;
            return this;
        }

        public Builder endTimeStamp(String endTimeStamp) {
            return endTimeStamp(Output.of(endTimeStamp));
        }

        public Builder pageIndex(@Nullable Output pageIndex) {
            $.pageIndex = pageIndex;
            return this;
        }

        public Builder pageIndex(Integer pageIndex) {
            return pageIndex(Output.of(pageIndex));
        }

        public Builder pageSize(@Nullable Output pageSize) {
            $.pageSize = pageSize;
            return this;
        }

        public Builder pageSize(Integer pageSize) {
            return pageSize(Output.of(pageSize));
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group that contains the resource.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        public Builder startTimeStamp(Output startTimeStamp) {
            $.startTimeStamp = startTimeStamp;
            return this;
        }

        public Builder startTimeStamp(String startTimeStamp) {
            return startTimeStamp(Output.of(startTimeStamp));
        }

        /**
         * @param testBaseAccountName The resource name of the Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder testBaseAccountName(Output testBaseAccountName) {
            $.testBaseAccountName = testBaseAccountName;
            return this;
        }

        /**
         * @param testBaseAccountName The resource name of the Test Base Account.
         * 
         * @return builder
         * 
         */
        public Builder testBaseAccountName(String testBaseAccountName) {
            return testBaseAccountName(Output.of(testBaseAccountName));
        }

        public GetBillingHubServiceUsageArgs build() {
            if ($.endTimeStamp == null) {
                throw new MissingRequiredPropertyException("GetBillingHubServiceUsageArgs", "endTimeStamp");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GetBillingHubServiceUsageArgs", "resourceGroupName");
            }
            if ($.startTimeStamp == null) {
                throw new MissingRequiredPropertyException("GetBillingHubServiceUsageArgs", "startTimeStamp");
            }
            if ($.testBaseAccountName == null) {
                throw new MissingRequiredPropertyException("GetBillingHubServiceUsageArgs", "testBaseAccountName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy