Class NfsLocationArgs.Builder

  • Enclosing class:
    NfsLocationArgs

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

      • Builder

        public Builder()
    • Method Detail

      • mountOptions

        public NfsLocationArgs.Builder mountOptions​(@Nullable
                                                    com.pulumi.core.Output<NfsLocationMountOptionsArgs> mountOptions)
        Parameters:
        mountOptions - Configuration block containing mount options used by DataSync to access the NFS Server.
        Returns:
        builder
      • onPremConfig

        public NfsLocationArgs.Builder onPremConfig​(com.pulumi.core.Output<NfsLocationOnPremConfigArgs> onPremConfig)
        Parameters:
        onPremConfig - Configuration block containing information for connecting to the NFS File System.
        Returns:
        builder
      • region

        public NfsLocationArgs.Builder region​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • region

        public NfsLocationArgs.Builder region​(java.lang.String region)
        Parameters:
        region - Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
        Returns:
        builder
      • serverHostname

        public NfsLocationArgs.Builder serverHostname​(com.pulumi.core.Output<java.lang.String> serverHostname)
        Parameters:
        serverHostname - Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server.
        Returns:
        builder
      • serverHostname

        public NfsLocationArgs.Builder serverHostname​(java.lang.String serverHostname)
        Parameters:
        serverHostname - Specifies the IP address or DNS name of the NFS server. The DataSync Agent(s) use this to mount the NFS server.
        Returns:
        builder
      • subdirectory

        public NfsLocationArgs.Builder subdirectory​(com.pulumi.core.Output<java.lang.String> subdirectory)
        Parameters:
        subdirectory - Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
        Returns:
        builder
      • subdirectory

        public NfsLocationArgs.Builder subdirectory​(java.lang.String subdirectory)
        Parameters:
        subdirectory - Subdirectory to perform actions as source or destination. Should be exported by the NFS server.
        Returns:
        builder
      • tags

        public NfsLocationArgs.Builder tags​(@Nullable
                                            com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> tags)
        Parameters:
        tags - Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public NfsLocationArgs.Builder tags​(java.util.Map<java.lang.String,​java.lang.String> tags)
        Parameters:
        tags - Key-value pairs of resource tags to assign to the DataSync Location. .If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder