com.pulumi.azurenative.testbase.inputs.GetBillingHubServiceUsagePlainArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.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 GetBillingHubServiceUsagePlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetBillingHubServiceUsagePlainArgs Empty = new GetBillingHubServiceUsagePlainArgs();
@Import(name="endTimeStamp", required=true)
private String endTimeStamp;
public String endTimeStamp() {
return this.endTimeStamp;
}
@Import(name="pageIndex")
private @Nullable Integer pageIndex;
public Optional pageIndex() {
return Optional.ofNullable(this.pageIndex);
}
@Import(name="pageSize")
private @Nullable Integer 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 String resourceGroupName;
/**
* @return The name of the resource group that contains the resource.
*
*/
public String resourceGroupName() {
return this.resourceGroupName;
}
@Import(name="startTimeStamp", required=true)
private String startTimeStamp;
public String startTimeStamp() {
return this.startTimeStamp;
}
/**
* The resource name of the Test Base Account.
*
*/
@Import(name="testBaseAccountName", required=true)
private String testBaseAccountName;
/**
* @return The resource name of the Test Base Account.
*
*/
public String testBaseAccountName() {
return this.testBaseAccountName;
}
private GetBillingHubServiceUsagePlainArgs() {}
private GetBillingHubServiceUsagePlainArgs(GetBillingHubServiceUsagePlainArgs $) {
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(GetBillingHubServiceUsagePlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetBillingHubServiceUsagePlainArgs $;
public Builder() {
$ = new GetBillingHubServiceUsagePlainArgs();
}
public Builder(GetBillingHubServiceUsagePlainArgs defaults) {
$ = new GetBillingHubServiceUsagePlainArgs(Objects.requireNonNull(defaults));
}
public Builder endTimeStamp(String endTimeStamp) {
$.endTimeStamp = endTimeStamp;
return this;
}
public Builder pageIndex(@Nullable Integer pageIndex) {
$.pageIndex = pageIndex;
return this;
}
public Builder pageSize(@Nullable Integer pageSize) {
$.pageSize = pageSize;
return this;
}
/**
* @param resourceGroupName The name of the resource group that contains the resource.
*
* @return builder
*
*/
public Builder resourceGroupName(String resourceGroupName) {
$.resourceGroupName = resourceGroupName;
return this;
}
public Builder startTimeStamp(String startTimeStamp) {
$.startTimeStamp = startTimeStamp;
return this;
}
/**
* @param testBaseAccountName The resource name of the Test Base Account.
*
* @return builder
*
*/
public Builder testBaseAccountName(String testBaseAccountName) {
$.testBaseAccountName = testBaseAccountName;
return this;
}
public GetBillingHubServiceUsagePlainArgs build() {
if ($.endTimeStamp == null) {
throw new MissingRequiredPropertyException("GetBillingHubServiceUsagePlainArgs", "endTimeStamp");
}
if ($.resourceGroupName == null) {
throw new MissingRequiredPropertyException("GetBillingHubServiceUsagePlainArgs", "resourceGroupName");
}
if ($.startTimeStamp == null) {
throw new MissingRequiredPropertyException("GetBillingHubServiceUsagePlainArgs", "startTimeStamp");
}
if ($.testBaseAccountName == null) {
throw new MissingRequiredPropertyException("GetBillingHubServiceUsagePlainArgs", "testBaseAccountName");
}
return $;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy