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

com.pulumi.alicloud.actiontrail.outputs.GetConsumerGroupsGroup Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
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.alicloud.actiontrail.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Object;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class GetConsumerGroupsGroup {
    /**
     * @return The name of the consumer group.
     * 
     */
    private String consumerId;
    /**
     * @return The ID of the consumer group, It is formatted to `<instance_id>:<consumer_id>`.
     * 
     */
    private String id;
    /**
     * @return ID of the ALIKAFKA Instance that owns the consumer groups.
     * 
     */
    private String instanceId;
    /**
     * @return The remark of the consumer group.
     * 
     */
    private String remark;
    /**
     * @return A mapping of tags to assign to the consumer group.
     * 
     */
    private @Nullable Map tags;

    private GetConsumerGroupsGroup() {}
    /**
     * @return The name of the consumer group.
     * 
     */
    public String consumerId() {
        return this.consumerId;
    }
    /**
     * @return The ID of the consumer group, It is formatted to `<instance_id>:<consumer_id>`.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return ID of the ALIKAFKA Instance that owns the consumer groups.
     * 
     */
    public String instanceId() {
        return this.instanceId;
    }
    /**
     * @return The remark of the consumer group.
     * 
     */
    public String remark() {
        return this.remark;
    }
    /**
     * @return A mapping of tags to assign to the consumer group.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }

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

    public static Builder builder(GetConsumerGroupsGroup defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String consumerId;
        private String id;
        private String instanceId;
        private String remark;
        private @Nullable Map tags;
        public Builder() {}
        public Builder(GetConsumerGroupsGroup defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.consumerId = defaults.consumerId;
    	      this.id = defaults.id;
    	      this.instanceId = defaults.instanceId;
    	      this.remark = defaults.remark;
    	      this.tags = defaults.tags;
        }

        @CustomType.Setter
        public Builder consumerId(String consumerId) {
            if (consumerId == null) {
              throw new MissingRequiredPropertyException("GetConsumerGroupsGroup", "consumerId");
            }
            this.consumerId = consumerId;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetConsumerGroupsGroup", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder instanceId(String instanceId) {
            if (instanceId == null) {
              throw new MissingRequiredPropertyException("GetConsumerGroupsGroup", "instanceId");
            }
            this.instanceId = instanceId;
            return this;
        }
        @CustomType.Setter
        public Builder remark(String remark) {
            if (remark == null) {
              throw new MissingRequiredPropertyException("GetConsumerGroupsGroup", "remark");
            }
            this.remark = remark;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        public GetConsumerGroupsGroup build() {
            final var _resultValue = new GetConsumerGroupsGroup();
            _resultValue.consumerId = consumerId;
            _resultValue.id = id;
            _resultValue.instanceId = instanceId;
            _resultValue.remark = remark;
            _resultValue.tags = tags;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy