Class LocationSmbArgs.Builder

  • Enclosing class:
    LocationSmbArgs

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

      • Builder

        public Builder()
    • Method Detail

      • agentArns

        public LocationSmbArgs.Builder agentArns​(com.pulumi.core.Output<java.util.List<java.lang.String>> agentArns)
        Parameters:
        agentArns - A list of DataSync Agent ARNs with which this location will be associated.
        Returns:
        builder
      • agentArns

        public LocationSmbArgs.Builder agentArns​(java.util.List<java.lang.String> agentArns)
        Parameters:
        agentArns - A list of DataSync Agent ARNs with which this location will be associated.
        Returns:
        builder
      • agentArns

        public LocationSmbArgs.Builder agentArns​(java.lang.String... agentArns)
        Parameters:
        agentArns - A list of DataSync Agent ARNs with which this location will be associated.
        Returns:
        builder
      • domain

        public LocationSmbArgs.Builder domain​(@Nullable
                                              com.pulumi.core.Output<java.lang.String> domain)
        Parameters:
        domain - The name of the Windows domain the SMB server belongs to.
        Returns:
        builder
      • domain

        public LocationSmbArgs.Builder domain​(java.lang.String domain)
        Parameters:
        domain - The name of the Windows domain the SMB server belongs to.
        Returns:
        builder
      • mountOptions

        public LocationSmbArgs.Builder mountOptions​(@Nullable
                                                    com.pulumi.core.Output<LocationSmbMountOptionsArgs> mountOptions)
        Parameters:
        mountOptions - Configuration block containing mount options used by DataSync to access the SMB Server. Can be `AUTOMATIC`, `SMB2`, or `SMB3`.
        Returns:
        builder
      • mountOptions

        public LocationSmbArgs.Builder mountOptions​(LocationSmbMountOptionsArgs mountOptions)
        Parameters:
        mountOptions - Configuration block containing mount options used by DataSync to access the SMB Server. Can be `AUTOMATIC`, `SMB2`, or `SMB3`.
        Returns:
        builder
      • password

        public LocationSmbArgs.Builder password​(com.pulumi.core.Output<java.lang.String> password)
        Parameters:
        password - The password of the user who can mount the share and has file permissions in the SMB.
        Returns:
        builder
      • password

        public LocationSmbArgs.Builder password​(java.lang.String password)
        Parameters:
        password - The password of the user who can mount the share and has file permissions in the SMB.
        Returns:
        builder
      • region

        public LocationSmbArgs.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 LocationSmbArgs.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 LocationSmbArgs.Builder serverHostname​(com.pulumi.core.Output<java.lang.String> serverHostname)
        Parameters:
        serverHostname - Specifies the IP address or DNS name of the SMB server. The DataSync Agent(s) use this to mount the SMB share.
        Returns:
        builder
      • serverHostname

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

        public LocationSmbArgs.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 LocationSmbArgs.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 LocationSmbArgs.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 LocationSmbArgs.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
      • user

        public LocationSmbArgs.Builder user​(com.pulumi.core.Output<java.lang.String> user)
        Parameters:
        user - The user who can mount the share and has file and folder permissions in the SMB share.
        Returns:
        builder
      • user

        public LocationSmbArgs.Builder user​(java.lang.String user)
        Parameters:
        user - The user who can mount the share and has file and folder permissions in the SMB share.
        Returns:
        builder