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

com.pulumi.azurenative.testbase.outputs.BillingHubGetUsageRequestResponse 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.outputs;

import com.pulumi.core.annotations.CustomType;
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;

@CustomType
public final class BillingHubGetUsageRequestResponse {
    private String endTimeStamp;
    private @Nullable Integer pageIndex;
    private @Nullable Integer pageSize;
    private String startTimeStamp;

    private BillingHubGetUsageRequestResponse() {}
    public String endTimeStamp() {
        return this.endTimeStamp;
    }
    public Optional pageIndex() {
        return Optional.ofNullable(this.pageIndex);
    }
    public Optional pageSize() {
        return Optional.ofNullable(this.pageSize);
    }
    public String startTimeStamp() {
        return this.startTimeStamp;
    }

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

    public static Builder builder(BillingHubGetUsageRequestResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String endTimeStamp;
        private @Nullable Integer pageIndex;
        private @Nullable Integer pageSize;
        private String startTimeStamp;
        public Builder() {}
        public Builder(BillingHubGetUsageRequestResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.endTimeStamp = defaults.endTimeStamp;
    	      this.pageIndex = defaults.pageIndex;
    	      this.pageSize = defaults.pageSize;
    	      this.startTimeStamp = defaults.startTimeStamp;
        }

        @CustomType.Setter
        public Builder endTimeStamp(String endTimeStamp) {
            if (endTimeStamp == null) {
              throw new MissingRequiredPropertyException("BillingHubGetUsageRequestResponse", "endTimeStamp");
            }
            this.endTimeStamp = endTimeStamp;
            return this;
        }
        @CustomType.Setter
        public Builder pageIndex(@Nullable Integer pageIndex) {

            this.pageIndex = pageIndex;
            return this;
        }
        @CustomType.Setter
        public Builder pageSize(@Nullable Integer pageSize) {

            this.pageSize = pageSize;
            return this;
        }
        @CustomType.Setter
        public Builder startTimeStamp(String startTimeStamp) {
            if (startTimeStamp == null) {
              throw new MissingRequiredPropertyException("BillingHubGetUsageRequestResponse", "startTimeStamp");
            }
            this.startTimeStamp = startTimeStamp;
            return this;
        }
        public BillingHubGetUsageRequestResponse build() {
            final var _resultValue = new BillingHubGetUsageRequestResponse();
            _resultValue.endTimeStamp = endTimeStamp;
            _resultValue.pageIndex = pageIndex;
            _resultValue.pageSize = pageSize;
            _resultValue.startTimeStamp = startTimeStamp;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy