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

com.pulumi.alicloud.bastionhost.outputs.GetHostGroupsGroup 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.bastionhost.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetHostGroupsGroup {
    /**
     * @return Specify the New Host Group of Notes, Supports up to 500 Characters.
     * 
     */
    private String comment;
    /**
     * @return Host Group ID.
     * 
     */
    private String hostGroupId;
    /**
     * @return Specify the New Host Group Name, Supports up to 128 Characters.
     * 
     */
    private String hostGroupName;
    /**
     * @return The ID of the Host Group.
     * 
     */
    private String id;
    /**
     * @return Specify the New Host Group Where the Bastion Host ID of.
     * 
     */
    private String instanceId;

    private GetHostGroupsGroup() {}
    /**
     * @return Specify the New Host Group of Notes, Supports up to 500 Characters.
     * 
     */
    public String comment() {
        return this.comment;
    }
    /**
     * @return Host Group ID.
     * 
     */
    public String hostGroupId() {
        return this.hostGroupId;
    }
    /**
     * @return Specify the New Host Group Name, Supports up to 128 Characters.
     * 
     */
    public String hostGroupName() {
        return this.hostGroupName;
    }
    /**
     * @return The ID of the Host Group.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Specify the New Host Group Where the Bastion Host ID of.
     * 
     */
    public String instanceId() {
        return this.instanceId;
    }

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

    public static Builder builder(GetHostGroupsGroup defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String comment;
        private String hostGroupId;
        private String hostGroupName;
        private String id;
        private String instanceId;
        public Builder() {}
        public Builder(GetHostGroupsGroup defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.comment = defaults.comment;
    	      this.hostGroupId = defaults.hostGroupId;
    	      this.hostGroupName = defaults.hostGroupName;
    	      this.id = defaults.id;
    	      this.instanceId = defaults.instanceId;
        }

        @CustomType.Setter
        public Builder comment(String comment) {
            if (comment == null) {
              throw new MissingRequiredPropertyException("GetHostGroupsGroup", "comment");
            }
            this.comment = comment;
            return this;
        }
        @CustomType.Setter
        public Builder hostGroupId(String hostGroupId) {
            if (hostGroupId == null) {
              throw new MissingRequiredPropertyException("GetHostGroupsGroup", "hostGroupId");
            }
            this.hostGroupId = hostGroupId;
            return this;
        }
        @CustomType.Setter
        public Builder hostGroupName(String hostGroupName) {
            if (hostGroupName == null) {
              throw new MissingRequiredPropertyException("GetHostGroupsGroup", "hostGroupName");
            }
            this.hostGroupName = hostGroupName;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetHostGroupsGroup", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder instanceId(String instanceId) {
            if (instanceId == null) {
              throw new MissingRequiredPropertyException("GetHostGroupsGroup", "instanceId");
            }
            this.instanceId = instanceId;
            return this;
        }
        public GetHostGroupsGroup build() {
            final var _resultValue = new GetHostGroupsGroup();
            _resultValue.comment = comment;
            _resultValue.hostGroupId = hostGroupId;
            _resultValue.hostGroupName = hostGroupName;
            _resultValue.id = id;
            _resultValue.instanceId = instanceId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy