Class NfsLocationState.Builder

  • Enclosing class:
    NfsLocationState

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

      • Builder

        public Builder()
    • Method Detail

      • arn

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

        public NfsLocationState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the DataSync Location.
        Returns:
        builder
      • mountOptions

        public NfsLocationState.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 NfsLocationState.Builder onPremConfig​(@Nullable
                                                     com.pulumi.core.Output<NfsLocationOnPremConfigArgs> onPremConfig)
        Parameters:
        onPremConfig - Configuration block containing information for connecting to the NFS File System.
        Returns:
        builder
      • serverHostname

        public NfsLocationState.Builder serverHostname​(@Nullable
                                                       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 NfsLocationState.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 NfsLocationState.Builder subdirectory​(@Nullable
                                                     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 NfsLocationState.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 NfsLocationState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tags

        public NfsLocationState.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 `default_tags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
        Returns:
        builder
      • tagsAll

        @Deprecated
        public NfsLocationState.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 NfsLocationState.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