Class LocationSmbState.Builder

  • Enclosing class:
    LocationSmbState

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

      • Builder

        public Builder()
    • Method Detail

      • agentArns

        public LocationSmbState.Builder agentArns​(@Nullable
                                                  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 LocationSmbState.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 LocationSmbState.Builder agentArns​(java.lang.String... agentArns)
        Parameters:
        agentArns - A list of DataSync Agent ARNs with which this location will be associated.
        Returns:
        builder
      • arn

        public LocationSmbState.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 LocationSmbState.Builder arn​(java.lang.String arn)
        Parameters:
        arn - Amazon Resource Name (ARN) of the DataSync Location.
        Returns:
        builder
      • domain

        public LocationSmbState.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 LocationSmbState.Builder domain​(java.lang.String domain)
        Parameters:
        domain - The name of the Windows domain the SMB server belongs to.
        Returns:
        builder
      • mountOptions

        public LocationSmbState.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 LocationSmbState.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 LocationSmbState.Builder password​(@Nullable
                                                 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 LocationSmbState.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
      • serverHostname

        public LocationSmbState.Builder serverHostname​(@Nullable
                                                       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 LocationSmbState.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 LocationSmbState.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 LocationSmbState.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 LocationSmbState.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 LocationSmbState.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 LocationSmbState.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 LocationSmbState.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
      • user

        public LocationSmbState.Builder user​(@Nullable
                                             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 LocationSmbState.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