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

com.pulumi.aws.mskconnect.inputs.WorkerConfigurationState 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.aws.mskconnect.inputs;

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


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

    public static final WorkerConfigurationState Empty = new WorkerConfigurationState();

    /**
     * the Amazon Resource Name (ARN) of the worker configuration.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

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

    /**
     * A summary description of the worker configuration.
     * 
     */
    @Import(name="description")
    private @Nullable Output description;

    /**
     * @return A summary description of the worker configuration.
     * 
     */
    public Optional> description() {
        return Optional.ofNullable(this.description);
    }

    /**
     * an ID of the latest successfully created revision of the worker configuration.
     * 
     */
    @Import(name="latestRevision")
    private @Nullable Output latestRevision;

    /**
     * @return an ID of the latest successfully created revision of the worker configuration.
     * 
     */
    public Optional> latestRevision() {
        return Optional.ofNullable(this.latestRevision);
    }

    /**
     * The name of the worker configuration.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return The name of the worker configuration.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * Contents of connect-distributed.properties file. The value can be either base64 encoded or in raw format.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="propertiesFileContent")
    private @Nullable Output propertiesFileContent;

    /**
     * @return Contents of connect-distributed.properties file. The value can be either base64 encoded or in raw format.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> propertiesFileContent() {
        return Optional.ofNullable(this.propertiesFileContent);
    }

    /**
     * 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);
    }

    /**
     * A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    @Import(name="tagsAll")
    private @Nullable Output> tagsAll;

    /**
     * @return A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
     * 
     * @deprecated
     * Please use `tags` instead.
     * 
     */
    @Deprecated /* Please use `tags` instead. */
    public Optional>> tagsAll() {
        return Optional.ofNullable(this.tagsAll);
    }

    private WorkerConfigurationState() {}

    private WorkerConfigurationState(WorkerConfigurationState $) {
        this.arn = $.arn;
        this.description = $.description;
        this.latestRevision = $.latestRevision;
        this.name = $.name;
        this.propertiesFileContent = $.propertiesFileContent;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

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

    public static final class Builder {
        private WorkerConfigurationState $;

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

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

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

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

        /**
         * @param description A summary description of the worker configuration.
         * 
         * @return builder
         * 
         */
        public Builder description(@Nullable Output description) {
            $.description = description;
            return this;
        }

        /**
         * @param description A summary description of the worker configuration.
         * 
         * @return builder
         * 
         */
        public Builder description(String description) {
            return description(Output.of(description));
        }

        /**
         * @param latestRevision an ID of the latest successfully created revision of the worker configuration.
         * 
         * @return builder
         * 
         */
        public Builder latestRevision(@Nullable Output latestRevision) {
            $.latestRevision = latestRevision;
            return this;
        }

        /**
         * @param latestRevision an ID of the latest successfully created revision of the worker configuration.
         * 
         * @return builder
         * 
         */
        public Builder latestRevision(Integer latestRevision) {
            return latestRevision(Output.of(latestRevision));
        }

        /**
         * @param name The name of the worker configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name The name of the worker configuration.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param propertiesFileContent Contents of connect-distributed.properties file. The value can be either base64 encoded or in raw format.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder propertiesFileContent(@Nullable Output propertiesFileContent) {
            $.propertiesFileContent = propertiesFileContent;
            return this;
        }

        /**
         * @param propertiesFileContent Contents of connect-distributed.properties file. The value can be either base64 encoded or in raw format.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder propertiesFileContent(String propertiesFileContent) {
            return propertiesFileContent(Output.of(propertiesFileContent));
        }

        /**
         * @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));
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(@Nullable Output> tagsAll) {
            $.tagsAll = tagsAll;
            return this;
        }

        /**
         * @param tagsAll A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
         * 
         * @return builder
         * 
         * @deprecated
         * Please use `tags` instead.
         * 
         */
        @Deprecated /* Please use `tags` instead. */
        public Builder tagsAll(Map tagsAll) {
            return tagsAll(Output.of(tagsAll));
        }

        public WorkerConfigurationState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy