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

com.pulumi.azurenative.awsconnector.inputs.VpcSecurityGroupMembershipArgs Maven / Gradle / Ivy

There is a newer version: 2.72.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.awsconnector.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;


/**
 * Definition of VpcSecurityGroupMembership
 * 
 */
public final class VpcSecurityGroupMembershipArgs extends com.pulumi.resources.ResourceArgs {

    public static final VpcSecurityGroupMembershipArgs Empty = new VpcSecurityGroupMembershipArgs();

    /**
     * <p>The status of the VPC security group.</p>
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return <p>The status of the VPC security group.</p>
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * <p>The VPC security group ID.</p>
     * 
     */
    @Import(name="vpcSecurityGroupId")
    private @Nullable Output vpcSecurityGroupId;

    /**
     * @return <p>The VPC security group ID.</p>
     * 
     */
    public Optional> vpcSecurityGroupId() {
        return Optional.ofNullable(this.vpcSecurityGroupId);
    }

    private VpcSecurityGroupMembershipArgs() {}

    private VpcSecurityGroupMembershipArgs(VpcSecurityGroupMembershipArgs $) {
        this.status = $.status;
        this.vpcSecurityGroupId = $.vpcSecurityGroupId;
    }

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

    public static final class Builder {
        private VpcSecurityGroupMembershipArgs $;

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

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

        /**
         * @param status <p>The status of the VPC security group.</p>
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status <p>The status of the VPC security group.</p>
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param vpcSecurityGroupId <p>The VPC security group ID.</p>
         * 
         * @return builder
         * 
         */
        public Builder vpcSecurityGroupId(@Nullable Output vpcSecurityGroupId) {
            $.vpcSecurityGroupId = vpcSecurityGroupId;
            return this;
        }

        /**
         * @param vpcSecurityGroupId <p>The VPC security group ID.</p>
         * 
         * @return builder
         * 
         */
        public Builder vpcSecurityGroupId(String vpcSecurityGroupId) {
            return vpcSecurityGroupId(Output.of(vpcSecurityGroupId));
        }

        public VpcSecurityGroupMembershipArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy