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

com.pulumi.alicloud.bastionhost.inputs.HostGroupState 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.inputs;

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


public final class HostGroupState extends com.pulumi.resources.ResourceArgs {

    public static final HostGroupState Empty = new HostGroupState();

    /**
     * Specify the New Host Group of Notes, Supports up to 500 Characters.
     * 
     */
    @Import(name="comment")
    private @Nullable Output comment;

    /**
     * @return Specify the New Host Group of Notes, Supports up to 500 Characters.
     * 
     */
    public Optional> comment() {
        return Optional.ofNullable(this.comment);
    }

    /**
     * Host Group ID.
     * 
     */
    @Import(name="hostGroupId")
    private @Nullable Output hostGroupId;

    /**
     * @return Host Group ID.
     * 
     */
    public Optional> hostGroupId() {
        return Optional.ofNullable(this.hostGroupId);
    }

    /**
     * Specify the New Host Group Name, Supports up to 128 Characters.
     * 
     */
    @Import(name="hostGroupName")
    private @Nullable Output hostGroupName;

    /**
     * @return Specify the New Host Group Name, Supports up to 128 Characters.
     * 
     */
    public Optional> hostGroupName() {
        return Optional.ofNullable(this.hostGroupName);
    }

    /**
     * Specify the New Host Group Where the Bastion Host ID of.
     * 
     */
    @Import(name="instanceId")
    private @Nullable Output instanceId;

    /**
     * @return Specify the New Host Group Where the Bastion Host ID of.
     * 
     */
    public Optional> instanceId() {
        return Optional.ofNullable(this.instanceId);
    }

    private HostGroupState() {}

    private HostGroupState(HostGroupState $) {
        this.comment = $.comment;
        this.hostGroupId = $.hostGroupId;
        this.hostGroupName = $.hostGroupName;
        this.instanceId = $.instanceId;
    }

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

    public static final class Builder {
        private HostGroupState $;

        public Builder() {
            $ = new HostGroupState();
        }

        public Builder(HostGroupState defaults) {
            $ = new HostGroupState(Objects.requireNonNull(defaults));
        }

        /**
         * @param comment Specify the New Host Group of Notes, Supports up to 500 Characters.
         * 
         * @return builder
         * 
         */
        public Builder comment(@Nullable Output comment) {
            $.comment = comment;
            return this;
        }

        /**
         * @param comment Specify the New Host Group of Notes, Supports up to 500 Characters.
         * 
         * @return builder
         * 
         */
        public Builder comment(String comment) {
            return comment(Output.of(comment));
        }

        /**
         * @param hostGroupId Host Group ID.
         * 
         * @return builder
         * 
         */
        public Builder hostGroupId(@Nullable Output hostGroupId) {
            $.hostGroupId = hostGroupId;
            return this;
        }

        /**
         * @param hostGroupId Host Group ID.
         * 
         * @return builder
         * 
         */
        public Builder hostGroupId(String hostGroupId) {
            return hostGroupId(Output.of(hostGroupId));
        }

        /**
         * @param hostGroupName Specify the New Host Group Name, Supports up to 128 Characters.
         * 
         * @return builder
         * 
         */
        public Builder hostGroupName(@Nullable Output hostGroupName) {
            $.hostGroupName = hostGroupName;
            return this;
        }

        /**
         * @param hostGroupName Specify the New Host Group Name, Supports up to 128 Characters.
         * 
         * @return builder
         * 
         */
        public Builder hostGroupName(String hostGroupName) {
            return hostGroupName(Output.of(hostGroupName));
        }

        /**
         * @param instanceId Specify the New Host Group Where the Bastion Host ID of.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(@Nullable Output instanceId) {
            $.instanceId = instanceId;
            return this;
        }

        /**
         * @param instanceId Specify the New Host Group Where the Bastion Host ID of.
         * 
         * @return builder
         * 
         */
        public Builder instanceId(String instanceId) {
            return instanceId(Output.of(instanceId));
        }

        public HostGroupState build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy