com.pulumi.aws.fsx.outputs.GetOntapFileSystemResult 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.fsx.outputs;
import com.pulumi.aws.fsx.outputs.GetOntapFileSystemDiskIopsConfiguration;
import com.pulumi.aws.fsx.outputs.GetOntapFileSystemEndpoint;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
@CustomType
public final class GetOntapFileSystemResult {
/**
* @return Amazon Resource Name of the file system.
*
*/
private String arn;
/**
* @return The number of days to retain automatic backups.
*
*/
private Integer automaticBackupRetentionDays;
/**
* @return The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone.
*
*/
private String dailyAutomaticBackupStartTime;
/**
* @return The file system deployment type.
*
*/
private String deploymentType;
/**
* @return The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below.
*
*/
private List diskIopsConfigurations;
/**
* @return DNS name for the file system.
*
*/
private String dnsName;
/**
* @return (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist.
*
*/
private String endpointIpAddressRange;
/**
* @return The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below.
*
*/
private List endpoints;
/**
* @return The number of HA pairs for the file system.
*
*/
private Integer haPairs;
/**
* @return Identifier of the file system (e.g. `fs-12345678`).
*
*/
private String id;
/**
* @return ARN for the KMS Key to encrypt the file system at rest.
*
*/
private String kmsKeyId;
/**
* @return The IDs of the elastic network interfaces from which a specific file system is accessible.
*
*/
private List networkInterfaceIds;
/**
* @return AWS account identifier that created the file system.
*
*/
private String ownerId;
/**
* @return Specifies the subnet in which you want the preferred file server to be located.
*
*/
private String preferredSubnetId;
/**
* @return (Multi-AZ only) The VPC route tables in which your file system's endpoints exist.
*
*/
private List routeTableIds;
/**
* @return The storage capacity of the file system in gibibytes (GiB).
*
*/
private Integer storageCapacity;
/**
* @return The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage.
*
*/
private String storageType;
/**
* @return Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferred_subnet_id` property.
*
*/
private List subnetIds;
/**
* @return The tags associated with the file system.
*
*/
private Map tags;
/**
* @return The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). If the file system uses multiple HA pairs this will equal throuthput_capacity_per_ha_pair x ha_pairs
*
*/
private Integer throughputCapacity;
/**
* @return The sustained throughput of each HA pair for an Amazon FSx file system in Megabytes per second (MBps).
*
*/
private Integer throughputCapacityPerHaPair;
/**
* @return The ID of the primary virtual private cloud (VPC) for the file system.
*
*/
private String vpcId;
/**
* @return The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone.
*
*/
private String weeklyMaintenanceStartTime;
private GetOntapFileSystemResult() {}
/**
* @return Amazon Resource Name of the file system.
*
*/
public String arn() {
return this.arn;
}
/**
* @return The number of days to retain automatic backups.
*
*/
public Integer automaticBackupRetentionDays() {
return this.automaticBackupRetentionDays;
}
/**
* @return The preferred time (in `HH:MM` format) to take daily automatic backups, in the UTC time zone.
*
*/
public String dailyAutomaticBackupStartTime() {
return this.dailyAutomaticBackupStartTime;
}
/**
* @return The file system deployment type.
*
*/
public String deploymentType() {
return this.deploymentType;
}
/**
* @return The SSD IOPS configuration for the Amazon FSx for NetApp ONTAP file system, specifying the number of provisioned IOPS and the provision mode. See Disk IOPS Below.
*
*/
public List diskIopsConfigurations() {
return this.diskIopsConfigurations;
}
/**
* @return DNS name for the file system.
*
*/
public String dnsName() {
return this.dnsName;
}
/**
* @return (Multi-AZ only) Specifies the IP address range in which the endpoints to access your file system exist.
*
*/
public String endpointIpAddressRange() {
return this.endpointIpAddressRange;
}
/**
* @return The Management and Intercluster FileSystemEndpoints that are used to access data or to manage the file system using the NetApp ONTAP CLI, REST API, or NetApp SnapMirror. See FileSystemEndpoints below.
*
*/
public List endpoints() {
return this.endpoints;
}
/**
* @return The number of HA pairs for the file system.
*
*/
public Integer haPairs() {
return this.haPairs;
}
/**
* @return Identifier of the file system (e.g. `fs-12345678`).
*
*/
public String id() {
return this.id;
}
/**
* @return ARN for the KMS Key to encrypt the file system at rest.
*
*/
public String kmsKeyId() {
return this.kmsKeyId;
}
/**
* @return The IDs of the elastic network interfaces from which a specific file system is accessible.
*
*/
public List networkInterfaceIds() {
return this.networkInterfaceIds;
}
/**
* @return AWS account identifier that created the file system.
*
*/
public String ownerId() {
return this.ownerId;
}
/**
* @return Specifies the subnet in which you want the preferred file server to be located.
*
*/
public String preferredSubnetId() {
return this.preferredSubnetId;
}
/**
* @return (Multi-AZ only) The VPC route tables in which your file system's endpoints exist.
*
*/
public List routeTableIds() {
return this.routeTableIds;
}
/**
* @return The storage capacity of the file system in gibibytes (GiB).
*
*/
public Integer storageCapacity() {
return this.storageCapacity;
}
/**
* @return The type of storage the file system is using. If set to `SSD`, the file system uses solid state drive storage. If set to `HDD`, the file system uses hard disk drive storage.
*
*/
public String storageType() {
return this.storageType;
}
/**
* @return Specifies the IDs of the subnets that the file system is accessible from. For the MULTI_AZ_1 file system deployment type, there are two subnet IDs, one for the preferred file server and one for the standby file server. The preferred file server subnet identified in the `preferred_subnet_id` property.
*
*/
public List subnetIds() {
return this.subnetIds;
}
/**
* @return The tags associated with the file system.
*
*/
public Map tags() {
return this.tags;
}
/**
* @return The sustained throughput of an Amazon FSx file system in Megabytes per second (MBps). If the file system uses multiple HA pairs this will equal throuthput_capacity_per_ha_pair x ha_pairs
*
*/
public Integer throughputCapacity() {
return this.throughputCapacity;
}
/**
* @return The sustained throughput of each HA pair for an Amazon FSx file system in Megabytes per second (MBps).
*
*/
public Integer throughputCapacityPerHaPair() {
return this.throughputCapacityPerHaPair;
}
/**
* @return The ID of the primary virtual private cloud (VPC) for the file system.
*
*/
public String vpcId() {
return this.vpcId;
}
/**
* @return The preferred start time (in `D:HH:MM` format) to perform weekly maintenance, in the UTC time zone.
*
*/
public String weeklyMaintenanceStartTime() {
return this.weeklyMaintenanceStartTime;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetOntapFileSystemResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private Integer automaticBackupRetentionDays;
private String dailyAutomaticBackupStartTime;
private String deploymentType;
private List diskIopsConfigurations;
private String dnsName;
private String endpointIpAddressRange;
private List endpoints;
private Integer haPairs;
private String id;
private String kmsKeyId;
private List networkInterfaceIds;
private String ownerId;
private String preferredSubnetId;
private List routeTableIds;
private Integer storageCapacity;
private String storageType;
private List subnetIds;
private Map tags;
private Integer throughputCapacity;
private Integer throughputCapacityPerHaPair;
private String vpcId;
private String weeklyMaintenanceStartTime;
public Builder() {}
public Builder(GetOntapFileSystemResult defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.automaticBackupRetentionDays = defaults.automaticBackupRetentionDays;
this.dailyAutomaticBackupStartTime = defaults.dailyAutomaticBackupStartTime;
this.deploymentType = defaults.deploymentType;
this.diskIopsConfigurations = defaults.diskIopsConfigurations;
this.dnsName = defaults.dnsName;
this.endpointIpAddressRange = defaults.endpointIpAddressRange;
this.endpoints = defaults.endpoints;
this.haPairs = defaults.haPairs;
this.id = defaults.id;
this.kmsKeyId = defaults.kmsKeyId;
this.networkInterfaceIds = defaults.networkInterfaceIds;
this.ownerId = defaults.ownerId;
this.preferredSubnetId = defaults.preferredSubnetId;
this.routeTableIds = defaults.routeTableIds;
this.storageCapacity = defaults.storageCapacity;
this.storageType = defaults.storageType;
this.subnetIds = defaults.subnetIds;
this.tags = defaults.tags;
this.throughputCapacity = defaults.throughputCapacity;
this.throughputCapacityPerHaPair = defaults.throughputCapacityPerHaPair;
this.vpcId = defaults.vpcId;
this.weeklyMaintenanceStartTime = defaults.weeklyMaintenanceStartTime;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder automaticBackupRetentionDays(Integer automaticBackupRetentionDays) {
if (automaticBackupRetentionDays == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "automaticBackupRetentionDays");
}
this.automaticBackupRetentionDays = automaticBackupRetentionDays;
return this;
}
@CustomType.Setter
public Builder dailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime) {
if (dailyAutomaticBackupStartTime == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "dailyAutomaticBackupStartTime");
}
this.dailyAutomaticBackupStartTime = dailyAutomaticBackupStartTime;
return this;
}
@CustomType.Setter
public Builder deploymentType(String deploymentType) {
if (deploymentType == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "deploymentType");
}
this.deploymentType = deploymentType;
return this;
}
@CustomType.Setter
public Builder diskIopsConfigurations(List diskIopsConfigurations) {
if (diskIopsConfigurations == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "diskIopsConfigurations");
}
this.diskIopsConfigurations = diskIopsConfigurations;
return this;
}
public Builder diskIopsConfigurations(GetOntapFileSystemDiskIopsConfiguration... diskIopsConfigurations) {
return diskIopsConfigurations(List.of(diskIopsConfigurations));
}
@CustomType.Setter
public Builder dnsName(String dnsName) {
if (dnsName == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "dnsName");
}
this.dnsName = dnsName;
return this;
}
@CustomType.Setter
public Builder endpointIpAddressRange(String endpointIpAddressRange) {
if (endpointIpAddressRange == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "endpointIpAddressRange");
}
this.endpointIpAddressRange = endpointIpAddressRange;
return this;
}
@CustomType.Setter
public Builder endpoints(List endpoints) {
if (endpoints == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "endpoints");
}
this.endpoints = endpoints;
return this;
}
public Builder endpoints(GetOntapFileSystemEndpoint... endpoints) {
return endpoints(List.of(endpoints));
}
@CustomType.Setter
public Builder haPairs(Integer haPairs) {
if (haPairs == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "haPairs");
}
this.haPairs = haPairs;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder kmsKeyId(String kmsKeyId) {
if (kmsKeyId == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "kmsKeyId");
}
this.kmsKeyId = kmsKeyId;
return this;
}
@CustomType.Setter
public Builder networkInterfaceIds(List networkInterfaceIds) {
if (networkInterfaceIds == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "networkInterfaceIds");
}
this.networkInterfaceIds = networkInterfaceIds;
return this;
}
public Builder networkInterfaceIds(String... networkInterfaceIds) {
return networkInterfaceIds(List.of(networkInterfaceIds));
}
@CustomType.Setter
public Builder ownerId(String ownerId) {
if (ownerId == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "ownerId");
}
this.ownerId = ownerId;
return this;
}
@CustomType.Setter
public Builder preferredSubnetId(String preferredSubnetId) {
if (preferredSubnetId == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "preferredSubnetId");
}
this.preferredSubnetId = preferredSubnetId;
return this;
}
@CustomType.Setter
public Builder routeTableIds(List routeTableIds) {
if (routeTableIds == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "routeTableIds");
}
this.routeTableIds = routeTableIds;
return this;
}
public Builder routeTableIds(String... routeTableIds) {
return routeTableIds(List.of(routeTableIds));
}
@CustomType.Setter
public Builder storageCapacity(Integer storageCapacity) {
if (storageCapacity == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "storageCapacity");
}
this.storageCapacity = storageCapacity;
return this;
}
@CustomType.Setter
public Builder storageType(String storageType) {
if (storageType == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "storageType");
}
this.storageType = storageType;
return this;
}
@CustomType.Setter
public Builder subnetIds(List subnetIds) {
if (subnetIds == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "subnetIds");
}
this.subnetIds = subnetIds;
return this;
}
public Builder subnetIds(String... subnetIds) {
return subnetIds(List.of(subnetIds));
}
@CustomType.Setter
public Builder tags(Map tags) {
if (tags == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "tags");
}
this.tags = tags;
return this;
}
@CustomType.Setter
public Builder throughputCapacity(Integer throughputCapacity) {
if (throughputCapacity == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "throughputCapacity");
}
this.throughputCapacity = throughputCapacity;
return this;
}
@CustomType.Setter
public Builder throughputCapacityPerHaPair(Integer throughputCapacityPerHaPair) {
if (throughputCapacityPerHaPair == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "throughputCapacityPerHaPair");
}
this.throughputCapacityPerHaPair = throughputCapacityPerHaPair;
return this;
}
@CustomType.Setter
public Builder vpcId(String vpcId) {
if (vpcId == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "vpcId");
}
this.vpcId = vpcId;
return this;
}
@CustomType.Setter
public Builder weeklyMaintenanceStartTime(String weeklyMaintenanceStartTime) {
if (weeklyMaintenanceStartTime == null) {
throw new MissingRequiredPropertyException("GetOntapFileSystemResult", "weeklyMaintenanceStartTime");
}
this.weeklyMaintenanceStartTime = weeklyMaintenanceStartTime;
return this;
}
public GetOntapFileSystemResult build() {
final var _resultValue = new GetOntapFileSystemResult();
_resultValue.arn = arn;
_resultValue.automaticBackupRetentionDays = automaticBackupRetentionDays;
_resultValue.dailyAutomaticBackupStartTime = dailyAutomaticBackupStartTime;
_resultValue.deploymentType = deploymentType;
_resultValue.diskIopsConfigurations = diskIopsConfigurations;
_resultValue.dnsName = dnsName;
_resultValue.endpointIpAddressRange = endpointIpAddressRange;
_resultValue.endpoints = endpoints;
_resultValue.haPairs = haPairs;
_resultValue.id = id;
_resultValue.kmsKeyId = kmsKeyId;
_resultValue.networkInterfaceIds = networkInterfaceIds;
_resultValue.ownerId = ownerId;
_resultValue.preferredSubnetId = preferredSubnetId;
_resultValue.routeTableIds = routeTableIds;
_resultValue.storageCapacity = storageCapacity;
_resultValue.storageType = storageType;
_resultValue.subnetIds = subnetIds;
_resultValue.tags = tags;
_resultValue.throughputCapacity = throughputCapacity;
_resultValue.throughputCapacityPerHaPair = throughputCapacityPerHaPair;
_resultValue.vpcId = vpcId;
_resultValue.weeklyMaintenanceStartTime = weeklyMaintenanceStartTime;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy