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

com.pulumi.aws.sagemaker.inputs.DeviceFleetState Maven / Gradle / Ivy

Go to download

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

There is a newer version: 6.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.aws.sagemaker.inputs;

import com.pulumi.aws.sagemaker.inputs.DeviceFleetOutputConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.Boolean;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final DeviceFleetState Empty = new DeviceFleetState();

    /**
     * The Amazon Resource Name (ARN) assigned by AWS to this Device Fleet.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return The Amazon Resource Name (ARN) assigned by AWS to this Device Fleet.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

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

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

    /**
     * The name of the Device Fleet (must be unique).
     * 
     */
    @Import(name="deviceFleetName")
    private @Nullable Output deviceFleetName;

    /**
     * @return The name of the Device Fleet (must be unique).
     * 
     */
    public Optional> deviceFleetName() {
        return Optional.ofNullable(this.deviceFleetName);
    }

    /**
     * Whether to create an AWS IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".
     * 
     */
    @Import(name="enableIotRoleAlias")
    private @Nullable Output enableIotRoleAlias;

    /**
     * @return Whether to create an AWS IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".
     * 
     */
    public Optional> enableIotRoleAlias() {
        return Optional.ofNullable(this.enableIotRoleAlias);
    }

    @Import(name="iotRoleAlias")
    private @Nullable Output iotRoleAlias;

    public Optional> iotRoleAlias() {
        return Optional.ofNullable(this.iotRoleAlias);
    }

    /**
     * Specifies details about the repository. see Output Config details below.
     * 
     */
    @Import(name="outputConfig")
    private @Nullable Output outputConfig;

    /**
     * @return Specifies details about the repository. see Output Config details below.
     * 
     */
    public Optional> outputConfig() {
        return Optional.ofNullable(this.outputConfig);
    }

    /**
     * The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT).
     * 
     */
    @Import(name="roleArn")
    private @Nullable Output roleArn;

    /**
     * @return The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT).
     * 
     */
    public Optional> roleArn() {
        return Optional.ofNullable(this.roleArn);
    }

    /**
     * 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 DeviceFleetState() {}

    private DeviceFleetState(DeviceFleetState $) {
        this.arn = $.arn;
        this.description = $.description;
        this.deviceFleetName = $.deviceFleetName;
        this.enableIotRoleAlias = $.enableIotRoleAlias;
        this.iotRoleAlias = $.iotRoleAlias;
        this.outputConfig = $.outputConfig;
        this.roleArn = $.roleArn;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

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

    public static final class Builder {
        private DeviceFleetState $;

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

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

        /**
         * @param arn The Amazon Resource Name (ARN) assigned by AWS to this Device Fleet.
         * 
         * @return builder
         * 
         */
        public Builder arn(@Nullable Output arn) {
            $.arn = arn;
            return this;
        }

        /**
         * @param arn The Amazon Resource Name (ARN) assigned by AWS to this Device Fleet.
         * 
         * @return builder
         * 
         */
        public Builder arn(String arn) {
            return arn(Output.of(arn));
        }

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

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

        /**
         * @param deviceFleetName The name of the Device Fleet (must be unique).
         * 
         * @return builder
         * 
         */
        public Builder deviceFleetName(@Nullable Output deviceFleetName) {
            $.deviceFleetName = deviceFleetName;
            return this;
        }

        /**
         * @param deviceFleetName The name of the Device Fleet (must be unique).
         * 
         * @return builder
         * 
         */
        public Builder deviceFleetName(String deviceFleetName) {
            return deviceFleetName(Output.of(deviceFleetName));
        }

        /**
         * @param enableIotRoleAlias Whether to create an AWS IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".
         * 
         * @return builder
         * 
         */
        public Builder enableIotRoleAlias(@Nullable Output enableIotRoleAlias) {
            $.enableIotRoleAlias = enableIotRoleAlias;
            return this;
        }

        /**
         * @param enableIotRoleAlias Whether to create an AWS IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".
         * 
         * @return builder
         * 
         */
        public Builder enableIotRoleAlias(Boolean enableIotRoleAlias) {
            return enableIotRoleAlias(Output.of(enableIotRoleAlias));
        }

        public Builder iotRoleAlias(@Nullable Output iotRoleAlias) {
            $.iotRoleAlias = iotRoleAlias;
            return this;
        }

        public Builder iotRoleAlias(String iotRoleAlias) {
            return iotRoleAlias(Output.of(iotRoleAlias));
        }

        /**
         * @param outputConfig Specifies details about the repository. see Output Config details below.
         * 
         * @return builder
         * 
         */
        public Builder outputConfig(@Nullable Output outputConfig) {
            $.outputConfig = outputConfig;
            return this;
        }

        /**
         * @param outputConfig Specifies details about the repository. see Output Config details below.
         * 
         * @return builder
         * 
         */
        public Builder outputConfig(DeviceFleetOutputConfigArgs outputConfig) {
            return outputConfig(Output.of(outputConfig));
        }

        /**
         * @param roleArn The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT).
         * 
         * @return builder
         * 
         */
        public Builder roleArn(@Nullable Output roleArn) {
            $.roleArn = roleArn;
            return this;
        }

        /**
         * @param roleArn The Amazon Resource Name (ARN) that has access to AWS Internet of Things (IoT).
         * 
         * @return builder
         * 
         */
        public Builder roleArn(String roleArn) {
            return roleArn(Output.of(roleArn));
        }

        /**
         * @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 DeviceFleetState build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy