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

com.pulumi.aws.servicequotas.outputs.ServiceQuotaUsageMetricMetricDimension Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
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.aws.servicequotas.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 ServiceQuotaUsageMetricMetricDimension {
    private @Nullable String class_;
    private @Nullable String resource;
    private @Nullable String service;
    private @Nullable String type;

    private ServiceQuotaUsageMetricMetricDimension() {}
    public Optional class_() {
        return Optional.ofNullable(this.class_);
    }
    public Optional resource() {
        return Optional.ofNullable(this.resource);
    }
    public Optional service() {
        return Optional.ofNullable(this.service);
    }
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

    public static Builder builder(ServiceQuotaUsageMetricMetricDimension defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String class_;
        private @Nullable String resource;
        private @Nullable String service;
        private @Nullable String type;
        public Builder() {}
        public Builder(ServiceQuotaUsageMetricMetricDimension defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.class_ = defaults.class_;
    	      this.resource = defaults.resource;
    	      this.service = defaults.service;
    	      this.type = defaults.type;
        }

        @CustomType.Setter("class")
        public Builder class_(@Nullable String class_) {

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

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

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

            this.type = type;
            return this;
        }
        public ServiceQuotaUsageMetricMetricDimension build() {
            final var _resultValue = new ServiceQuotaUsageMetricMetricDimension();
            _resultValue.class_ = class_;
            _resultValue.resource = resource;
            _resultValue.service = service;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy