Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.finspace.inputs.KxVolumeState Maven / Gradle / Ivy
Go to download
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.aws.finspace.inputs.KxVolumeAttachedClusterArgs;
import com.pulumi.aws.finspace.inputs.KxVolumeNas1ConfigurationArgs;
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 KxVolumeState extends com.pulumi.resources.ResourceArgs {
public static final KxVolumeState Empty = new KxVolumeState();
/**
* Amazon Resource Name (ARN) identifier of the KX volume.
*
*/
@Import(name="arn")
private @Nullable Output arn;
/**
* @return Amazon Resource Name (ARN) identifier of the KX volume.
*
*/
public Optional> arn() {
return Optional.ofNullable(this.arn);
}
@Import(name="attachedClusters")
private @Nullable Output> attachedClusters;
public Optional>> attachedClusters() {
return Optional.ofNullable(this.attachedClusters);
}
/**
* The identifier of the AWS Availability Zone IDs.
*
* The following arguments are optional:
*
*/
@Import(name="availabilityZones")
private @Nullable Output> availabilityZones;
/**
* @return The identifier of the AWS Availability Zone IDs.
*
* The following arguments are optional:
*
*/
public Optional>> availabilityZones() {
return Optional.ofNullable(this.availabilityZones);
}
/**
* The number of availability zones you want to assign per volume. Currently, Finspace only support SINGLE for volumes.
* * `SINGLE` - Assigns one availability zone per volume.
*
*/
@Import(name="azMode")
private @Nullable Output azMode;
/**
* @return The number of availability zones you want to assign per volume. Currently, Finspace only support SINGLE for volumes.
* * `SINGLE` - Assigns one availability zone per volume.
*
*/
public Optional> azMode() {
return Optional.ofNullable(this.azMode);
}
/**
* The timestamp at which the volume 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 volume 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);
}
/**
* Description of the volume.
*
*/
@Import(name="description")
private @Nullable Output description;
/**
* @return Description of the volume.
*
*/
public Optional> description() {
return Optional.ofNullable(this.description);
}
/**
* A unique identifier for the kdb environment, whose clusters can attach to the volume.
*
*/
@Import(name="environmentId")
private @Nullable Output environmentId;
/**
* @return A unique identifier for the kdb environment, whose clusters can attach to the volume.
*
*/
public Optional> environmentId() {
return Optional.ofNullable(this.environmentId);
}
/**
* Last timestamp at which the volume 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 volume 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 volumr that you want to create.
*
*/
@Import(name="name")
private @Nullable Output name;
/**
* @return Unique name for the volumr that you want to create.
*
*/
public Optional> name() {
return Optional.ofNullable(this.name);
}
/**
* Specifies the configuration for the Network attached storage (`NAS_1`) file system volume. This parameter is required when `volume_type` is `NAS_1`. See `nas1_configuration` Argument Reference below.
*
*/
@Import(name="nas1Configurations")
private @Nullable Output> nas1Configurations;
/**
* @return Specifies the configuration for the Network attached storage (`NAS_1`) file system volume. This parameter is required when `volume_type` is `NAS_1`. See `nas1_configuration` Argument Reference below.
*
*/
public Optional>> nas1Configurations() {
return Optional.ofNullable(this.nas1Configurations);
}
/**
* The status of volume creation.
* * `CREATING` – The volume creation is in progress.
* * `CREATE_FAILED` – The volume creation has failed.
* * `ACTIVE` – The volume is active.
* * `UPDATING` – The volume is in the process of being updated.
* * `UPDATE_FAILED` – The update action failed.
* * `UPDATED` – The volume is successfully updated.
* * `DELETING` – The volume is in the process of being deleted.
* * `DELETE_FAILED` – The system failed to delete the volume.
* * `DELETED` – The volume is successfully deleted.
*
*/
@Import(name="status")
private @Nullable Output status;
/**
* @return The status of volume creation.
* * `CREATING` – The volume creation is in progress.
* * `CREATE_FAILED` – The volume creation has failed.
* * `ACTIVE` – The volume is active.
* * `UPDATING` – The volume is in the process of being updated.
* * `UPDATE_FAILED` – The update action failed.
* * `UPDATED` – The volume is successfully updated.
* * `DELETING` – The volume is in the process of being deleted.
* * `DELETE_FAILED` – The system failed to delete the volume.
* * `DELETED` – The volume 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);
}
/**
* A list of key-value pairs to label the volume. You can add up to 50 tags to a volume
*
*/
@Import(name="tags")
private @Nullable Output> tags;
/**
* @return A list of key-value pairs to label the volume. You can add up to 50 tags to a volume
*
*/
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);
}
/**
* The type of file system volume. Currently, FinSpace only supports the `NAS_1` volume type. When you select the `NAS_1` volume type, you must also provide `nas1_configuration`.
*
*/
@Import(name="type")
private @Nullable Output type;
/**
* @return The type of file system volume. Currently, FinSpace only supports the `NAS_1` volume type. When you select the `NAS_1` volume type, you must also provide `nas1_configuration`.
*
*/
public Optional> type() {
return Optional.ofNullable(this.type);
}
private KxVolumeState() {}
private KxVolumeState(KxVolumeState $) {
this.arn = $.arn;
this.attachedClusters = $.attachedClusters;
this.availabilityZones = $.availabilityZones;
this.azMode = $.azMode;
this.createdTimestamp = $.createdTimestamp;
this.description = $.description;
this.environmentId = $.environmentId;
this.lastModifiedTimestamp = $.lastModifiedTimestamp;
this.name = $.name;
this.nas1Configurations = $.nas1Configurations;
this.status = $.status;
this.statusReason = $.statusReason;
this.tags = $.tags;
this.tagsAll = $.tagsAll;
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(KxVolumeState defaults) {
return new Builder(defaults);
}
public static final class Builder {
private KxVolumeState $;
public Builder() {
$ = new KxVolumeState();
}
public Builder(KxVolumeState defaults) {
$ = new KxVolumeState(Objects.requireNonNull(defaults));
}
/**
* @param arn Amazon Resource Name (ARN) identifier of the KX volume.
*
* @return builder
*
*/
public Builder arn(@Nullable Output arn) {
$.arn = arn;
return this;
}
/**
* @param arn Amazon Resource Name (ARN) identifier of the KX volume.
*
* @return builder
*
*/
public Builder arn(String arn) {
return arn(Output.of(arn));
}
public Builder attachedClusters(@Nullable Output> attachedClusters) {
$.attachedClusters = attachedClusters;
return this;
}
public Builder attachedClusters(List attachedClusters) {
return attachedClusters(Output.of(attachedClusters));
}
public Builder attachedClusters(KxVolumeAttachedClusterArgs... attachedClusters) {
return attachedClusters(List.of(attachedClusters));
}
/**
* @param availabilityZones The identifier of the AWS Availability Zone IDs.
*
* The following arguments are optional:
*
* @return builder
*
*/
public Builder availabilityZones(@Nullable Output> availabilityZones) {
$.availabilityZones = availabilityZones;
return this;
}
/**
* @param availabilityZones The identifier of the AWS Availability Zone IDs.
*
* The following arguments are optional:
*
* @return builder
*
*/
public Builder availabilityZones(List availabilityZones) {
return availabilityZones(Output.of(availabilityZones));
}
/**
* @param availabilityZones The identifier of the AWS Availability Zone IDs.
*
* The following arguments are optional:
*
* @return builder
*
*/
public Builder availabilityZones(String... availabilityZones) {
return availabilityZones(List.of(availabilityZones));
}
/**
* @param azMode The number of availability zones you want to assign per volume. Currently, Finspace only support SINGLE for volumes.
* * `SINGLE` - Assigns one availability zone per volume.
*
* @return builder
*
*/
public Builder azMode(@Nullable Output azMode) {
$.azMode = azMode;
return this;
}
/**
* @param azMode The number of availability zones you want to assign per volume. Currently, Finspace only support SINGLE for volumes.
* * `SINGLE` - Assigns one availability zone per volume.
*
* @return builder
*
*/
public Builder azMode(String azMode) {
return azMode(Output.of(azMode));
}
/**
* @param createdTimestamp The timestamp at which the volume 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 volume 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 description Description of the volume.
*
* @return builder
*
*/
public Builder description(@Nullable Output description) {
$.description = description;
return this;
}
/**
* @param description Description of the volume.
*
* @return builder
*
*/
public Builder description(String description) {
return description(Output.of(description));
}
/**
* @param environmentId A unique identifier for the kdb environment, whose clusters can attach to the volume.
*
* @return builder
*
*/
public Builder environmentId(@Nullable Output environmentId) {
$.environmentId = environmentId;
return this;
}
/**
* @param environmentId A unique identifier for the kdb environment, whose clusters can attach to the volume.
*
* @return builder
*
*/
public Builder environmentId(String environmentId) {
return environmentId(Output.of(environmentId));
}
/**
* @param lastModifiedTimestamp Last timestamp at which the volume 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 volume 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 volumr that you want to create.
*
* @return builder
*
*/
public Builder name(@Nullable Output name) {
$.name = name;
return this;
}
/**
* @param name Unique name for the volumr that you want to create.
*
* @return builder
*
*/
public Builder name(String name) {
return name(Output.of(name));
}
/**
* @param nas1Configurations Specifies the configuration for the Network attached storage (`NAS_1`) file system volume. This parameter is required when `volume_type` is `NAS_1`. See `nas1_configuration` Argument Reference below.
*
* @return builder
*
*/
public Builder nas1Configurations(@Nullable Output> nas1Configurations) {
$.nas1Configurations = nas1Configurations;
return this;
}
/**
* @param nas1Configurations Specifies the configuration for the Network attached storage (`NAS_1`) file system volume. This parameter is required when `volume_type` is `NAS_1`. See `nas1_configuration` Argument Reference below.
*
* @return builder
*
*/
public Builder nas1Configurations(List nas1Configurations) {
return nas1Configurations(Output.of(nas1Configurations));
}
/**
* @param nas1Configurations Specifies the configuration for the Network attached storage (`NAS_1`) file system volume. This parameter is required when `volume_type` is `NAS_1`. See `nas1_configuration` Argument Reference below.
*
* @return builder
*
*/
public Builder nas1Configurations(KxVolumeNas1ConfigurationArgs... nas1Configurations) {
return nas1Configurations(List.of(nas1Configurations));
}
/**
* @param status The status of volume creation.
* * `CREATING` – The volume creation is in progress.
* * `CREATE_FAILED` – The volume creation has failed.
* * `ACTIVE` – The volume is active.
* * `UPDATING` – The volume is in the process of being updated.
* * `UPDATE_FAILED` – The update action failed.
* * `UPDATED` – The volume is successfully updated.
* * `DELETING` – The volume is in the process of being deleted.
* * `DELETE_FAILED` – The system failed to delete the volume.
* * `DELETED` – The volume is successfully deleted.
*
* @return builder
*
*/
public Builder status(@Nullable Output status) {
$.status = status;
return this;
}
/**
* @param status The status of volume creation.
* * `CREATING` – The volume creation is in progress.
* * `CREATE_FAILED` – The volume creation has failed.
* * `ACTIVE` – The volume is active.
* * `UPDATING` – The volume is in the process of being updated.
* * `UPDATE_FAILED` – The update action failed.
* * `UPDATED` – The volume is successfully updated.
* * `DELETING` – The volume is in the process of being deleted.
* * `DELETE_FAILED` – The system failed to delete the volume.
* * `DELETED` – The volume 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 A list of key-value pairs to label the volume. You can add up to 50 tags to a volume
*
* @return builder
*
*/
public Builder tags(@Nullable Output> tags) {
$.tags = tags;
return this;
}
/**
* @param tags A list of key-value pairs to label the volume. You can add up to 50 tags to a volume
*
* @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));
}
/**
* @param type The type of file system volume. Currently, FinSpace only supports the `NAS_1` volume type. When you select the `NAS_1` volume type, you must also provide `nas1_configuration`.
*
* @return builder
*
*/
public Builder type(@Nullable Output type) {
$.type = type;
return this;
}
/**
* @param type The type of file system volume. Currently, FinSpace only supports the `NAS_1` volume type. When you select the `NAS_1` volume type, you must also provide `nas1_configuration`.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public KxVolumeState build() {
return $;
}
}
}