Class NfsFileShareState.Builder

  • Enclosing class:
    NfsFileShareState

    public static final class NfsFileShareState.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • arn

        public NfsFileShareState.Builder arn​(@Nullable
                                             com.pulumi.core.Output<java.lang.String> arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the NFS File Share.
        Returns:
        builder
      • arn

        public NfsFileShareState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the NFS File Share.
        Returns:
        builder
      • auditDestinationArn

        public NfsFileShareState.Builder auditDestinationArn​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> auditDestinationArn)
        Parameters:
        auditDestinationArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
        Returns:
        builder
      • auditDestinationArn

        public NfsFileShareState.Builder auditDestinationArn​(java.lang.String auditDestinationArn)
        Parameters:
        auditDestinationArn - The Amazon Resource Name (ARN) of the storage used for audit logs.
        Returns:
        builder
      • bucketRegion

        public NfsFileShareState.Builder bucketRegion​(@Nullable
                                                      com.pulumi.core.Output<java.lang.String> bucketRegion)
        Parameters:
        bucketRegion - The region of the S3 bucket used by the file share. Required when specifying `vpc_endpoint_dns_name`.
        Returns:
        builder
      • bucketRegion

        public NfsFileShareState.Builder bucketRegion​(java.lang.String bucketRegion)
        Parameters:
        bucketRegion - The region of the S3 bucket used by the file share. Required when specifying `vpc_endpoint_dns_name`.
        Returns:
        builder
      • clientLists

        public NfsFileShareState.Builder clientLists​(@Nullable
                                                     com.pulumi.core.Output<java.util.List<java.lang.String>> clientLists)
        Parameters:
        clientLists - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to `["0.0.0.0/0"]` to not limit access. Minimum 1 item. Maximum 100 items.
        Returns:
        builder
      • clientLists

        public NfsFileShareState.Builder clientLists​(java.util.List<java.lang.String> clientLists)
        Parameters:
        clientLists - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to `["0.0.0.0/0"]` to not limit access. Minimum 1 item. Maximum 100 items.
        Returns:
        builder
      • clientLists

        public NfsFileShareState.Builder clientLists​(java.lang.String... clientLists)
        Parameters:
        clientLists - The list of clients that are allowed to access the file gateway. The list must contain either valid IP addresses or valid CIDR blocks. Set to `["0.0.0.0/0"]` to not limit access. Minimum 1 item. Maximum 100 items.
        Returns:
        builder
      • defaultStorageClass

        public NfsFileShareState.Builder defaultStorageClass​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> defaultStorageClass)
        Parameters:
        defaultStorageClass - The default [storage class](https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateNFSFileShare.html#StorageGateway-CreateNFSFileShare-request-DefaultStorageClass) for objects put into an Amazon S3 bucket by the file gateway. Defaults to `S3_STANDARD`.
        Returns:
        builder
      • defaultStorageClass

        public NfsFileShareState.Builder defaultStorageClass​(java.lang.String defaultStorageClass)
        Parameters:
        defaultStorageClass - The default [storage class](https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateNFSFileShare.html#StorageGateway-CreateNFSFileShare-request-DefaultStorageClass) for objects put into an Amazon S3 bucket by the file gateway. Defaults to `S3_STANDARD`.
        Returns:
        builder
      • fileShareName

        public NfsFileShareState.Builder fileShareName​(@Nullable
                                                       com.pulumi.core.Output<java.lang.String> fileShareName)
        Parameters:
        fileShareName - The name of the file share. Must be set if an S3 prefix name is set in `location_arn`.
        Returns:
        builder
      • fileShareName

        public NfsFileShareState.Builder fileShareName​(java.lang.String fileShareName)
        Parameters:
        fileShareName - The name of the file share. Must be set if an S3 prefix name is set in `location_arn`.
        Returns:
        builder
      • fileshareId

        public NfsFileShareState.Builder fileshareId​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> fileshareId)
        Parameters:
        fileshareId - ID of the NFS File Share.
        Returns:
        builder
      • fileshareId

        public NfsFileShareState.Builder fileshareId​(java.lang.String fileshareId)
        Parameters:
        fileshareId - ID of the NFS File Share.
        Returns:
        builder
      • gatewayArn

        public NfsFileShareState.Builder gatewayArn​(@Nullable
                                                    com.pulumi.core.Output<java.lang.String> gatewayArn)
        Parameters:
        gatewayArn - Amazon Resource Name (ARN) of the file gateway.
        Returns:
        builder
      • gatewayArn

        public NfsFileShareState.Builder gatewayArn​(java.lang.String gatewayArn)
        Parameters:
        gatewayArn - Amazon Resource Name (ARN) of the file gateway.
        Returns:
        builder
      • guessMimeTypeEnabled

        public NfsFileShareState.Builder guessMimeTypeEnabled​(@Nullable
                                                              com.pulumi.core.Output<java.lang.Boolean> guessMimeTypeEnabled)
        Parameters:
        guessMimeTypeEnabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to `true`.
        Returns:
        builder
      • guessMimeTypeEnabled

        public NfsFileShareState.Builder guessMimeTypeEnabled​(java.lang.Boolean guessMimeTypeEnabled)
        Parameters:
        guessMimeTypeEnabled - Boolean value that enables guessing of the MIME type for uploaded objects based on file extensions. Defaults to `true`.
        Returns:
        builder
      • kmsEncrypted

        public NfsFileShareState.Builder kmsEncrypted​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Boolean> kmsEncrypted)
        Parameters:
        kmsEncrypted - Boolean value if `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. Defaults to `false`.
        Returns:
        builder
      • kmsEncrypted

        public NfsFileShareState.Builder kmsEncrypted​(java.lang.Boolean kmsEncrypted)
        Parameters:
        kmsEncrypted - Boolean value if `true` to use Amazon S3 server side encryption with your own AWS KMS key, or `false` to use a key managed by Amazon S3. Defaults to `false`.
        Returns:
        builder
      • kmsKeyArn

        public NfsFileShareState.Builder kmsKeyArn​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> kmsKeyArn)
        Parameters:
        kmsKeyArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when `kms_encrypted` is true.
        Returns:
        builder
      • kmsKeyArn

        public NfsFileShareState.Builder kmsKeyArn​(java.lang.String kmsKeyArn)
        Parameters:
        kmsKeyArn - Amazon Resource Name (ARN) for KMS key used for Amazon S3 server side encryption. This value can only be set when `kms_encrypted` is true.
        Returns:
        builder
      • locationArn

        public NfsFileShareState.Builder locationArn​(@Nullable
                                                     com.pulumi.core.Output<java.lang.String> locationArn)
        Parameters:
        locationArn - The ARN of the backed storage used for storing file data.
        Returns:
        builder
      • locationArn

        public NfsFileShareState.Builder locationArn​(java.lang.String locationArn)
        Parameters:
        locationArn - The ARN of the backed storage used for storing file data.
        Returns:
        builder
      • nfsFileShareDefaults

        public NfsFileShareState.Builder nfsFileShareDefaults​(@Nullable
                                                              com.pulumi.core.Output<NfsFileShareNfsFileShareDefaultsArgs> nfsFileShareDefaults)
        Parameters:
        nfsFileShareDefaults - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
        Returns:
        builder
      • nfsFileShareDefaults

        public NfsFileShareState.Builder nfsFileShareDefaults​(NfsFileShareNfsFileShareDefaultsArgs nfsFileShareDefaults)
        Parameters:
        nfsFileShareDefaults - Nested argument with file share default values. More information below. see NFS File Share Defaults for more details.
        Returns:
        builder
      • notificationPolicy

        public NfsFileShareState.Builder notificationPolicy​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> notificationPolicy)
        Parameters:
        notificationPolicy - The notification policy of the file share. For more information see the [AWS Documentation](https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateNFSFileShare.html#StorageGateway-CreateNFSFileShare-request-NotificationPolicy). Default value is `{}`.
        Returns:
        builder
      • notificationPolicy

        public NfsFileShareState.Builder notificationPolicy​(java.lang.String notificationPolicy)
        Parameters:
        notificationPolicy - The notification policy of the file share. For more information see the [AWS Documentation](https://docs.aws.amazon.com/storagegateway/latest/APIReference/API_CreateNFSFileShare.html#StorageGateway-CreateNFSFileShare-request-NotificationPolicy). Default value is `{}`.
        Returns:
        builder
      • objectAcl

        public NfsFileShareState.Builder objectAcl​(@Nullable
                                                   com.pulumi.core.Output<java.lang.String> objectAcl)
        Parameters:
        objectAcl - Access Control List permission for S3 objects. Defaults to `private`.
        Returns:
        builder
      • objectAcl

        public NfsFileShareState.Builder objectAcl​(java.lang.String objectAcl)
        Parameters:
        objectAcl - Access Control List permission for S3 objects. Defaults to `private`.
        Returns:
        builder
      • path

        public NfsFileShareState.Builder path​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> path)
        Parameters:
        path - File share path used by the NFS client to identify the mount point.
        Returns:
        builder
      • path

        public NfsFileShareState.Builder path​(java.lang.String path)
        Parameters:
        path - File share path used by the NFS client to identify the mount point.
        Returns:
        builder
      • readOnly

        public NfsFileShareState.Builder readOnly​(@Nullable
                                                  com.pulumi.core.Output<java.lang.Boolean> readOnly)
        Parameters:
        readOnly - Boolean to indicate write status of file share. File share does not accept writes if `true`. Defaults to `false`.
        Returns:
        builder
      • readOnly

        public NfsFileShareState.Builder readOnly​(java.lang.Boolean readOnly)
        Parameters:
        readOnly - Boolean to indicate write status of file share. File share does not accept writes if `true`. Defaults to `false`.
        Returns:
        builder
      • requesterPays

        public NfsFileShareState.Builder requesterPays​(@Nullable
                                                       com.pulumi.core.Output<java.lang.Boolean> requesterPays)
        Parameters:
        requesterPays - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to `true` if you want the requester to pay instead of the bucket owner. Defaults to `false`.
        Returns:
        builder
      • requesterPays

        public NfsFileShareState.Builder requesterPays​(java.lang.Boolean requesterPays)
        Parameters:
        requesterPays - Boolean who pays the cost of the request and the data download from the Amazon S3 bucket. Set this value to `true` if you want the requester to pay instead of the bucket owner. Defaults to `false`.
        Returns:
        builder
      • roleArn

        public NfsFileShareState.Builder roleArn​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> roleArn)
        Parameters:
        roleArn - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
        Returns:
        builder
      • roleArn

        public NfsFileShareState.Builder roleArn​(java.lang.String roleArn)
        Parameters:
        roleArn - The ARN of the AWS Identity and Access Management (IAM) role that a file gateway assumes when it accesses the underlying storage.
        Returns:
        builder
      • squash

        public NfsFileShareState.Builder squash​(@Nullable
                                                com.pulumi.core.Output<java.lang.String> squash)
        Parameters:
        squash - Maps a user to anonymous user. Defaults to `RootSquash`. Valid values: `RootSquash` (only root is mapped to anonymous user), `NoSquash` (no one is mapped to anonymous user), `AllSquash` (everyone is mapped to anonymous user)
        Returns:
        builder
      • squash

        public NfsFileShareState.Builder squash​(java.lang.String squash)
        Parameters:
        squash - Maps a user to anonymous user. Defaults to `RootSquash`. Valid values: `RootSquash` (only root is mapped to anonymous user), `NoSquash` (no one is mapped to anonymous user), `AllSquash` (everyone is mapped to anonymous user)
        Returns:
        builder
      • tags

        public NfsFileShareState.Builder tags​(@Nullable
                                              com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value map 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.
        Returns:
        builder
      • tags

        public NfsFileShareState.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value map 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.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public NfsFileShareState.Builder tagsAll​(@Nullable
                                                 com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public NfsFileShareState.Builder tagsAll​(java.util.Map<java.lang.String,​java.lang.String> tagsAll)
        Deprecated.
        Please use `tags` instead.
        Parameters:
        tagsAll - A map of tags assigned to the resource, including those inherited from the provider `default_tags` configuration block.
        Returns:
        builder
      • vpcEndpointDnsName

        public NfsFileShareState.Builder vpcEndpointDnsName​(@Nullable
                                                            com.pulumi.core.Output<java.lang.String> vpcEndpointDnsName)
        Parameters:
        vpcEndpointDnsName - The DNS name of the VPC endpoint for S3 PrivateLink.
        Returns:
        builder
      • vpcEndpointDnsName

        public NfsFileShareState.Builder vpcEndpointDnsName​(java.lang.String vpcEndpointDnsName)
        Parameters:
        vpcEndpointDnsName - The DNS name of the VPC endpoint for S3 PrivateLink.
        Returns:
        builder