
com.pulumi.azurenative.awsconnector.outputs.EFSVolumeConfigurationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.awsconnector.outputs;
import com.pulumi.azurenative.awsconnector.outputs.AuthorizationConfigResponse;
import com.pulumi.core.annotations.CustomType;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class EFSVolumeConfigurationResponse {
/**
* @return The authorization configuration details for the Amazon EFS file system. The authorization configuration details for the Amazon EFS file system.
*
*/
private @Nullable AuthorizationConfigResponse authorizationConfig;
/**
* @return The Amazon EFS file system ID to use.
*
*/
private @Nullable String filesystemId;
/**
* @return The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying ``/`` will have the same effect as omitting this parameter. If an EFS access point is specified in the ``authorizationConfig``, the root directory parameter must either be omitted or set to ``/`` which will enforce the path set on the EFS access point.
*
*/
private @Nullable String rootDirectory;
/**
* @return Determines whether to use encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be turned on if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of ``DISABLED`` is used. For more information, see [Encrypting data in transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) in the *Amazon Elastic File System User Guide*.
*
*/
private @Nullable String transitEncryption;
/**
* @return The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses. For more information, see [EFS mount helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) in the *Amazon Elastic File System User Guide*.
*
*/
private @Nullable Integer transitEncryptionPort;
private EFSVolumeConfigurationResponse() {}
/**
* @return The authorization configuration details for the Amazon EFS file system. The authorization configuration details for the Amazon EFS file system.
*
*/
public Optional authorizationConfig() {
return Optional.ofNullable(this.authorizationConfig);
}
/**
* @return The Amazon EFS file system ID to use.
*
*/
public Optional filesystemId() {
return Optional.ofNullable(this.filesystemId);
}
/**
* @return The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying ``/`` will have the same effect as omitting this parameter. If an EFS access point is specified in the ``authorizationConfig``, the root directory parameter must either be omitted or set to ``/`` which will enforce the path set on the EFS access point.
*
*/
public Optional rootDirectory() {
return Optional.ofNullable(this.rootDirectory);
}
/**
* @return Determines whether to use encryption for Amazon EFS data in transit between the Amazon ECS host and the Amazon EFS server. Transit encryption must be turned on if Amazon EFS IAM authorization is used. If this parameter is omitted, the default value of ``DISABLED`` is used. For more information, see [Encrypting data in transit](https://docs.aws.amazon.com/efs/latest/ug/encryption-in-transit.html) in the *Amazon Elastic File System User Guide*.
*
*/
public Optional transitEncryption() {
return Optional.ofNullable(this.transitEncryption);
}
/**
* @return The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses. For more information, see [EFS mount helper](https://docs.aws.amazon.com/efs/latest/ug/efs-mount-helper.html) in the *Amazon Elastic File System User Guide*.
*
*/
public Optional transitEncryptionPort() {
return Optional.ofNullable(this.transitEncryptionPort);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(EFSVolumeConfigurationResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable AuthorizationConfigResponse authorizationConfig;
private @Nullable String filesystemId;
private @Nullable String rootDirectory;
private @Nullable String transitEncryption;
private @Nullable Integer transitEncryptionPort;
public Builder() {}
public Builder(EFSVolumeConfigurationResponse defaults) {
Objects.requireNonNull(defaults);
this.authorizationConfig = defaults.authorizationConfig;
this.filesystemId = defaults.filesystemId;
this.rootDirectory = defaults.rootDirectory;
this.transitEncryption = defaults.transitEncryption;
this.transitEncryptionPort = defaults.transitEncryptionPort;
}
@CustomType.Setter
public Builder authorizationConfig(@Nullable AuthorizationConfigResponse authorizationConfig) {
this.authorizationConfig = authorizationConfig;
return this;
}
@CustomType.Setter
public Builder filesystemId(@Nullable String filesystemId) {
this.filesystemId = filesystemId;
return this;
}
@CustomType.Setter
public Builder rootDirectory(@Nullable String rootDirectory) {
this.rootDirectory = rootDirectory;
return this;
}
@CustomType.Setter
public Builder transitEncryption(@Nullable String transitEncryption) {
this.transitEncryption = transitEncryption;
return this;
}
@CustomType.Setter
public Builder transitEncryptionPort(@Nullable Integer transitEncryptionPort) {
this.transitEncryptionPort = transitEncryptionPort;
return this;
}
public EFSVolumeConfigurationResponse build() {
final var _resultValue = new EFSVolumeConfigurationResponse();
_resultValue.authorizationConfig = authorizationConfig;
_resultValue.filesystemId = filesystemId;
_resultValue.rootDirectory = rootDirectory;
_resultValue.transitEncryption = transitEncryption;
_resultValue.transitEncryptionPort = transitEncryptionPort;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy