Class FsxOntapFileSystemConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.fsx_ontap_file_system.FsxOntapFileSystemConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<FsxOntapFileSystemConfig>
- Enclosing interface:
- FsxOntapFileSystemConfig
@Stability(Stable) public static final class FsxOntapFileSystemConfig.Builder extends Object implements software.amazon.jsii.Builder<FsxOntapFileSystemConfig>
A builder forFsxOntapFileSystemConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
deploymentType
@Stability(Stable) public FsxOntapFileSystemConfig.Builder deploymentType(String deploymentType)
Sets the value ofFsxOntapFileSystemConfig.getDeploymentType()- Parameters:
deploymentType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#deployment_type FsxOntapFileSystem#deployment_type}. This parameter is required.- Returns:
this
-
preferredSubnetId
@Stability(Stable) public FsxOntapFileSystemConfig.Builder preferredSubnetId(String preferredSubnetId)
Sets the value ofFsxOntapFileSystemConfig.getPreferredSubnetId()- Parameters:
preferredSubnetId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#preferred_subnet_id FsxOntapFileSystem#preferred_subnet_id}. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public FsxOntapFileSystemConfig.Builder subnetIds(List<String> subnetIds)
Sets the value ofFsxOntapFileSystemConfig.getSubnetIds()- Parameters:
subnetIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#subnet_ids FsxOntapFileSystem#subnet_ids}. This parameter is required.- Returns:
this
-
throughputCapacity
@Stability(Stable) public FsxOntapFileSystemConfig.Builder throughputCapacity(Number throughputCapacity)
Sets the value ofFsxOntapFileSystemConfig.getThroughputCapacity()- Parameters:
throughputCapacity- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#throughput_capacity FsxOntapFileSystem#throughput_capacity}. This parameter is required.- Returns:
this
-
automaticBackupRetentionDays
@Stability(Stable) public FsxOntapFileSystemConfig.Builder automaticBackupRetentionDays(Number automaticBackupRetentionDays)
Sets the value ofFsxOntapFileSystemConfig.getAutomaticBackupRetentionDays()- Parameters:
automaticBackupRetentionDays- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#automatic_backup_retention_days FsxOntapFileSystem#automatic_backup_retention_days}.- Returns:
this
-
dailyAutomaticBackupStartTime
@Stability(Stable) public FsxOntapFileSystemConfig.Builder dailyAutomaticBackupStartTime(String dailyAutomaticBackupStartTime)
Sets the value ofFsxOntapFileSystemConfig.getDailyAutomaticBackupStartTime()- Parameters:
dailyAutomaticBackupStartTime- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#daily_automatic_backup_start_time FsxOntapFileSystem#daily_automatic_backup_start_time}.- Returns:
this
-
diskIopsConfiguration
@Stability(Stable) public FsxOntapFileSystemConfig.Builder diskIopsConfiguration(FsxOntapFileSystemDiskIopsConfiguration diskIopsConfiguration)
Sets the value ofFsxOntapFileSystemConfig.getDiskIopsConfiguration()- Parameters:
diskIopsConfiguration- disk_iops_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#disk_iops_configuration FsxOntapFileSystem#disk_iops_configuration}- Returns:
this
-
endpointIpAddressRange
@Stability(Stable) public FsxOntapFileSystemConfig.Builder endpointIpAddressRange(String endpointIpAddressRange)
Sets the value ofFsxOntapFileSystemConfig.getEndpointIpAddressRange()- Parameters:
endpointIpAddressRange- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#endpoint_ip_address_range FsxOntapFileSystem#endpoint_ip_address_range}.- Returns:
this
-
fsxAdminPassword
@Stability(Stable) public FsxOntapFileSystemConfig.Builder fsxAdminPassword(String fsxAdminPassword)
Sets the value ofFsxOntapFileSystemConfig.getFsxAdminPassword()- Parameters:
fsxAdminPassword- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#fsx_admin_password FsxOntapFileSystem#fsx_admin_password}.- Returns:
this
-
id
@Stability(Stable) public FsxOntapFileSystemConfig.Builder id(String id)
Sets the value ofFsxOntapFileSystemConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#id FsxOntapFileSystem#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
kmsKeyId
@Stability(Stable) public FsxOntapFileSystemConfig.Builder kmsKeyId(String kmsKeyId)
Sets the value ofFsxOntapFileSystemConfig.getKmsKeyId()- Parameters:
kmsKeyId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#kms_key_id FsxOntapFileSystem#kms_key_id}.- Returns:
this
-
routeTableIds
@Stability(Stable) public FsxOntapFileSystemConfig.Builder routeTableIds(List<String> routeTableIds)
Sets the value ofFsxOntapFileSystemConfig.getRouteTableIds()- Parameters:
routeTableIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#route_table_ids FsxOntapFileSystem#route_table_ids}.- Returns:
this
-
securityGroupIds
@Stability(Stable) public FsxOntapFileSystemConfig.Builder securityGroupIds(List<String> securityGroupIds)
Sets the value ofFsxOntapFileSystemConfig.getSecurityGroupIds()- Parameters:
securityGroupIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#security_group_ids FsxOntapFileSystem#security_group_ids}.- Returns:
this
-
storageCapacity
@Stability(Stable) public FsxOntapFileSystemConfig.Builder storageCapacity(Number storageCapacity)
Sets the value ofFsxOntapFileSystemConfig.getStorageCapacity()- Parameters:
storageCapacity- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#storage_capacity FsxOntapFileSystem#storage_capacity}.- Returns:
this
-
storageType
@Stability(Stable) public FsxOntapFileSystemConfig.Builder storageType(String storageType)
Sets the value ofFsxOntapFileSystemConfig.getStorageType()- Parameters:
storageType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#storage_type FsxOntapFileSystem#storage_type}.- Returns:
this
-
tags
@Stability(Stable) public FsxOntapFileSystemConfig.Builder tags(Map<String,String> tags)
Sets the value ofFsxOntapFileSystemConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#tags FsxOntapFileSystem#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public FsxOntapFileSystemConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofFsxOntapFileSystemConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#tags_all FsxOntapFileSystem#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public FsxOntapFileSystemConfig.Builder timeouts(FsxOntapFileSystemTimeouts timeouts)
Sets the value ofFsxOntapFileSystemConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#timeouts FsxOntapFileSystem#timeouts}- Returns:
this
-
weeklyMaintenanceStartTime
@Stability(Stable) public FsxOntapFileSystemConfig.Builder weeklyMaintenanceStartTime(String weeklyMaintenanceStartTime)
Sets the value ofFsxOntapFileSystemConfig.getWeeklyMaintenanceStartTime()- Parameters:
weeklyMaintenanceStartTime- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/fsx_ontap_file_system#weekly_maintenance_start_time FsxOntapFileSystem#weekly_maintenance_start_time}.- Returns:
this
-
connection
@Stability(Experimental) public FsxOntapFileSystemConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public FsxOntapFileSystemConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public FsxOntapFileSystemConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public FsxOntapFileSystemConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public FsxOntapFileSystemConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public FsxOntapFileSystemConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public FsxOntapFileSystemConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public FsxOntapFileSystemConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public FsxOntapFileSystemConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public FsxOntapFileSystemConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<FsxOntapFileSystemConfig>- Returns:
- a new instance of
FsxOntapFileSystemConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-