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

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

// *** 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 PrefixListId
 * 
 */
public final class PrefixListIdArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrefixListIdArgs Empty = new PrefixListIdArgs();

    /**
     * <p>A description for the security group rule that references this prefix list ID.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=;{}!$*</p>
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return <p>A description for the security group rule that references this prefix list ID.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=;{}!$*</p>
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * <p>The ID of the prefix.</p>
     * 
     */
    @Import(name="prefixListId")
    private @Nullable Output prefixListId;

    /**
     * @return <p>The ID of the prefix.</p>
     * 
     */
    public Optional> prefixListId() {
        return Optional.ofNullable(this.prefixListId);
    }

    private PrefixListIdArgs() {}

    private PrefixListIdArgs(PrefixListIdArgs $) {
        this.description = $.description;
        this.prefixListId = $.prefixListId;
    }

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

    public static final class Builder {
        private PrefixListIdArgs $;

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

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

        /**
         * @param description <p>A description for the security group rule that references this prefix list ID.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=;{}!$*</p>
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description <p>A description for the security group rule that references this prefix list ID.</p> <p>Constraints: Up to 255 characters in length. Allowed characters are a-z, A-Z, 0-9, spaces, and ._-:/()#,{@literal @}[]+=;{}!$*</p>
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param prefixListId <p>The ID of the prefix.</p>
         * 
         * @return builder
         * 
         */
        public Builder prefixListId(@Nullable Output prefixListId) {
            $.prefixListId = prefixListId;
            return this;
        }

        /**
         * @param prefixListId <p>The ID of the prefix.</p>
         * 
         * @return builder
         * 
         */
        public Builder prefixListId(String prefixListId) {
            return prefixListId(Output.of(prefixListId));
        }

        public PrefixListIdArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy