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

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

The 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.azurenative.awsconnector.inputs.AwsEc2SecurityGroupPropertiesArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of Ec2SecurityGroup
 * 
 */
public final class Ec2SecurityGroupPropertiesArgs extends com.pulumi.resources.ResourceArgs {

    public static final Ec2SecurityGroupPropertiesArgs Empty = new Ec2SecurityGroupPropertiesArgs();

    /**
     * Amazon Resource Name (ARN)
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Amazon Resource Name (ARN)
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * AWS Account ID
     * 
     */
    @Import(name="awsAccountId")
    private @Nullable Output awsAccountId;

    /**
     * @return AWS Account ID
     * 
     */
    public Optional> awsAccountId() {
        return Optional.ofNullable(this.awsAccountId);
    }

    /**
     * AWS Properties
     * 
     */
    @Import(name="awsProperties")
    private @Nullable Output awsProperties;

    /**
     * @return AWS Properties
     * 
     */
    public Optional> awsProperties() {
        return Optional.ofNullable(this.awsProperties);
    }

    /**
     * AWS Region
     * 
     */
    @Import(name="awsRegion")
    private @Nullable Output awsRegion;

    /**
     * @return AWS Region
     * 
     */
    public Optional> awsRegion() {
        return Optional.ofNullable(this.awsRegion);
    }

    /**
     * AWS Source Schema
     * 
     */
    @Import(name="awsSourceSchema")
    private @Nullable Output awsSourceSchema;

    /**
     * @return AWS Source Schema
     * 
     */
    public Optional> awsSourceSchema() {
        return Optional.ofNullable(this.awsSourceSchema);
    }

    /**
     * AWS Tags
     * 
     */
    @Import(name="awsTags")
    private @Nullable Output> awsTags;

    /**
     * @return AWS Tags
     * 
     */
    public Optional>> awsTags() {
        return Optional.ofNullable(this.awsTags);
    }

    /**
     * Public Cloud Connectors Resource ID
     * 
     */
    @Import(name="publicCloudConnectorsResourceId")
    private @Nullable Output publicCloudConnectorsResourceId;

    /**
     * @return Public Cloud Connectors Resource ID
     * 
     */
    public Optional> publicCloudConnectorsResourceId() {
        return Optional.ofNullable(this.publicCloudConnectorsResourceId);
    }

    /**
     * Public Cloud Resource Name
     * 
     */
    @Import(name="publicCloudResourceName")
    private @Nullable Output publicCloudResourceName;

    /**
     * @return Public Cloud Resource Name
     * 
     */
    public Optional> publicCloudResourceName() {
        return Optional.ofNullable(this.publicCloudResourceName);
    }

    private Ec2SecurityGroupPropertiesArgs() {}

    private Ec2SecurityGroupPropertiesArgs(Ec2SecurityGroupPropertiesArgs $) {
        this.arn = $.arn;
        this.awsAccountId = $.awsAccountId;
        this.awsProperties = $.awsProperties;
        this.awsRegion = $.awsRegion;
        this.awsSourceSchema = $.awsSourceSchema;
        this.awsTags = $.awsTags;
        this.publicCloudConnectorsResourceId = $.publicCloudConnectorsResourceId;
        this.publicCloudResourceName = $.publicCloudResourceName;
    }

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

    public static final class Builder {
        private Ec2SecurityGroupPropertiesArgs $;

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

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

        /**
         * @param arn Amazon Resource Name (ARN)
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn Amazon Resource Name (ARN)
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param awsAccountId AWS Account ID
         * 
         * @return builder
         * 
         */
        public Builder awsAccountId(@Nullable Output awsAccountId) {
            $.awsAccountId = awsAccountId;
            return this;
        }

        /**
         * @param awsAccountId AWS Account ID
         * 
         * @return builder
         * 
         */
        public Builder awsAccountId(String awsAccountId) {
            return awsAccountId(Output.of(awsAccountId));
        }

        /**
         * @param awsProperties AWS Properties
         * 
         * @return builder
         * 
         */
        public Builder awsProperties(@Nullable Output awsProperties) {
            $.awsProperties = awsProperties;
            return this;
        }

        /**
         * @param awsProperties AWS Properties
         * 
         * @return builder
         * 
         */
        public Builder awsProperties(AwsEc2SecurityGroupPropertiesArgs awsProperties) {
            return awsProperties(Output.of(awsProperties));
        }

        /**
         * @param awsRegion AWS Region
         * 
         * @return builder
         * 
         */
        public Builder awsRegion(@Nullable Output awsRegion) {
            $.awsRegion = awsRegion;
            return this;
        }

        /**
         * @param awsRegion AWS Region
         * 
         * @return builder
         * 
         */
        public Builder awsRegion(String awsRegion) {
            return awsRegion(Output.of(awsRegion));
        }

        /**
         * @param awsSourceSchema AWS Source Schema
         * 
         * @return builder
         * 
         */
        public Builder awsSourceSchema(@Nullable Output awsSourceSchema) {
            $.awsSourceSchema = awsSourceSchema;
            return this;
        }

        /**
         * @param awsSourceSchema AWS Source Schema
         * 
         * @return builder
         * 
         */
        public Builder awsSourceSchema(String awsSourceSchema) {
            return awsSourceSchema(Output.of(awsSourceSchema));
        }

        /**
         * @param awsTags AWS Tags
         * 
         * @return builder
         * 
         */
        public Builder awsTags(@Nullable Output> awsTags) {
            $.awsTags = awsTags;
            return this;
        }

        /**
         * @param awsTags AWS Tags
         * 
         * @return builder
         * 
         */
        public Builder awsTags(Map awsTags) {
            return awsTags(Output.of(awsTags));
        }

        /**
         * @param publicCloudConnectorsResourceId Public Cloud Connectors Resource ID
         * 
         * @return builder
         * 
         */
        public Builder publicCloudConnectorsResourceId(@Nullable Output publicCloudConnectorsResourceId) {
            $.publicCloudConnectorsResourceId = publicCloudConnectorsResourceId;
            return this;
        }

        /**
         * @param publicCloudConnectorsResourceId Public Cloud Connectors Resource ID
         * 
         * @return builder
         * 
         */
        public Builder publicCloudConnectorsResourceId(String publicCloudConnectorsResourceId) {
            return publicCloudConnectorsResourceId(Output.of(publicCloudConnectorsResourceId));
        }

        /**
         * @param publicCloudResourceName Public Cloud Resource Name
         * 
         * @return builder
         * 
         */
        public Builder publicCloudResourceName(@Nullable Output publicCloudResourceName) {
            $.publicCloudResourceName = publicCloudResourceName;
            return this;
        }

        /**
         * @param publicCloudResourceName Public Cloud Resource Name
         * 
         * @return builder
         * 
         */
        public Builder publicCloudResourceName(String publicCloudResourceName) {
            return publicCloudResourceName(Output.of(publicCloudResourceName));
        }

        public Ec2SecurityGroupPropertiesArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy