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

com.pulumi.azurenative.quota.outputs.GroupingIdResponse Maven / Gradle / Ivy

There is a newer version: 2.78.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.quota.outputs;

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

@CustomType
public final class GroupingIdResponse {
    /**
     * @return GroupingId type. It is a required property. More types of groupIds can be supported in future.
     * 
     */
    private @Nullable String groupingIdType;
    /**
     * @return GroupId value based on the groupingType selected - Billing Id or ServiceTreeId.
     * 
     */
    private @Nullable String value;

    private GroupingIdResponse() {}
    /**
     * @return GroupingId type. It is a required property. More types of groupIds can be supported in future.
     * 
     */
    public Optional groupingIdType() {
        return Optional.ofNullable(this.groupingIdType);
    }
    /**
     * @return GroupId value based on the groupingType selected - Billing Id or ServiceTreeId.
     * 
     */
    public Optional value() {
        return Optional.ofNullable(this.value);
    }

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

    public static Builder builder(GroupingIdResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String groupingIdType;
        private @Nullable String value;
        public Builder() {}
        public Builder(GroupingIdResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.groupingIdType = defaults.groupingIdType;
    	      this.value = defaults.value;
        }

        @CustomType.Setter
        public Builder groupingIdType(@Nullable String groupingIdType) {

            this.groupingIdType = groupingIdType;
            return this;
        }
        @CustomType.Setter
        public Builder value(@Nullable String value) {

            this.value = value;
            return this;
        }
        public GroupingIdResponse build() {
            final var _resultValue = new GroupingIdResponse();
            _resultValue.groupingIdType = groupingIdType;
            _resultValue.value = value;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy