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

com.pulumi.aws.transfer.inputs.ProfileState Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

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.aws.transfer.inputs;

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


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

    public static final ProfileState Empty = new ProfileState();

    /**
     * The ARN of the profile.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The ARN of the profile.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The As2Id is the AS2 name as defined in the RFC 4130. For inbound ttransfers this is the AS2 From Header for the AS2 messages sent from the partner. For Outbound messages this is the AS2 To Header for the AS2 messages sent to the partner. his ID cannot include spaces.
     * 
     */
    @Import(name="as2Id")
    private @Nullable Output as2Id;

    /**
     * @return The As2Id is the AS2 name as defined in the RFC 4130. For inbound ttransfers this is the AS2 From Header for the AS2 messages sent from the partner. For Outbound messages this is the AS2 To Header for the AS2 messages sent to the partner. his ID cannot include spaces.
     * 
     */
    public Optional> as2Id() {
        return Optional.ofNullable(this.as2Id);
    }

    /**
     * The list of certificate Ids from the imported certificate operation.
     * 
     */
    @Import(name="certificateIds")
    private @Nullable Output> certificateIds;

    /**
     * @return The list of certificate Ids from the imported certificate operation.
     * 
     */
    public Optional>> certificateIds() {
        return Optional.ofNullable(this.certificateIds);
    }

    /**
     * The unique identifier for the AS2 profile.
     * 
     */
    @Import(name="profileId")
    private @Nullable Output profileId;

    /**
     * @return The unique identifier for the AS2 profile.
     * 
     */
    public Optional> profileId() {
        return Optional.ofNullable(this.profileId);
    }

    /**
     * The profile type should be LOCAL or PARTNER.
     * 
     */
    @Import(name="profileType")
    private @Nullable Output profileType;

    /**
     * @return The profile type should be LOCAL or PARTNER.
     * 
     */
    public Optional> profileType() {
        return Optional.ofNullable(this.profileType);
    }

    /**
     * A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    /**
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    private ProfileState() {}

    private ProfileState(ProfileState $) {
        this.arn = $.arn;
        this.as2Id = $.as2Id;
        this.certificateIds = $.certificateIds;
        this.profileId = $.profileId;
        this.profileType = $.profileType;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

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

    public static final class Builder {
        private ProfileState $;

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

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

        /**
         * @param arn The ARN of the profile.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The ARN of the profile.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

        /**
         * @param as2Id The As2Id is the AS2 name as defined in the RFC 4130. For inbound ttransfers this is the AS2 From Header for the AS2 messages sent from the partner. For Outbound messages this is the AS2 To Header for the AS2 messages sent to the partner. his ID cannot include spaces.
         * 
         * @return builder
         * 
         */
        public Builder as2Id(@Nullable Output as2Id) {
            $.as2Id = as2Id;
            return this;
        }

        /**
         * @param as2Id The As2Id is the AS2 name as defined in the RFC 4130. For inbound ttransfers this is the AS2 From Header for the AS2 messages sent from the partner. For Outbound messages this is the AS2 To Header for the AS2 messages sent to the partner. his ID cannot include spaces.
         * 
         * @return builder
         * 
         */
        public Builder as2Id(String as2Id) {
            return as2Id(Output.of(as2Id));
        }

        /**
         * @param certificateIds The list of certificate Ids from the imported certificate operation.
         * 
         * @return builder
         * 
         */
        public Builder certificateIds(@Nullable Output> certificateIds) {
            $.certificateIds = certificateIds;
            return this;
        }

        /**
         * @param certificateIds The list of certificate Ids from the imported certificate operation.
         * 
         * @return builder
         * 
         */
        public Builder certificateIds(List certificateIds) {
            return certificateIds(Output.of(certificateIds));
        }

        /**
         * @param certificateIds The list of certificate Ids from the imported certificate operation.
         * 
         * @return builder
         * 
         */
        public Builder certificateIds(String... certificateIds) {
            return certificateIds(List.of(certificateIds));
        }

        /**
         * @param profileId The unique identifier for the AS2 profile.
         * 
         * @return builder
         * 
         */
        public Builder profileId(@Nullable Output profileId) {
            $.profileId = profileId;
            return this;
        }

        /**
         * @param profileId The unique identifier for the AS2 profile.
         * 
         * @return builder
         * 
         */
        public Builder profileId(String profileId) {
            return profileId(Output.of(profileId));
        }

        /**
         * @param profileType The profile type should be LOCAL or PARTNER.
         * 
         * @return builder
         * 
         */
        public Builder profileType(@Nullable Output profileType) {
            $.profileType = profileType;
            return this;
        }

        /**
         * @param profileType The profile type should be LOCAL or PARTNER.
         * 
         * @return builder
         * 
         */
        public Builder profileType(String profileType) {
            return profileType(Output.of(profileType));
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags A map of tags to assign to the resource. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        /**
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public ProfileState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy