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

com.pulumi.aws.finspace.inputs.KxScalingGroupState 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.finspace.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 KxScalingGroupState extends com.pulumi.resources.ResourceArgs {

    public static final KxScalingGroupState Empty = new KxScalingGroupState();

    /**
     * Amazon Resource Name (ARN) identifier of the KX Scaling Group.
     * 
     */
    @Import(name="arn")
    private @Nullable Output arn;

    /**
     * @return Amazon Resource Name (ARN) identifier of the KX Scaling Group.
     * 
     */
    public Optional> arn() {
        return Optional.ofNullable(this.arn);
    }

    /**
     * The availability zone identifiers for the requested regions.
     * 
     */
    @Import(name="availabilityZoneId")
    private @Nullable Output availabilityZoneId;

    /**
     * @return The availability zone identifiers for the requested regions.
     * 
     */
    public Optional> availabilityZoneId() {
        return Optional.ofNullable(this.availabilityZoneId);
    }

    /**
     * The list of Managed kdb clusters that are currently active in the given scaling group.
     * 
     */
    @Import(name="clusters")
    private @Nullable Output> clusters;

    /**
     * @return The list of Managed kdb clusters that are currently active in the given scaling group.
     * 
     */
    public Optional>> clusters() {
        return Optional.ofNullable(this.clusters);
    }

    /**
     * The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
     * 
     */
    @Import(name="createdTimestamp")
    private @Nullable Output createdTimestamp;

    /**
     * @return The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
     * 
     */
    public Optional> createdTimestamp() {
        return Optional.ofNullable(this.createdTimestamp);
    }

    /**
     * A unique identifier for the kdb environment, where you want to create the scaling group.
     * 
     */
    @Import(name="environmentId")
    private @Nullable Output environmentId;

    /**
     * @return A unique identifier for the kdb environment, where you want to create the scaling group.
     * 
     */
    public Optional> environmentId() {
        return Optional.ofNullable(this.environmentId);
    }

    /**
     * The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="hostType")
    private @Nullable Output hostType;

    /**
     * @return The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> hostType() {
        return Optional.ofNullable(this.hostType);
    }

    /**
     * Last timestamp at which the scaling group was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
     * 
     */
    @Import(name="lastModifiedTimestamp")
    private @Nullable Output lastModifiedTimestamp;

    /**
     * @return Last timestamp at which the scaling group was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
     * 
     */
    public Optional> lastModifiedTimestamp() {
        return Optional.ofNullable(this.lastModifiedTimestamp);
    }

    /**
     * Unique name for the scaling group that you want to create.
     * 
     */
    @Import(name="name")
    private @Nullable Output name;

    /**
     * @return Unique name for the scaling group that you want to create.
     * 
     */
    public Optional> name() {
        return Optional.ofNullable(this.name);
    }

    /**
     * The status of scaling group.
     * * `CREATING` – The scaling group creation is in progress.
     * * `CREATE_FAILED` – The scaling group creation has failed.
     * * `ACTIVE` – The scaling group is active.
     * * `UPDATING` – The scaling group is in the process of being updated.
     * * `UPDATE_FAILED` – The update action failed.
     * * `DELETING` – The scaling group is in the process of being deleted.
     * * `DELETE_FAILED` – The system failed to delete the scaling group.
     * * `DELETED` – The scaling group is successfully deleted.
     * 
     */
    @Import(name="status")
    private @Nullable Output status;

    /**
     * @return The status of scaling group.
     * * `CREATING` – The scaling group creation is in progress.
     * * `CREATE_FAILED` – The scaling group creation has failed.
     * * `ACTIVE` – The scaling group is active.
     * * `UPDATING` – The scaling group is in the process of being updated.
     * * `UPDATE_FAILED` – The update action failed.
     * * `DELETING` – The scaling group is in the process of being deleted.
     * * `DELETE_FAILED` – The system failed to delete the scaling group.
     * * `DELETED` – The scaling group is successfully deleted.
     * 
     */
    public Optional> status() {
        return Optional.ofNullable(this.status);
    }

    /**
     * The error message when a failed state occurs.
     * 
     */
    @Import(name="statusReason")
    private @Nullable Output statusReason;

    /**
     * @return The error message when a failed state occurs.
     * 
     */
    public Optional> statusReason() {
        return Optional.ofNullable(this.statusReason);
    }

    /**
     * Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. You can add up to 50 tags to a scaling group.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. You can add up to 50 tags to a scaling group.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

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

    private KxScalingGroupState(KxScalingGroupState $) {
        this.arn = $.arn;
        this.availabilityZoneId = $.availabilityZoneId;
        this.clusters = $.clusters;
        this.createdTimestamp = $.createdTimestamp;
        this.environmentId = $.environmentId;
        this.hostType = $.hostType;
        this.lastModifiedTimestamp = $.lastModifiedTimestamp;
        this.name = $.name;
        this.status = $.status;
        this.statusReason = $.statusReason;
        this.tags = $.tags;
        this.tagsAll = $.tagsAll;
    }

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

    public static final class Builder {
        private KxScalingGroupState $;

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

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

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

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

        /**
         * @param availabilityZoneId The availability zone identifiers for the requested regions.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZoneId(@Nullable Output availabilityZoneId) {
            $.availabilityZoneId = availabilityZoneId;
            return this;
        }

        /**
         * @param availabilityZoneId The availability zone identifiers for the requested regions.
         * 
         * @return builder
         * 
         */
        public Builder availabilityZoneId(String availabilityZoneId) {
            return availabilityZoneId(Output.of(availabilityZoneId));
        }

        /**
         * @param clusters The list of Managed kdb clusters that are currently active in the given scaling group.
         * 
         * @return builder
         * 
         */
        public Builder clusters(@Nullable Output> clusters) {
            $.clusters = clusters;
            return this;
        }

        /**
         * @param clusters The list of Managed kdb clusters that are currently active in the given scaling group.
         * 
         * @return builder
         * 
         */
        public Builder clusters(List clusters) {
            return clusters(Output.of(clusters));
        }

        /**
         * @param clusters The list of Managed kdb clusters that are currently active in the given scaling group.
         * 
         * @return builder
         * 
         */
        public Builder clusters(String... clusters) {
            return clusters(List.of(clusters));
        }

        /**
         * @param createdTimestamp The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
         * 
         * @return builder
         * 
         */
        public Builder createdTimestamp(@Nullable Output createdTimestamp) {
            $.createdTimestamp = createdTimestamp;
            return this;
        }

        /**
         * @param createdTimestamp The timestamp at which the scaling group was created in FinSpace. The value is determined as epoch time in milliseconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000000.
         * 
         * @return builder
         * 
         */
        public Builder createdTimestamp(String createdTimestamp) {
            return createdTimestamp(Output.of(createdTimestamp));
        }

        /**
         * @param environmentId A unique identifier for the kdb environment, where you want to create the scaling group.
         * 
         * @return builder
         * 
         */
        public Builder environmentId(@Nullable Output environmentId) {
            $.environmentId = environmentId;
            return this;
        }

        /**
         * @param environmentId A unique identifier for the kdb environment, where you want to create the scaling group.
         * 
         * @return builder
         * 
         */
        public Builder environmentId(String environmentId) {
            return environmentId(Output.of(environmentId));
        }

        /**
         * @param hostType The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder hostType(@Nullable Output hostType) {
            $.hostType = hostType;
            return this;
        }

        /**
         * @param hostType The memory and CPU capabilities of the scaling group host on which FinSpace Managed kdb clusters will be placed.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder hostType(String hostType) {
            return hostType(Output.of(hostType));
        }

        /**
         * @param lastModifiedTimestamp Last timestamp at which the scaling group was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
         * 
         * @return builder
         * 
         */
        public Builder lastModifiedTimestamp(@Nullable Output lastModifiedTimestamp) {
            $.lastModifiedTimestamp = lastModifiedTimestamp;
            return this;
        }

        /**
         * @param lastModifiedTimestamp Last timestamp at which the scaling group was updated in FinSpace. Value determined as epoch time in seconds. For example, the value for Monday, November 1, 2021 12:00:00 PM UTC is specified as 1635768000.
         * 
         * @return builder
         * 
         */
        public Builder lastModifiedTimestamp(String lastModifiedTimestamp) {
            return lastModifiedTimestamp(Output.of(lastModifiedTimestamp));
        }

        /**
         * @param name Unique name for the scaling group that you want to create.
         * 
         * @return builder
         * 
         */
        public Builder name(@Nullable Output name) {
            $.name = name;
            return this;
        }

        /**
         * @param name Unique name for the scaling group that you want to create.
         * 
         * @return builder
         * 
         */
        public Builder name(String name) {
            return name(Output.of(name));
        }

        /**
         * @param status The status of scaling group.
         * * `CREATING` – The scaling group creation is in progress.
         * * `CREATE_FAILED` – The scaling group creation has failed.
         * * `ACTIVE` – The scaling group is active.
         * * `UPDATING` – The scaling group is in the process of being updated.
         * * `UPDATE_FAILED` – The update action failed.
         * * `DELETING` – The scaling group is in the process of being deleted.
         * * `DELETE_FAILED` – The system failed to delete the scaling group.
         * * `DELETED` – The scaling group is successfully deleted.
         * 
         * @return builder
         * 
         */
        public Builder status(@Nullable Output status) {
            $.status = status;
            return this;
        }

        /**
         * @param status The status of scaling group.
         * * `CREATING` – The scaling group creation is in progress.
         * * `CREATE_FAILED` – The scaling group creation has failed.
         * * `ACTIVE` – The scaling group is active.
         * * `UPDATING` – The scaling group is in the process of being updated.
         * * `UPDATE_FAILED` – The update action failed.
         * * `DELETING` – The scaling group is in the process of being deleted.
         * * `DELETE_FAILED` – The system failed to delete the scaling group.
         * * `DELETED` – The scaling group is successfully deleted.
         * 
         * @return builder
         * 
         */
        public Builder status(String status) {
            return status(Output.of(status));
        }

        /**
         * @param statusReason The error message when a failed state occurs.
         * 
         * @return builder
         * 
         */
        public Builder statusReason(@Nullable Output statusReason) {
            $.statusReason = statusReason;
            return this;
        }

        /**
         * @param statusReason The error message when a failed state occurs.
         * 
         * @return builder
         * 
         */
        public Builder statusReason(String statusReason) {
            return statusReason(Output.of(statusReason));
        }

        /**
         * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. You can add up to 50 tags to a scaling group.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Key-value mapping of resource tags. If configured with a provider `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level. You can add up to 50 tags to a scaling group.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy